aboutsummaryrefslogtreecommitdiffstats
path: root/core/state/managed_state_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-271-1/+1
| | | | | | | | | With this commit, core/state's access to the underlying key/value database is mediated through an interface. Database errors are tracked in StateDB and returned by CommitTo or the new Error method. Motivation for this change: We can remove the light client's duplicated copy of core/state. The light client now supports node iteration, so tracing and storage enumeration can work with the light client (not implemented in this commit).
* core, core/state, core/vm: remove exported account getters (#3618)Jeffrey Wilcke2017-02-231-1/+1
| | | | Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods.
* all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-091-4/+4
| | | | | go get github.com/gordonklaus/ineffassign ineffassign .
* all: gofmt -w -sFelix Lange2017-01-061-3/+3
|
* core/state: implement reverts by journaling all changesFelix Lange2016-10-061-5/+2
| | | | | | | | | | 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!
* core/state: track all accounts in canon stateFelix Lange2016-09-261-6/+7
| | | | | This change introduces a global, per-state cache that keeps account data in the canon state. Thanks to @karalabe for lots of fixes.
* core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-161-1/+1
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Moved handling of nonces to the managed stateobscuren2015-04-091-3/+6
|
* Added additional methods to the managed stateobscuren2015-04-081-0/+18
| | | | | * GetNonce Returns the canonical nonce * SetNonce Set the managed account's nonce
* moved state and vm to coreobscuren2015-03-231-0/+89