Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Bitcoin Peers Crawler

Network peer discovery

crates.io Docs CC0 1.0 Universal Licensed Rustc Version 1.75.0+

About

Crawl across the bitcoin network beginning from a seed peer. Check out the example for usage.

Performance

The crawler is a bit of a memory hog at the moment since it queues up work in an unbounded channel. Each node visited can add 1000s to the queue. An alternative memory-saving strategy can be implemented, but may require more complex coordination with tasks.

On a consumer-grade laptop, memory usage remains relatively consistent no matter the max_concurrent_tasks setting, but CPU usage spikes do occur as you turn that knob up.