Felix Lange
1f1ea18b54
core/state: implement reverts by journaling all changes
...
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!
8 years ago
Péter Szilágyi
cb84e3f029
cmd, core, internal, light, tests: avoid hashing the code in the VM
8 years ago
Felix Lange
cd791bd855
core, trie: replace state caches with trie journal
8 years ago
Felix Lange
a59a93f476
core/state: track all accounts in canon state
...
This change introduces a global, per-state cache that keeps account data
in the canon state. Thanks to @karalabe for lots of fixes.
8 years ago
Gustav Simonsson
22eea17b06
light: fix memory expansion bug (same as fix for core/state)
8 years ago
Gustav Simonsson
b6b17e5648
core/state, light: remove unused StateObject.initCode
8 years ago
Felix Lange
d04a2e7557
all: update license information
9 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago
zsfelfoldi
ef422ee1e1
light: implemented odr-capable trie and state structures
9 years ago