Skip to content

simple ifps crawler to estimate the IPFS network size and node churn. Inspired by raulk/dht-hawk

Notifications You must be signed in to change notification settings

dzhelezov/ipfs-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipfs-crawler

This small tool sends random key queries to the IPFS DHT, which in turns triggers connections to random nodes in the network. The queries and the spawned connections are then logged, and one then can estimate the network size and the churn.

By averaging the maximal common length prefix of peers ID with random key shots, one can ballpark (up to say 2x) the network size. Counting the connections gives a more accurate estimate but it takes around 20-30 minutes to saturate.

Some basic R data analysis is present in logs-analysis.R

Kudos to @raulk for the original version of the hawk

License

Authored by raulk. Dual-licensed under MIT and ASLv2, by way of the Permissive License Stack.

About

simple ifps crawler to estimate the IPFS network size and node churn. Inspired by raulk/dht-hawk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published