# How do Bitcoin nodes discover eachother

**URL:** <https://boards.straightdope.com/t/how-do-bitcoin-nodes-discover-eachother/959040>\
**Category:** Factual Questions\
**Created:** [February 7, 2022, 11:23am UTC](https://boards.straightdope.com/t/how-do-bitcoin-nodes-discover-eachother/959040 "2022-02-07T11:23:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danger\_Man](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@Danger\_Man](https://boards.straightdope.com/u/Danger_Man)\
**Post date:** [February 7, 2022, 11:23am UTC](https://boards.straightdope.com/t/how-do-bitcoin-nodes-discover-eachother/959040/1 "2022-02-07T11:23:49Z")

</div>

From googling this, it seems like each node maintains a list of other know nodes, and this is in turn distributed to new nodes. There are also some hardcoded nodes to get the network started.

But what happens if those hard coded nodes go down? I don’t understand how this can be truly decentralized.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [February 7, 2022, 11:31am UTC](https://boards.straightdope.com/t/how-do-bitcoin-nodes-discover-eachother/959040/2 "2022-02-07T11:31:13Z")

</div>

Nothing stops you from adding nodes, or changing the list of nodes, if some nodes go away. If all the nodes go down, that’s too bad, though if you think about it you don’t need that many nodes; having a lot was just supposed to keep nodes from cheating by re-writing the transaction history as it were. I don’t remember all the details but by 2009 iirc some nodes were DDoSing each other to enjoy more of the “mining” rewards for themselves, though.

---

<div class="post-metadata">

**Author:** ![iamthewalrus\_3](https://avatars.discourse-cdn.com/v4/letter/i/258eb7/32.png) [@iamthewalrus\_3](https://boards.straightdope.com/u/iamthewalrus_3)\
**Post date:** [February 7, 2022, 11:37pm UTC](https://boards.straightdope.com/t/how-do-bitcoin-nodes-discover-eachother/959040/3 "2022-02-07T23:37:06Z")

</div>

> [@Danger\_Man](#):
>
> But what happens if those hard coded nodes go down? I don’t understand how this can be truly decentralized.

Seems to me that having all the hard-coded nodes go down would make it more decentralized, not less. A hard-coded node is a nexus of control. Without it, you rely on something else.

Presumably if none of the nodes in your list respond, then you have to go find some nodes some other way.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [February 7, 2022, 11:48pm UTC](https://boards.straightdope.com/t/how-do-bitcoin-nodes-discover-eachother/959040/4 "2022-02-07T23:48:53Z")

</div>

This all sounds very much similar to the internet DNS system.
