Installation and usage of the platform
Connecting and removing nodes¶
When working in Waves Enterprise Mainnet, member nodes are connected to the network and removed from it with the help of Waves Enterprise specialists.
In a private network, the connection and removal of new members is performed after manual configuration and the start of the first node.
Connecting a new node to a private network¶
To connect a new node, do the following:
Configure the node according to the instructions given in the article Deploying the platform in a private network.
Send the public key of the new node and its description to administrator of your network.
The network administrator (node with the connection-manager permission) uses the received public key and node description when creating a transaction 111 RegisterNode. To register a node, the
opType
parameter, which defines the type of action to be performed, should be specified asadd
(add a new node).The 111 transaction enters the block and then enters the network participants’ node state. Thereafter, each member of the network must store the public key and the address of the new node.
If necessary, the network administrator can add additional roles to the new node with the 102 transaction. For more information about assigning member roles, see the Participant role assignment article.
Start the new node.
Removing node from a private network¶
To remove a node from the network, the network administrator sends a 111 RegisterNode transaction to the blockchain. In this transaction, he specifies the public key of the node to be removed and the parameter opType
: ``remove’’ (remove the node from the network).
After a transaction is published to the blockchain, the node data is removed from the states of all participants.