mossid
50c521e706
expose KVPair
2018-04-05 21:56:29 +02:00
mossid
2861f795f5
add SimpleProofsFromMap
2018-04-05 21:30:15 +02:00
Jae Kwon
f457435199
HexBytes formatting; Make computeHashFromAunts more defensive
2018-04-03 07:02:19 -07:00
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.
2018-04-03 12:23:28 +02:00
Jae Kwon
b0e0dc5de3
Implement DebugDB ( #166 )
2018-03-18 01:52:28 +01:00
Jae Kwon
b1cc688a61
encodeByteSlice uses uvarint for length instead of varint ( #161 )
2018-03-12 09:46:31 +04:00
Ethan Buchman
d6d97889f2
merkle: remove go-wire dep by copying EncodeByteSlice
2018-02-03 01:29:39 -05:00
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
2018-02-02 12:51:30 +04:00
Ethan Buchman
cfbb9338bd
use go-wire sdk2
2018-02-02 12:51:30 +04:00
Jae Kwon
aab2d70dd3
Sdk2 kvpair ( #102 )
...
* Canonical KVPair in common
* Simplify common/Bytes to just hex encode
2017-12-17 13:04:15 -08:00
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
2017-11-09 17:42:32 -05:00
Zach Ramsay
cf49ba876f
linter: couple fixes
2017-10-03 17:23:14 -04:00
Zach Ramsay
d6e03d2368
linting: add to Makefile & do some fixes
2017-09-22 11:42:29 -04:00
Ethan Buchman
56d36c8f25
merkle: go-common -> tmlibs
2017-04-21 16:04:58 -04:00
Ethan Buchman
fd296811df
simple merkle tree
2017-04-21 15:33:25 -04:00