bitcoin-peers-crawler

Crates.iobitcoin-peers-crawler
lib.rsbitcoin-peers-crawler
version0.1.6
created_at2025-06-11 21:10:00.692444+00
updated_at2025-07-17 16:40:29.264775+00
descriptionBitcoin network peer discovery
homepage
repositoryhttps://github.com/nyonson/bitcoin-peers
max_upload_size
id1709119
size84,940
Nick Johnson (nyonson)

documentation

README

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.

Commit count: 101

cargo fmt