You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amend PageDb component so that it support Merkle construct.
revisit existing maps (NibbleBasedMap and HashingMap) to see whether they fit the nature of Merkle, that can have keys and values pretty small, when comparing with others Map unification into SlottedArray #131
leave some allowance on each internal Page to keep the MPT. Calculate how much memory will be needed and get it from the in-page cache component. This will limit the memory a bit, but will fix a blow up on truncating the path. Write-through cache reintroduced #134
allow applying deletes (set operation with value of Span<byte>.Empty) and propagate it in the tree DB deletes #138
Massive Storage Tree should search for Merkle keys as well, so that the Merkle information about the storage is also extracted DB deletes #138
Additional notes, covered by the points above. Keys are much shorter than other keys used in the PagedDb. As PagedDb is path based, it uses full addresses of accounts and account+storage for storage. As it truncates one nibble per level of the page tree, it requires to leave some space for Merkle values as its keys will be much shorter, for example for the root, they will be of length of 0.
The text was updated successfully, but these errors were encountered:
Amend
PageDb
component so that it support Merkle construct.NibbleBasedMap
andHashingMap
) to see whether they fit the nature of Merkle, that can have keys and values pretty small, when comparing with others Map unification into SlottedArray #131Span<byte>.Empty
) and propagate it in the tree DB deletes #138Merkle
keys as well, so that the Merkle information about the storage is also extracted DB deletes #138DataPage
Additional notes, covered by the points above. Keys are much shorter than other keys used in the
PagedDb
. AsPagedDb
is path based, it uses full addresses of accounts and account+storage for storage. As it truncates one nibble per level of the page tree, it requires to leave some space for Merkle values as its keys will be much shorter, for example for the root, they will be of length of 0.The text was updated successfully, but these errors were encountered: