Simple Bitcoin P2P Network Handshake Implementation in Rust

I'm trying to implement the Bitcoin P2P handshake protocol using Rust in this repo https://github.com/nbm2023/bitcoin-p2p-handshake/blob/main/src/lib.rs The code simply runs a test which tries to sends a Version Message to a Bitcoin node and waits for a response.

According to this documentation https://en.bitcoin.it/wiki/Protocol_documentation I believe I have the correct components of a Version Message as well as the correct encoding. The Bitcoin node I'm trying to connect to is "seed.bitcoin.sipa.be:8333" which I can otherwise ping through the console.

The issue is that I'm not getting a response after sending the initial Version Message to the remote Bitcoin node.

Does anyone have any points on debugging this ?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/Vlznxfi
via IFTTT

Popular posts from this blog

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitwise Clients Pour $69M Into Solana as Bulls Fight to Reclaim $200 Resistance Zone