Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infertux/bitcoin-prober
Gather information from any remote Bitcoin node
https://github.com/infertux/bitcoin-prober
bch bchd bitcoin btc nmap scanner tcp-client
Last synced: 18 days ago
JSON representation
Gather information from any remote Bitcoin node
- Host: GitHub
- URL: https://github.com/infertux/bitcoin-prober
- Owner: infertux
- License: other
- Created: 2019-07-11T11:40:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T02:21:53.000Z (11 months ago)
- Last Synced: 2024-04-16T03:30:05.217Z (7 months ago)
- Topics: bch, bchd, bitcoin, btc, nmap, scanner, tcp-client
- Language: Go
- Size: 55.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bitcoin-prober
This is a simple program that sends a `version` message to a given `host:port` and outputs details about the remote BCH/BTC node.
Here are some example outputs:
```
$ ./bitcoin-prober --help
Usage of ./bitcoin-prober:
-address string
Address to probe
-network string
Network (BCH or BTC) (default "BCH")
-verbose
Be verbose$ ./bitcoin-prober --address bch.imaginary.cash
Resolved bch.imaginary.cash to 67.223.119.97:8333
Probing 67.223.119.97:8333 on the BCH network...
UserAgent: /Bitcoin Cash Node:27.0.0(EB32.0)/
Services: SFNodeNetwork|SFNodeBloom|SFNodeBitcoinCash|SFNodeNetworkLimited
ProtocolVersion: 70016
LastBlock: 824264
RelayTx: true$ ./bitcoin-prober --network BTC --address 141.105.69.133:8333
Probing 141.105.69.133:8333 on the BTC network...
141.105.69.133 is located in RU
UserAgent: /Satoshi:0.18.0/
Services: SFNodeNetwork|SFNodeBloom|SFNodeWitness|SFNodeNetworkLimited
ProtocolVersion: 70015
LastBlock: 584885
RelayTx: true
```_This was quickly hacked together, improvements are welcome!_
## License
AGPLv3+