X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=README.md;h=3e8b16545403d60cad4a8d8bbf2597a41fc288fe;hp=01feb1f6eba726330ffef9ec9b9af609cce9af3a;hb=refs%2Fheads%2Fmaster;hpb=f700923552783ba8ef9b249b69603b6fd43cc524 diff --git a/README.md b/README.md index 01feb1f6..3e8b1654 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ Vapor ## Get source code ``` -$ git clone https://github.com/Bytom/vapor.git $GOPATH/src/github.com/vapor +$ cd $GOPATH/src/github.com/bytom +$ git clone https://github.com/Bytom/vapor.git ``` Then, you have two ways to get vapor executable file: @@ -23,7 +24,7 @@ Then, you have two ways to get vapor executable file: ## Installation ``` -$ cd $GOPATH/src/github.com/vapor +$ cd $GOPATH/src/github.com/bytom/vapor $ make install ``` @@ -51,7 +52,7 @@ $ vapord node --home ### Build the image ``` -$ cd $GOPATH/src/github.com/vapor +$ cd $GOPATH/src/github.com/bytom/vapor $ docker build -t vapor . ``` @@ -107,6 +108,25 @@ To remove a containner: $ docker rm ``` +### Reward distribution tool + +After the supernode and alternative node receive the reward from the node, they will allocate the reward + +according to the interest rate. + +The reward calculation rules: + + calculate the reward (consensus reward * interest rate * voting weight) according to the weight of votes + +cast in consensus around, and choose how many rounds of consensus to allocate the reward flexibly. + +[Tool usage details](./cmd/votereward/README.md) + + +### Merger utxo +UTXO has been merged to solve the problem that too much UTXO input causes a failed send transaction to fail. +[details](./cmd/utxomerge/README.md) + ## License [AGPL v3](./LICENSE)