• Felix Lange's avatar
    core/state: implement reverts by journaling all changes · 1f1ea18b
    Felix Lange authored
    This commit replaces the deep-copy based state revert mechanism with a
    linear complexity journal. This commit also hides several internal
    StateDB methods to limit the number of ways in which calling code can
    use the journal incorrectly.
    
    As usual consultation and bug fixes to the initial implementation were
    provided by @karalabe, @obscuren and @Arachnid. Thank you!
    1f1ea18b
managed_state_test.go 3 KB