mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-14 22:34:23 +00:00
17391b58d0
* Remove cruft left-over from PR #2494 * TODO * Update comments on `HashKey` type values * Remove obsolete hash key conversion flag `forceRoot` why: Is treated implicitly by having vertex keys as `HashKey` type and root vertex states converted to `Hash256`
586 B
586 B
-
Re-visit
delTree()
. Suggestion is deleting small trees on the memory later, otherwise only deleting the root vertex (so it becomes inaccessible) and remember the follow up vertices which can travel through the tx-layers to be picked up by the backend store. -
Note that the proof-mode code was removed with PR #2445. An idea for a re-implementation would be to pre-load vertices and keep the perimeter hashes of the pre-loaded vertices externally in a vid-hash table. That way, the vid hashes can be verified should they appear in the partial MPT at a later stage.