Skip to content

Multi transaction execution #2362

@rakita

Description

@rakita

Execution multiple transactions can help with performance as we don't need to re-load account inside Journal, this means fewer hashmap lookups on both inner state and other state. Biggest example is on the beneficiary account that is always inserted inside the journal, and this overhead should've been removed.

The idea is to have an incarnation inside accounts of Journal state. This incarnation would allow us to mark accounts that previous transactions touched/loaded and look at them as cold loaded, even if they are inside inner state. This would aggregating all block state into one Hashmap and skip aggregation/commit that is needed on single transaction execution.

Additionally as the journal would stay unchanged, it would allow transaction reverts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions