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
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
Felix Lange
68c755a238
core/state: fix TestDump
...
Lazy "I'll just put return here instead of fixing the test" found by go vet.
9 years ago
Jeffrey Wilcke
b6d88a0e9f
core, core/vm, crypto: fixes for homestead
...
* Removed some strange code that didn't apply state reverting properly
* Refactored code setting from vm & state transition to the executioner
* Updated tests
9 years ago
Felix Lange
1b89bd5d26
core/state, core/types use package rlp for state, receipt serialisation
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
obscuren
aa699a1283
core/state: removed state from state object
10 years ago
obscuren
bbe795455a
Secure trie shakey / key matching
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
bfcd2cf132
block conversion
10 years ago
obscuren
e620bde405
conversion state
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
6ea7aae29c
Removed some methods from the JS REPL
10 years ago
obscuren
e235b57234
Fixed consensus issue for refunding
...
* Refund should _always_ go to the origin
10 years ago
obscuren
37e6870f64
wip
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
780abaec98
Switched to new trie
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
14e2e488fd
Added `chain` tests & minor fixes
...
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
10 years ago
obscuren
60cdb1148c
Transaction execution fixes
10 years ago
obscuren
a82b89e2d5
Added storage root to dump
10 years ago
obscuren
af8f5f0b69
ethstate => state
10 years ago
obscuren
b5beb1aac1
added a transfer method to vm env
10 years ago
obscuren
33a0dec8a1
Improved catching up and refactored
10 years ago
obscuren
793e666f36
Dump bytes instead of strings
10 years ago
obscuren
da50c75148
Added state dump method
10 years ago