How to load a peer list file?

1

According to this page,

The client will automatically read a file named "addr.txt" in the bitcoin data directory and will add any addresses it finds in there as node addresses.

However, I can't find any point in the source code where this file is actually read, and I don't know how to verify all the peers known by my node.

Is the "addr.txt" file actually read by bitcoind? How can I check if the addresses are actually loaded?

FedFranzoni

Posted 2017-09-26T17:41:23.607

Reputation: 490

Answers

3

This feature is no longer present in Bitcoin Core. It was removed in 2011.

You can get the same effect by adding multiple addnode= lines to your bitcoin.conf.

Nate Eldredge

Posted 2017-09-26T17:41:23.607

Reputation: 21 420