Sarlor
ea06da0892
trie: avoid unnecessary slicing on shortnode decoding ( #16917 )
...
optimization code
6 years ago
Wenbiao Zheng
38c7eb0f26
trie: rename TrieSync to Sync and improve hexToKeybytes ( #16804 )
...
This removes a golint warning: type name will be used as trie.TrieSync by
other packages, and that stutters; consider calling this Sync.
In hexToKeybytes len(hex) is even and (even+1)/2 == even/2, remove the +1.
6 years ago
Felix Lange
f958d7d482
trie: rework and document key encoding
...
'encode' and 'decode' are meaningless because the code deals with three
encodings. Document the encodings and give a name to each one.
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
zsfelfoldi
ef422ee1e1
light: implemented odr-capable trie and state structures
9 years ago
Felix Lange
565d9f2306
core, trie: new trie
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
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
705cf6113d
debug err removed
10 years ago
obscuren
9022f5034f
default values removed
10 years ago
obscuren
af34749a6b
ethtrie => trie
10 years ago
obscuren
e02c0fa808
Added generic big to 256 method. Implemented new iterator
10 years ago
zelig
707d413761
refactor ethutil/trie to ethtrie
10 years ago
obscuren
5cdfee5143
New Trie iterator
10 years ago
obscuren
d7eca7bcc1
Rlp update
11 years ago
obscuren
f6d1bfe45b
The great merge
11 years ago