community – How bitcoin core bootstraps [in source code]

0
37


The next supply line reveals how a set of seed domains are used to bootstrap the community:

https://github.com/bitcoin/bitcoin/blob/06d573f053c63eb6521c62d210c5924418ae2b83/src/chainparams.cpp#L121

These are known as seed nodes. As soon as the bitcoin core is linked to at least one reside node efficiently, it may well obtain extra peer data from that node and proceed to develop the community. It might probably then save that data on disk and if the system is restarted, it may well reload from disk. If that fails it may well return to seed domains once more.

The above checklist is accessed right here:

https://github.com/bitcoin/bitcoin/blob/320e518b9062ea5510abd7876d22dc5bd3352535/src/internet.cpp#L1591

After which it’s looped by means of right here:

https://github.com/bitcoin/bitcoin/blob/320e518b9062ea5510abd7876d22dc5bd3352535/src/internet.cpp#L1620



Supply hyperlink

Leave a reply