Péter Szilágyi
4918c820c6
[release/1.4.6] eth/downloader, trie: pull head state concurrently with chain
...
(cherry picked from commit 4f1d92b332
)
9 years ago
Péter Szilágyi
af53767e16
[release/1.4.6] core, core/state, trie: enterprise hand-tuned multi-level caching
...
(cherry picked from commit 748d1c171d
)
9 years ago
Felix Lange
6fdd0893c3
all: fix go vet warnings
9 years ago
Felix Lange
d04a2e7557
all: update license information
9 years ago
Péter Szilágyi
e90958cd29
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
9 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Péter Szilágyi
b8d59d9c98
core/state, trie: switch iterator panics to error fields
9 years ago
Péter Szilágyi
151c7bef41
core/state, trie: node iterator reports parent hashes too
9 years ago
Péter Szilágyi
5a057a8ded
core/state, trie: surface iterator entry hashes
9 years ago
Péter Szilágyi
7e29b0b5b4
core/state, trie: add node iterator, test state/trie sync consistency
9 years ago
Péter Szilágyi
f3d4ce0d16
core/state, ethdb, trie: test intermediate secure key leak, fix memdb bug
9 years ago
Péter Szilágyi
886478b18b
core/state, trie: don't leak database writes before commit
9 years ago
zsfelfoldi
ef422ee1e1
light: implemented odr-capable trie and state structures
9 years ago
zsfelfoldi
52904ae32f
trie: added error handling
...
Created alternate versions of Trie and SecureTrie functions that can return a MissingNodeError (used by ODR services)
9 years ago
Péter Szilágyi
5b0ee8ec30
core, eth, trie: fix data races and merge/review issues
9 years ago
Péter Szilágyi
b97e34a8e4
eth/downloader: concurrent receipt and state processing
9 years ago
Péter Szilágyi
ab27bee25a
core, eth, trie: direct state trie synchronization
9 years ago
Felix Lange
c1a352c108
trie: add merkle proof functions
9 years ago
Felix Lange
565d9f2306
core, trie: new trie
9 years ago
Felix Lange
6b91a4abe5
trie: improve benchmarks
9 years ago
Jeffrey Wilcke
b8ca0a830e
eth, trie: removed key prefixing from state entries & merge db fix
...
Fixed database merge strategy to use the correct database. Due to a copy
paste fail when doing type evaluation the same database was being
iterated (chain), all others were ignored.
Removed state prefixing because {H(code): code} is stored in the same
database as the rest of the state.
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Ethan Buchman
46c9594081
trie: run codec tests, add benchmarks, faster
9 years ago
Ethan Buchman
c1d516546d
faster hex-prefix codec and string -> []byte
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
Jeffrey Wilcke
8f56eea77d
ethdb, trie: removed RLE compression
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
bdae4fd573
all: add some godoc synopsis comments
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
47460b3b4a
trie: removed shallow copies (thanks to @fjl )
10 years ago
Jeffrey Wilcke
0a1ff68c11
trie: dirty tracking
10 years ago
obscuren
c850c41ec1
trie: Implemented a batch write approach for flushing
10 years ago
obscuren
a40a91d60f
trie: fixed tests
10 years ago
obscuren
c590b505ed
core, ethdb, trie: validate database errors
10 years ago
obscuren
bbe795455a
Secure trie shakey / key matching
10 years ago
obscuren
cf45b939a0
fixed tests
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
0dd9ac375b
undo
10 years ago
obscuren
d338650089
compilable trie (tests fail)
10 years ago
obscuren
f486c0ae56
new type + additional methods
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
357d17ae58
Start at 0
10 years ago
=
a6fe92194f
Fixed iterator bug which skips the 0x000...000 key
10 years ago
obscuren
b909a5ec18
Trie => SecureTrie
10 years ago
obscuren
bf5365b317
Delet => Delete
10 years ago
obscuren
ae45a39dc1
Secure trie
10 years ago
obscuren
99ebb869bf
Fixed iterator
10 years ago
obscuren
3c7181d28f
Fixed a copy issue in the trie which could cause a consensus failure
10 years ago
obscuren
705cf6113d
debug err removed
10 years ago
obscuren
9022f5034f
default values removed
10 years ago