forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
The current encoding of expired nodes uses rlp for the path to the node.
This is a problem, because if a single leaf gets resurrected among many, the non-resurrected leaves' paths need to be updated, and that means the whole RLP has to be recomputed. This is quite inefficient. If there was only a byte prefix, the offset + size in the expired node record could simply be modified by incremeting the former and decrementing the latter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels