Generate selector that describes a statediff object as they are produced #255

Open
opened 2022-07-05 21:26:50 +00:00 by i-norden · 1 comment
Member

Look into generating a selector that describes a statediff object as it is being generated. E.g. a selector that describes all the nodes updated in the block, this could be used to quickly recover a statediff object from a full state database (aka IPFS/Filecoin). Shouldn't be too difficult since we are already tracking node paths.

Look into generating a selector that describes a statediff object as it is being generated. E.g. a selector that describes all the nodes updated in the block, this could be used to quickly recover a statediff object from a full state database (aka IPFS/Filecoin). Shouldn't be too difficult since we are already tracking node paths.
Author
Member

Related, and based on suggestions from Riba while working on Filecoin indexing, we could generate a selector suffix to describe each (leaf node) record in state_cids and storage_cids. This suffix could be appended to a root hash to generate a selector which describes how to select all the nodes required to prove the leaf node.

Related, and based on suggestions from Riba while working on Filecoin indexing, we could generate a selector suffix to describe each (leaf node) record in `state_cids` and `storage_cids`. This suffix could be appended to a root hash to generate a selector which describes how to select all the nodes required to prove the leaf node.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#255
No description provided.