This simple program performs a handshake with a Bitcoin node. It sends a version message, then waits to receive a version message as well as a verack message, and finally acknowledges this by sending its own verack message in return.
cargo r --release -- --ip-address <IP_ADDRESS> --port <PORT>There is a basic help:
cargo r --release -- --helpThis Bitcoin node seemed reliable during my testing:
cargo r --release -- --ip-address 65.109.34.157The program will default to port 8333.
If successfully connected and run, the program will print:
successful handshake