aboutsummaryrefslogtreecommitdiffstats
path: root/light/state.go
Commit message (Collapse)AuthorAgeFilesLines
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-271-316/+0
| | | | | | | | | 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).
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-1/+1
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-6/+0
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-5/+5
|
* core, core/state, core/vm: remove exported account getters (#3618)Jeffrey Wilcke2017-02-231-0/+20
| | | | Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods.
* logger: remove Core verbosity level (#3659)Felix Lange2017-02-151-1/+1
|
* core, core/vm: implemented a generic environment (#3348)Jeffrey Wilcke2016-12-061-0/+9
| | | | | | | | Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client.
* core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-1/+0
|
* cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-231-4/+1
| | | | All account's nonce start at 0.
* light: light chain, VM env and tx poolZsolt Felfoldi2016-11-091-11/+31
|
* light: fix memory expansion bug (same as fix for core/state)Gustav Simonsson2016-09-201-1/+3
|
* light: implemented odr-capable trie and state structureszsfelfoldi2015-12-171-0/+275