satwikkansal / python_blockchain_app

A fully functional blockchain application implemented in Python from scratch (with tutorial).
819 stars 471 forks source link

How to add another pc into the network? #22

Closed iqrammm closed 4 years ago

iqrammm commented 4 years ago

I would like to add another pc to the network but not sure on how should I do that.I believed I have to edit this line "CONNECTED_NODE_ADDRESS field in the views.py file" but how should i initialize another node?

satwikkansal commented 4 years ago

You can use the register_with/ endpoint, as explained in the instructions in README for adding multiple nodes to the network.