Golang implemented sidechain for Bytom
Golang implemented sidechain for Bytom.
Get source code
Then, you have two ways to get vapor executable file:
Firstly, you need initialize node:
The default vapor data path (on the host) is:
Then, start your node:
Running in Docker
Build the image
Enter the iterative mode
vapor data directory has three config files:
To list the running containners and check their container id, image, corresponding command, created time, status, name and ports being used:
To execute a command inside a containner, for example:
To stop a running containner:
To remove a containner:
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.
UTXO has been merged to solve the problem that too much UTXO input causes a failed send transaction to fail. details