Continuing to work on the /register-and-broadcast-node endpoint 

In this section, let's continue to build our register-and-broadcast-node endpoint. So far, we have registered the new node with the current network node that we're on and we have broadcast the new node to all the other nodes in our network. Consequently, we're hitting the register-node endpoint on all the other nodes inside of our network. Also, for now, we're assuming that those other nodes are registering the new node, which we haven't built yet, but we're assuming that it's working.

After the whole broadcast is completed, we must register all of the nodes that are currently inside of our network with the one new node that we are adding to the network. For that, we're going ...

Get Learn Blockchain Programming with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.