Skip to content

asood123/bitpeers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin peers.dat Reader

You can use this library to dump your peers.dat file from your Bitcoin client. This file keeps track of all your peers and what buckets they are currently in.

I was inspired by a blogpost, whose author wrote a similar library in Go.

I rewrote it in Python and also extracted parts of peers.dat that the Go-version was skipping, mainly bucket data.

Usage:

git clone https://github.com/asood123/bitpeers.git
pip install -r requirements.txt
python bitpeers.py --file=sample_peers.dat --output=json

Feel free to suggest changes or leave comments in issues.

About

Bitcoin peers.dat reader in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages