Closed laanwj closed 8 years ago
This is awesome! Thanks for the PR - I'll take a look at code and get this merged in soon.
Cool, let me know if anything should be done differently.
A future idea might be to use getaddr
/addr
messages to find other .onion peers to add to the scan.
Done! Pushed a new version
And ran the source file through gofmt (without any specific arguments).
Thanks!
This does the bare minimum to communicate with a Bitcoin node and gets its version message. Add the user agent and protocol version to the report.
This is the first Go code I've ever written, so it's probably a mess, sorry for that.
Example: