Jeffrey Wilcke
024d41d0c2
core, core/state, core/vm: remove exported account getters ( #3618 )
...
Removed exported statedb object accessors, reducing the chance for nasty
bugs to creep in. It's also ugly and unnecessary to have these methods.
8 years ago
Felix Lange
b9b3efb09f
all: fix ineffectual assignments and remove uses of crypto.Sha3
...
go get github.com/gordonklaus/ineffassign
ineffassign .
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
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
Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
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
204ac81188
Moved handling of nonces to the managed state
10 years ago
obscuren
31b086f511
Added additional methods to the managed state
...
* GetNonce Returns the canonical nonce
* SetNonce Set the managed account's nonce
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
e620bde405
conversion state
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
fee9aecfb2
more tests for remote update
10 years ago
obscuren
a0266489b4
Make remote dominant
10 years ago
obscuren
f1fcda4f2f
Implemented managed state
...
* Reimplemented nonce management for known accounts.
10 years ago