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
Closes#11278
This mostly copies from the on-disk trie implementation except adapting
it to memtrie data structures. This eliminates the sole remaining
disk-trie use during normal validator node operation (when memtrie is
enabled), remove_account.
The memtrie implementation requires a different API because there's no
way to grab a read lock and construct an iterator at the same time, due
to there necessarily being two layers of lifetimes. So whereas we used
to have Trie::iter(), we now must have Trie::lock_for_iter() and then
use the result to .iter().
We should make that use memtrie instead.
The text was updated successfully, but these errors were encountered: