-
Notifications
You must be signed in to change notification settings - Fork 7
Ethereum Wire Protocol (proposal for PV64 change)
GetProof
[+0x11
, [nodehash
: B_32
, key
: B
]] Require peer to return a Proof
message, containing a Merkle-tree proof of the path starting from the node identified by nodehash
, then following the nibbles found in order in key
, until a leaf node or an empty node is found. The nodehash
may be a root hash of a trie, or it may also be an intermediate node if the client already has some nodes of the required path downloaded.
The accessed trie may be any of the tries referenced anywhere in the blockchain, including state, contract storage, transactions and receipts tries, and also intermediate states/storages.
Proof
[+0x12
, [node_1
, node_2
...]] Return a Merkle-tree proof consisting of a set of nodes that must be processed in order to access the trie entry value (or prove the absence of an entry) requested in GetProof