Bitcoin core full node - Should I choose my peers or it's fine to use the hardcoded ones?

4

I have a full node v 0.17.1 running 12-14 hrs/day and I was wondering if it's helpful, for privacy or for whatever reason, to add peers (maybe from https://bitnodes.earn.com/nodes/leaderboard/) with connect= or addnode=.

PulpCattel

Posted 2019-01-08T21:50:05.167

Reputation: 41

Answers

2

The list is just for bootstrapping, no need to manually list peers unless you have others you specifically want to maintain connectivity with.

jhizzle207

Posted 2019-01-08T21:50:05.167

Reputation: 21

2

If you use connect, you will only connect to those specific nodes.

addnode on the other hand tries to connect to the specified nodes, but keeps connecting to others as well (unless you add more nodes than there are outbound connections available, I presume).

It can be helpful regarding privacy to only connect to nodes you trust - how to find them is another question.

Also, there are no hardcoded peers in official bitcoin binaries as far as I know (check comments)

You can find bitcoin.conf example file here for more information.

Gašper Čefarin

Posted 2019-01-08T21:50:05.167

Reputation: 85

2There are hardcoded fallback peers in the binary, but they're only used when all other mechanisms of finding peers (local IP database in peers.dat, DNS seeds, asking for more peers from your existing connections, ...) fail.Pieter Wuille 2019-08-18T19:02:30.097

1

Hardcoded peers are fine - the only time you would need to change them is if you worried they were in an entirely different set of peers from the rest of the Bitcoin network.

However, that is unlikely the case. They should have passed on their peers to you, so you can have an active connection with a much more diverse set of users in the network.

Dr-Bracket

Posted 2019-01-08T21:50:05.167

Reputation: 121