You can manage nodes in the following two ways:
-Send commands through the command line window for management -Managed by the node manager provided by the biological chain forest
This chapter only introduces how to manage your nodes through the command line window. If you want to learn how to manage nodes in Node Manager, please refer to the Node Manager Operation Manual (https://serviceapi.instinct.one/marketplace/public/file/ext?path=/default/NodeManagerOperationManual.pdf)
The node password can be modified by executing the following command:
./bcf --setSystemKey systemKeyOld="your old password",systemKeyNew="your new password"
Note: After installing the BCF node program, it is strongly recommended that you change the node password first.
By executing the following commands, you can participate in the election of block forgers, and you will be selected as a forger.
For details, please refer to <Node Identity Binding>
Note: Please ensure that the bound address has enough main chain digital rights to pay the event chain fee.
You need to initiate an "application to become a trustee" event, set your bound address as a trustee, and execute the following command:
./bcf --trUsername secret="123",fee=100,alias="username" // set the username
./bcf --trDelegate secret="123",fee=100 // Apply to become a trustee
After becoming a trustee, you need to initiate a "receive vote" event to ensure that your address can be voted to obtain votes. Only enough votes and online rate can guarantee that you can be selected as the next block forger.
The command to initiate a "receive vote" event is as follows:
./bcf --trAcceptVote sercet="123",fee=100
When your node is ready (the block is synchronized to the highest level, the node is in normal state, and the network is good), you can start block printing for your node by executing the following command:
./bcf --setSystemConfig verifyType="001",verifyKey="SystemKey",generateBlockEnale=true
At this point, your node has started the block forging campaign. Once selected, it means that your node has become the next round of block forging and will participate in the next round of block forging work.
Note: When your node is about to be upgraded or restarted, it is recommended to turn off block-breaking first, and then turn on block-breaking after the node returns to normal, so as not to affect your probability of being selected as a forger.
For details, please refer to <Node Identity Binding>
Note: Please ensure that the bound address has enough main chain digital rights to pay the event chain fee.
-Automatic voting
Execute the following commands through the command line window to enable automatic voting for nodes:
./bcf --setSystemConfig verifyType="001",verifyKey="SystemKey",autoVoteEnable=true
-Manual voting If users need to vote for a trustee with a known address, they can initiate a "voting" event through the command line
./bcf --trVote secret="123",fee=500,equity=0,recipientId=address
Currently, users can only update nodes through the BFChain node manager.
Currently, users can only restart the node through the BFChain node manager.
Note: After the node restarts, the identity (address) originally bound to the node will be unbound, and the user needs to bind again. For details, please refer to <Node Identity Binding>