mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-26 02:45:29 +00:00
improve comment in 'processBlock'
This commit is contained in:
parent
9596dbc267
commit
9dbcc7bb69
@ -188,6 +188,7 @@ proc processBlock*(chainDB: BaseChainDB, header: BlockHeader, body: BlockBody, v
|
|||||||
return ValidationResult.Error
|
return ValidationResult.Error
|
||||||
|
|
||||||
# `applyDeletes = false`
|
# `applyDeletes = false`
|
||||||
# preserve previous block stateRoot
|
# If the trie pruning activated, each of the block will have its own state trie keep intact,
|
||||||
# while still benefits from trie pruning
|
# rather than destroyed by trie pruning. But the current block will still get a pruned trie.
|
||||||
|
# If trie pruning deactivated, `applyDeletes` have no effects.
|
||||||
dbTx.commit(applyDeletes = false)
|
dbTx.commit(applyDeletes = false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user