Skip to content

Some useful utilities for parsing the Bitcoin debug log file (typically located at ~/.bitcoin/debug.log)

Notifications You must be signed in to change notification settings

DoubleSha/BitcoinLogParsing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

BitcoinLogParsing

Some useful utilities for parsing the Bitcoin debug log file (typically located at ~/.bitcoin/debug.log)

peerstats.sh

Parses the debug.log file and counts the total number of version messages received, grouped by User-Agent.

Sample output:

$ ./peerstats.sh
Total 	Percent	   User-Agent
1501  	39.3% 	   /getaddr.bitnodes.io:0.1/:
1194  	31.3% 	   /bitcoinseeder:0.01/:
622   	16.3% 	   /Snoopy:0.1/:
179   	4.7%  	   /Satoshi:0.8.6/:
81    	2.1%  	   /Satoshi:0.9.2.1/:
49    	1.3%  	   /Satoshi:0.9.1/:
43    	1.1%  	   /BitCoinJ:0.11SNAPSHOT/DNSSeed:9000/:
37    	1.0%  	   /BitCoinJ:0.11.2/MultiBit:0.5.18/:
...

About

Some useful utilities for parsing the Bitcoin debug log file (typically located at ~/.bitcoin/debug.log)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages