| Crates.io | bitcoin-peers-crawler |
| lib.rs | bitcoin-peers-crawler |
| version | 0.1.6 |
| created_at | 2025-06-11 21:10:00.692444+00 |
| updated_at | 2025-07-17 16:40:29.264775+00 |
| description | Bitcoin network peer discovery |
| homepage | |
| repository | https://github.com/nyonson/bitcoin-peers |
| max_upload_size | |
| id | 1709119 |
| size | 84,940 |
Crawl across the bitcoin network beginning from a seed peer. Check out the example for usage.
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.