Comment on page
Configuring Witness Node as Delayed Node
Delayed node is the difference between the time that a node announces the discovery of a new block or a transaction and the time that other node receives the information for a period of operation.
The
witness_node
program now can be used to serve the features that was served by delayed_node
.To use
witness_node
as a delayed node, some options are required to be configured appropriately.Start
witness_node
with command line option --seed-nodes="[]"
and/or --p2p-endpoint=127.0.0.1:0
, or configure the options in config.ini
:p2p-endpoint = 127.0.0.1:0
seed-nodes = []
Start
witness_node
with --plugins="delayed_node [and other required plugins]"
, or configure it in config.ini
:plugins = delayed_node
Start
witness_node
with --trusted-node="ip.address.of.the.witness.node:rpc-port"
, or configure it in config.ini
:trusted-node = ip.address.of.the.witness.node:rpc-port
Assuming the RPC endpoint of the trusted node is
127.0.0.1:8090
, we can have following options in config.ini
of a delayed node.p2p-endpoint = 127.0.0.1:0
seed-nodes = []
plugins = delayed_node account_history api_helper_indexes
trusted-node = 127.0.0.1:8090
The plugin code is available in the below location,
Last modified 1mo ago