Author

Topic: How extract content of peer.dat? (Read 1128 times)

RJX
legendary
Activity: 1078
Merit: 1003
April 14, 2016, 06:53:42 AM
#4
getpeerinfo is just the connected nodes, the peers.dat has all known nodes.

I think net.ccp is the file where the nodes are 'hardcoded'

Somewhere around line 1195.

But I may be misunderstanding the question.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
April 13, 2016, 09:27:52 AM
#3
why you need the peer data to get the node, you can check them in the console, via getpeerinfo

getpeerinfo is just the connected nodes, the peers.dat has all known nodes.

Did a quick search, but it seems you will need to read the source to understand the format as its bitcoin specific[1].

[1] https://bitcointalksearch.org/topic/m.1287284
legendary
Activity: 3248
Merit: 1070
April 13, 2016, 01:07:32 AM
#2
why you need the peer data to get the node, you can check them in the console, via getpeerinfo
full member
Activity: 224
Merit: 100
April 12, 2016, 09:12:03 AM
#1
How extract content of peer.dat?

for example: Someone gave me some nodes from his peer.dat file. How could he find it from peer.dat file ?
Jump to: