aboutsummaryrefslogtreecommitdiffstats
path: root/light/trie_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-091-7/+7
|
* light: fix duplicated argument in bytes.Equal callIskander (Alex) Sharipov2018-12-101-1/+1
| | | | Most probably a copy/paste kind of error. Found with gocritic `dupArg` checker.
* all: protect self-mined block during reorg (#17656)gary rong2018-09-201-1/+1
|
* all: make indexer configurable (#17188)gary rong2018-08-281-1/+1
|
* all: get rid of error when creating memory database (#16716)gary rong2018-05-091-4/+4
| | | | | | | | * all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-1/+1
| | | This commit reduces database I/O by not writing every state trie to disk.
* accounts, consensus, core, eth: make chain maker consensus agnostic (#15497)gary rong2017-12-221-1/+1
| | | | | | | | | | * accounts, consensus, core, eth: make chain maker consensus agnostic * consensus, core: move CalcDifficulty to Engine interface * consensus: add docs for calcDifficulty function * consensus, core: minor comment fixups
* core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-181-2/+1
|
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-271-0/+83
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).