Explain what do nodes do?

Technology CommunityCategory: BlockchainExplain what do nodes do?
VietMX Staff asked 3 years ago

When a miner attempts to add a new block of transactions to the blockchain, it broadcasts the block to all the nodes on the network. Based on the block’s legitimacy (validity of signature and transactions), nodes can accept or reject the block. When a node accepts a new block of transactions, it saves and stores it on top of the rest of the blocks it already has stored. In short, here is what nodes do:

  • Nodes check if a block of transactions is valid and accept or reject it.
  • Nodes save and store blocks of transactions (storing blockchain transaction history).
  • Nodes broadcast and spread this transaction history to other nodes that may need to synchronize with the blockchain (need to be updated on transaction history).