1

What are the necessary parameters that substrate bootnodes need to configure, --sync Full --pruning archive --node-key Is it ok?

Other nodes synchronize blocks by linking bootnodes

1 Answer 1

3

Bootnodes don't need to be an archive node.

IMO, you just need to make sure that you have a public IP and the --port is opening.


--node-key-file/--node-key is optional now.

The node key will be generated automatically when the first boot.

And in the latest Substrate version, the node will store the node key automatically to the /<path>/chains/network/secret_ed25519.


If you decide to use --node-key-file, then ./node --node-key-file <path>.

If the <path> doesn't exist, the node key will be generated automatically.

2
  • 1
    If I'm not mistaken, bootnodes are only to allow peer discovering right?
    – andresvsm
    Sep 15, 2022 at 5:42
  • 1
    It provides an endpoint, where you could access the whole network. Nodes will exchange their network list when they get connected.
    – AurevoirXavier
    Sep 15, 2022 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.