EIP-XXXX: eth/71 - Block Access List Exchange
Ethereum Magicians
Discussion topic for EIP-XXXX: eth/71 - Block Access List Exchange PR: TBD 1 post - 1 participant Read full topic
Ethereum Magicians
Discussion topic for EIP-XXXX: eth/71 - Block Access List Exchange PR: TBD 1 post - 1 participant Read full topic
AI 生成摘要
這是關於 EIP-XXXX,具體為 eth/71 的討論主題,涉及區塊訪問列表交換。以太坊魔法師社群參與了這個網路和提案。
A new sub-protocol eth/71 for exchanging block access lists.
This EIP introduces a new sub-protocol eth/71 for the eth protocol family. It allows nodes to exchange block access lists, which are compact representations of the transactions included in a block. This can be used to improve the efficiency of block propagation and validation, especially in light client scenarios.
Currently, light clients rely on block headers and Merkle proofs to verify the state of the Ethereum blockchain. However, this approach requires downloading a significant amount of data, especially when verifying transactions that involve multiple accounts.
Block access lists provide a more efficient way to verify transactions. They contain a list of the accounts and storage slots that are accessed by the transactions in a block. By exchanging block access lists, light clients can quickly determine whether a transaction is relevant to their interests without having to download the entire block.
This EIP aims to improve the efficiency of light client synchronization by introducing a new sub-protocol for exchanging block access lists.
eth/71
The following messages are defined for the eth/71 sub-protocol:
GetBlockAccessLists(request_id: u64, block_hashes: List[Hash]) - Requests the access lists for the specified blocks.BlockAccessLists(request_id: u64, access_lists: List[List[AccessList]]) - Returns the access lists for the requested blocks.Hash: A 32-byte hash value.AccessList: A list of AccessTuples.AccessTuple: A tuple containing an address and a list of storage keys.GetBlockAccessLists message to its peers.BlockAccessLists message.The design of the eth/71 sub-protocol is based on the following principles:
This EIP introduces a new sub-protocol, so it does not affect the existing eth sub-protocols. Nodes that do not support eth/71 will simply ignore the new messages.
The eth/71 sub-protocol does not introduce any new security risks. However, it is important to ensure that the access lists are correctly generated and verified, to prevent malicious nodes from providing incorrect information.
Copyright and related rights waived via .