-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portal Network: State Network Functionality #830
Labels
Comments
kdeme
changed the title
Portal State Network Client: Functionality TODO list
Portal Network Client: State Network Functionality
Nov 30, 2021
kdeme
changed the title
Portal Network Client: State Network Functionality
Portal Network: State Network Functionality
Nov 30, 2021
Closing this in favour of #1923 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Portal Network: State Network Client Functionality
Issue to better track the implemented State network related features in the Fluffy Portal client, in order to know what to work in still and to have a better view on the state of the client.
Specific items to do still can have their own issue to track in more detail
Edit: Anything wire protocol / network overlay related items have been moved to #898. This issue is purely about State network only functionality and is currently probably pretty incomplete.
A - Content Management
The ability to take a merkle proof against the hexary patricia trie and serialize it to a stream of bytes suitable for transmission.
The ability to take a stream of bytes representing a merkle proof against the hexary patricia trie and deserialize it into a native representation.
The ability to validate that a given merkle proof is well formed against a known state root.
For each proof, the client should be able to store the proof for later retrieval.
Efficient storage will require the ability to merge multiple proofs into a single proof, and then to extract a minimal sub-proof from the merged proofs.
A simple model for storage would be simply to store the serialized versions which will result in larger storage overhead, but side-steps the need for merging proofs.
B - JSON-RPC
Endpoints that require state access
eth_balance
: TODOeth_getTransactionCount
: TODOeth_getCode
: TODOeth_getStorage
: TODOeth_call
: TODOeth_estimateGas
: TODOThe text was updated successfully, but these errors were encountered: