Bitcoin Network

Node Function

A node in Bitcoin network could have 4 functions.

  • routing
  • blockchain database
  • mining
  • wallet service
Bitcoin Network_第1张图片
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.

Bitcoin Network_第2张图片
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.

Bitcoin Network_第3张图片
handshake.JPG

Then use addr/get addr message to propagate address.

Bitcoin Network_第4张图片
addr.JPG

Nodes sync data as follows

Bitcoin Network_第5张图片
block_sync.JPG

你可能感兴趣的:(Bitcoin Network)