You can manage nodes in the following two ways:
-Send commands through the command line window for management -Managed by the BFM node manager provided by the BFMeta
This chapter only introduces how to manage your nodes through the command line window. If you want to learn how to manage nodes in the BFM Node Manager, please refer to <BFM Node Manager Tutorial>
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.
Note: The initial password of the BFMeta full node is "nP3ct8Ejv".
By executing the following commands, you can participate in the election of block Miners, and you will be selected as a Miner.
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="your mnemonic phrase",secondSecret="your payment password",fee=800,alias="username" // set the username
./bcf --trDelegate secret="your mnemonic phrase",secondSecret="your payment password",fee=800 // 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="your mnemonic phrase",secondSecret="your payment password",fee=800
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 miner.
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 BFMeta node manager.
Currently, users can only restart the node through the BFMeta 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>