How to dump peers.dat file to a plain text file?

How to dump peers.dat file to a plain text file?

Is there a simple solution to dump [whole] peers.dat file to a text file?

There are similar questions for example How do I read peers.dat file to get a list of all peers seen or that bitcoind has connected to? but I want to insert this code in Bitcoin Core Client (in fact: forked client) and dump the contents of this database on client start.

bitnodes.earn.com is not an answer for me.

https://ift.tt/2rWG4Cf

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

How generic miner connects to bitcoin or ethereum network and does it needs to store entire blockchain?