Node Function
A node in Bitcoin network could have 4 functions.
- routing
- blockchain database
- mining
- wallet service
FullNode.JPG
All node has routing function.
Full Node has all of them.
SPV/Lightweight node maintain a subset of blockchain.
Extended Bitcoin Network
The whole bitcoin network topology.
node.jpg
Network Discover
A new node use version message(handshake) to connect an old node. The Bitcoin Core client contains the names of five different DNS seeds.
handshake.JPG
Then use addr/get addr message to propagate address.
addr.JPG
Nodes sync data as follows
block_sync.JPG