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

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)