aboutsummaryrefslogtreecommitdiffstats
path: root/trie/encoding.go
Commit message (Collapse)AuthorAgeFilesLines
* trie: avoid unnecessary slicing on shortnode decoding (#16917)Sarlor2018-06-071-4/+3
| | | optimization code
* trie: rename TrieSync to Sync and improve hexToKeybytes (#16804)Wenbiao Zheng2018-05-291-1/+1
| | | | | | | 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.
* trie: rework and document key encodingFelix Lange2017-04-251-64/+50
| | | | | 'encode' and 'decode' are meaningless because the code deals with three encodings. Document the encodings and give a name to each one.
* all: gofmt -w -sFelix Lange2017-01-061-1/+1
|
* light: implemented odr-capable trie and state structureszsfelfoldi2015-12-171-0/+21
|
* core, trie: new trieFelix Lange2015-09-231-22/+50
|
* trie: run codec tests, add benchmarks, fasterEthan Buchman2015-08-071-20/+16
|
* faster hex-prefix codec and string -> []byteEthan Buchman2015-08-061-26/+17
|
* 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
|
* debug err removedobscuren2015-01-301-1/+1
|
* default values removedobscuren2015-01-301-3/+3
|
* ethtrie => trieobscuren2014-10-311-0/+76