-
Notifications
You must be signed in to change notification settings - Fork 61
Parallel Execution
Wei Tang edited this page Jan 4, 2018
·
1 revision
SputnikVM is capable of doing basic parallel execution of transactions. Classic in Orbit has a blog post explaining how it works. The algorithm works like below.
- Execute all transactions in parallel and gather SputnikVM's
AccountChange
, without any prior checking. - Try to apply account changes to the state trie. Take note of which addresses have been modified. If conflict is detected, re-execute that particular transaction and then continue.
The example code showing how this works in practice can be found here.