/rust-p2p-bitcoin

Connect to exchange via Bitcoin P2P protocol (only version and verack frames)

Primary LanguageRust

Bitcoin protocol handshake

Usage

cargo run -- --ip 79.189.211.201 --port 8333

After executing this command you should see such logs

Version message sent
Received command: version
Received command: verack
Handshake complete. Closing connection

this means Bitcoin protocol handshake occurred