aboutsummaryrefslogtreecommitdiffstats
path: root/core/state/journal.go
Commit message (Collapse)AuthorAgeFilesLines
* core, core/state: fixed consensus issue added touch revertJeffrey Wilcke2016-11-251-1/+13
| | | | | Implemented proper touch revert journal entries and copied a Parity consensus bug in order to remain in sync with the current longest chain.
* core/state: rename Delete/IsDeleted to Suicide/HasSuicidedFelix Lange2016-10-061-3/+3
| | | | The delete/remove naming has caused endless confusion in the past.
* core/state: implement reverts by journaling all changesFelix Lange2016-10-061-0/+117
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!