Closed ytgui closed 4 years ago
Full nodes: download and verify every block and transaction prior to relaying them to other nodes. Archival nodes: are full nodes which store the entire blockchain and can serve historical blocks to other nodes. Pruned nodes: are full nodes which do not store the entire blockchain. Many SPV clients also use the Bitcoin network protocol to connect to full nodes.
Consensus rules do not cover networking, so Bitcoin programs may use alternative networks and protocols, such as the high-speed block relay network used by some miners and the dedicated transaction information servers used by some wallets that provide SPV-level security.
addr
to others.version
message as (ver_number, block, current_time)
.version
message.verack
message to indicate connection establish.
https://bitcoin.org/en/p2p-network-guide https://github.com/perone/protocoin/blob/master/protocoin/clients.py