-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capi: block execution commits after state batch has been flushed (#1621)
* api: use bytes instead of gas as batch size unit node: fix batch size computation in db buffer node: avoid caching read values in db buffer * api: restore usage of gas as batch size unit * api: improve logging in block execution * make fmt * make format uniform in logs * api: commit after any state batch has been flushed node: change RWTxnUnmanaged to allow commit and abort * fix comment * api: flush state history after each block execution api: change batch flush policy from gas to size node: fix empty element in call traces * node: log MDBX commit latency * node: update state batch size for initial=current=empty account node: fix state batch size computation for account code and storage node: sort storage locations to insert ordered data into db node: fix unmanaged r/w txn destruction add unit tests * add unit tests for batch size * delete check already moved within db::Buffer::update_account * add check also to InMemoryState::update_account * fix some warnings and naming --------- Co-authored-by: GitHub <[email protected]>
- Loading branch information
Showing
11 changed files
with
657 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.