X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=README.md;h=52870ed3e8a54a507444972e250ec6bef7d9a7cf;hp=50644f82b3e73dfdf3f2f354d1c1cbbcc26d8325;hb=39b01cd36fb3c4341a3385be78ffdcdbc6f94bd5;hpb=14cdd3907e02769d4e12782ec80ec16075be0182 diff --git a/README.md b/README.md index 50644f82..52870ed3 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,13 @@ $ make install Firstly, you need initialize node: ``` -$ vapord init --chain_id=vapor --home +$ vapord init --chain_id=mainnet --home ``` -For example, you can store vapor data in `$HOME/bytom/vapor`: - -``` -$ vapord init --chain_id=vapor --home $HOME/bytom/vapor -``` +The default vapor data path (on the host) is: ++ Mac: `~/Library/Application Support/Vapor` ++ Linux: `~/.vapor` ++ Windows: `%APPDATA%\Vapor` Then, start your node: @@ -108,6 +107,20 @@ 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) + ## License [AGPL v3](./LICENSE)