How New Blocks are Formed
In this lesson, we review the basics of block formation including the farmers role in validating transactions, forming blocks, and managing the mempool.
学习目标
- Transaction Validation: Learn how nodes validate transactions for inclusion in a block.
- Block Formation: Understand farmers role in forming blocks.
- Mempool: Review the mempool basics for transaction inclusion and removal.
内容
脚本
Expand for the full script
常见问题
- Transaction Validation: Transactions are validated by all nodes not only while blocks are being formed but also when the newly infused blocks are sent from peers, this eliminates a malicious actors ability from altering transactions even if they have the fastest timelord and have farmed the block.
- Block Formation vs Infusion: Block formation is the process of combining proofs of space with transactions (the foliage) and is performed by the farmer while block infusion is the process of adding blocks to the chain itself and is performed by timelords.
- Mempool: All spend bundles (transactions) from the mempool that will be included in a block are aggregated together during block formation, this means that the specific spend bundle for a given transaction is not stored on-chain and is only available in the mempool.
知识检测
Question 1 - Transaction Validation
What system validates transactions in Chia?
A. Timelords B. Farmers C. Harvesters D. Full Nodes
Answer (expand when ready to see the answer)
Question 2 - Block Formation
Is the below statement True or False?
Full nodes are responsible for infusing blocks while timelords are responsible for forming blocks.
Answer (expand when ready to see the answer)
Question 3 - Mempool
What is the Mempool?
A. Temporary storage on the network where transactions are queued before being confirmed.
The amount of system memory the blockchain can access.
The total size of all current plots on the network.
Another name for the chia blockchain database.
Answer (expand when ready to see the answer)
附加资源
链接
- Transaction validation overview: dives into the requirements for validating the blocks body (which contains the transactions).
- Block formation overview: explores the intricacies of the full nodes role in block formation and when transaction blocks are formed.
- Block Infusion detailed documentation: detailed information on how and when blocks are infused in the chain.
- Mempool detailed documentation: detailed information on all aspects of mempool inclusion scenarios and how the mempool is updated.
- Support in discord: for further support join our discord server and ask in the #chialisp or #support channels.