mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2026-03-01 04:28:51 +00:00
Collapse temporary MPT tree during NeoFS-based statesync process #1508
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U3
U3
U4
blocked
bug
bug
cli
compiler
config
config
consensus
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
neotest
network
oracle
performance
question
rpc
security
smartcontract
task
task
task
test
vm
wallet
windows
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neo-go#1508
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AliceInHunterland on GitHub (Apr 28, 2025).
Is your feature request related to a problem? Please describe.
Improve
localTrieflushing and collapsing logic inAddContractStorageData.Refs https://github.com/nspcc-dev/neo-go/pull/3844#discussion_r2060596159
Describe the solution you'd like
Add collapsing the trie.
Describe alternatives you've considered
Do not change
Additional context
This improvement is related to
NeoFSStateSyncExtensions.@AnnaShaleva commented on GitHub (Apr 28, 2025):
Flushing logic is OK, we perform flush/persist in the end of every batch of storage items. Collapsing logic is missing at all, it's the problem.
Not an alternative, we can't keep the whole MPT in memory.