Updating Node

Subnet nodes can update most of the parameters of their node on-chain.

For updating the keys of the subnet node, see Keys.

Subnet Node Delegate Stake Rate

Users can stake to a subnet node and receive a portion of the node's incentives based on its delegate stake rate.

This rate can be decreased by 1% per 24 hours, and can be increased with no limitations.

circle-info

1.0 (100%) equals 1e18

Conversion Example

Decimal
Percent
Value

1.0

100%

1000000000000000000

0.5

50%

500000000000000000

0.1

10%

100000000000000000

0.05

5%

50000000000000000

pub fn update_delegate_reward_rate(
    origin: OriginFor<T>, 
    subnet_id: u32,
    subnet_node_id: u32,
    new_delegate_reward_rate: u128
)

Peer Info

Update the peer info of the subnet node.

PeerInfo


Bootnode Info

Update or remove the bootnode peer info of the subnet node.

PeerInfo


Client Info

Update or remove the client peer info of the subnet node.

PeerInfo


Unique

Update the subnet node's unique parameter


Non Unique

Update the subnet node's unique parameter


Delegate Account

Update the subnet node's delegate account.

Last updated