Bitcoin Forum
May 08, 2024, 05:25:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How extract content of peer.dat?  (Read 1102 times)
Mohareb (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
April 12, 2016, 02:12:03 PM
Last edit: April 12, 2016, 03:47:38 PM by Mohareb
 #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 ?

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
PRIMEDICE
The Premier Bitcoin Gambling Experience - Most Trusted & Popular Bitcoin Game @PrimeDice
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
1715145915
Hero Member
*
Offline Offline

Posts: 1715145915

View Profile Personal Message (Offline)

Ignore
1715145915
Reply with quote  #2

1715145915
Report to moderator
1715145915
Hero Member
*
Offline Offline

Posts: 1715145915

View Profile Personal Message (Offline)

Ignore
1715145915
Reply with quote  #2

1715145915
Report to moderator
1715145915
Hero Member
*
Offline Offline

Posts: 1715145915

View Profile Personal Message (Offline)

Ignore
1715145915
Reply with quote  #2

1715145915
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Amph
Legendary
*
Offline Offline

Activity: 3206
Merit: 1069



View Profile
April 13, 2016, 06:07:32 AM
 #2

why you need the peer data to get the node, you can check them in the console, via getpeerinfo
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
April 13, 2016, 02:27:52 PM
 #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://bitcointalk.org/index.php?topic=119525.msg1287284#msg1287284

Im not really here, its just your imagination.
RJX
Legendary
*
Offline Offline

Activity: 1078
Merit: 1003


umachit.fund


View Profile
April 14, 2016, 11: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.

.UmaChit.Fund.
‎ ★
..Revolutionized Rotating..
..Savings & Borrowings.....

‎ ★
█████
██
██
██
██
██
██
██
██
██
██
██
█████
█████
██
██
██
██
██
██
██
██
██
██
██
█████
████████████████████████████
████████████████████████████
████████████████████████████
█████████████████▀▀  ███████
█████████████▀▀      ███████
█████████▀▀   ▄▄     ███████
█████▀▀    ▄█▀▀     ████████
█████████ █▀        ████████
█████████ █ ▄███▄   ████████
██████████████████▄▄████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████▀▀▀█████████
██████ ▀██████▀      ▄██████
██████▄   ▀▀▀        ███████
██████▄             ▄███████
███████▄           ▄████████
██████▀▀▀        ▄██████████
███████▄▄     ▄▄████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
█████████████▀    ██████████
████████████    ▄▄██████████
███████████▀    ▀▀██████████
██████████▌       ██████████
████████████    ████████████
████████████    ████████████
████████████    ████████████
████████████▄  ▄████████████
████████████████████████████
████████████████████████████
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!