I have to set up a network using the substrate. I am able to run the first node as boot node. now I have to run 3 more nodes as validator. Should I need to provide the first node IP as boot node URL or need to provide all four nodes (3 validator nodes + 1 boot node) as bootnode url.

2 Answers 2


To bootstrap a small test network of 4 nodes, you only need that one boot node, and the rest can use it.

For larger networks, it makes sense to have multiple redundant boot nodes.

  • 1
    What happens if the only boot node goes offline? Is block production moving on and when the boot node reconnects it catches up with the rest of them?
    – andresvsm
    Commented Jul 6, 2022 at 6:11
  • 2
    Yes. The bootnode is only used to connect new computers to the overall network. Once your other machines have paired, you could remove the bootnode and nothing would change for the computers on the existing network.
    – Shawn Tabrizi
    Commented Jul 6, 2022 at 8:50
  • @ShawnTabrizi Hi following up on your comment. Would the validators automatically pair themselves once they join the network (hence not requiring the bootnodes anymore), or do we explicitly need to specify them to pair up?
    – Non-named
    Commented Nov 15, 2022 at 6:48
  • Your node will automatically connect to more peers. The node logs will tell you how many peers you have, for example 2022-11-15 02:50:57 💤 Idle (16 peers), best: #15335210 (0x03ba…9d3a), finalized #15335205 (0x84f8…9c6c), ⬇ 73.3kiB/s ⬆ 36.1kiB/s
    – Shawn Tabrizi
    Commented Nov 15, 2022 at 6:52

You don't need to provide bootnode url of all validator nodes as it is not necessary.If for some reason you are not confident about the node you want to connect is receiving connections you can give url of other bootnodes.

As Shawn Tabrizi already answered it makes more sense for larger networks.


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.