Ethan Buchman
d72de8ba68
fix test
7 years ago
Ethan Buchman
d82699bf43
tmhash
7 years ago
mossid
50c521e706
expose KVPair
7 years ago
mossid
2861f795f5
add SimpleProofsFromMap
7 years ago
Jae Kwon
f457435199
HexBytes formatting; Make computeHashFromAunts more defensive
7 years ago
Thomas Corbière
ee67e34519
Fix lint errors ( #190 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix receiver names.
* remove omittable code.
* fix dot imports.
7 years ago
Jae Kwon
b0e0dc5de3
Implement DebugDB ( #166 )
7 years ago
Jae Kwon
b1cc688a61
encodeByteSlice uses uvarint for length instead of varint ( #161 )
7 years ago
Ethan Buchman
d6d97889f2
merkle: remove go-wire dep by copying EncodeByteSlice
7 years ago
Jae Kwon
b95cac5f4f
Remove unnecessary Byteser interface
7 years ago
Jae Kwon
c75298e359
Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire
7 years ago
Jae Kwon
580c3db8f9
Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" ( #128 )
* Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire
7 years ago
Ethan Buchman
cfbb9338bd
use go-wire sdk2
7 years ago
Jae Kwon
aab2d70dd3
Sdk2 kvpair ( #102 )
* Canonical KVPair in common
* Simplify common/Bytes to just hex encode
7 years ago
Jae Kwon
8481c49c82
CacheDB ( #67 )
* Add CacheDB & SimpleMap
* Generic memBatch; Fix cLevelDB tests
* CacheWrap() for CacheDB and MemDB
* Change Iterator to match LeviGo Iterator
* Fixes from review
* cacheWrapWriteMutex and some race fixes
* Use tmlibs/common
* NewCWWMutex is exposed. DB can be CacheWrap'd
* Remove GetOK, not needed
* Fsdb (#72 )
* Add FSDB
* Review fixes from Anton
* Review changes
* Fixes from review
7 years ago
Zach Ramsay
cf49ba876f
linter: couple fixes
7 years ago
Zach Ramsay
d6e03d2368
linting: add to Makefile & do some fixes
7 years ago
Ethan Buchman
56d36c8f25
merkle: go-common -> tmlibs
8 years ago
Ethan Buchman
fd296811df
simple merkle tree
8 years ago