2014-04-18 23:30:19 -05:00
|
|
|
# btc-crawl
|
2014-04-18 23:07:31 -05:00
|
|
|
|
|
|
|
Bitcoin node network crawler (written in golang).
|
2014-04-18 23:26:47 -05:00
|
|
|
|
|
|
|
This is a for-fun project to explore the Bitcoin protocol and network.
|
|
|
|
|
2014-04-25 21:54:24 -05:00
|
|
|
Current status:
|
|
|
|
* It crawls with all kinds of nice parameters but stores everything in memory
|
|
|
|
until dumping a giant JSON blob at the end.
|
|
|
|
* --It crawls from hard-coded values and spits a bunch of stuff to
|
|
|
|
stdout.~~
|
2014-04-18 23:29:36 -05:00
|
|
|
|
2014-04-18 23:30:19 -05:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2014-04-18 23:29:36 -05:00
|
|
|
```
|
|
|
|
$ go get github.com/shazow/btc-crawl
|
|
|
|
$ btc-crawl
|
|
|
|
...
|
|
|
|
```
|
2014-04-18 23:30:19 -05:00
|
|
|
|
|
|
|
|
|
|
|
## Todo
|
|
|
|
|
2014-04-25 21:54:24 -05:00
|
|
|
(In approximate order of priority)
|
|
|
|
|
|
|
|
* Apply peer-age filter to results
|
|
|
|
* Stream JSON rather than accumulate into a giant array.
|
|
|
|
* Add timeout option.
|
|
|
|
* Graceful cleanup on Ctrl+C
|
|
|
|
* Namespace packages properly (outside of `main`)
|