What's the difference between full/peer node mode?

tomliontomlion ShanghaiMember Posts: 10
https://github.com/ethereum/cpp-ethereum/wiki/Using-Ethereum-CLI-Client#usage

Option -o switches Ethereum client between full or peer node, but what's the differences between them ?

I went through the documents but didn't find an explanation.

Please help, thanks!

Comments

  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    'Peer' is just to exchange, well, peer information. We use them to bootstrap the network. They don't do anything else - unless you are building your own network you probably won't need them much!
  • taramanictaramanic Member Posts: 24 ✭✭
    Does "bootstrap the network" mean that a peer node only hands out a list of addresses of full nodes that have contacted the peer node recently?
    And is a peer node by definition one that does not mine? Or is mining unrelated to this definition?
    Also, is my alethzero client a full or peer node (or neither)?
  • gavofyorkgavofyork Member Posts: 14 ✭✭
    -o peer just shares information on other nodes. it doesn't keep a blockchain or provide information relating to it.

    a peer node is a node in the p2p network. it might just do peer exchange, but it might also run one or more other protocols. your AZ client is a full node. it does peer exchange and runs the ethereum protocol.
Sign In or Register to comment.