Overbool
561fc2d717
test(db): Test itr.Value in checkValuePanics ( #2580 )
Fixes #2573
6 years ago
Anton Kaliaev
747797bf3b
cleanup after tests!
6 years ago
ValarDragon
a83eed104c
libs/cmn: Remove Tempfile, Tempdir, switch to ioutil variants ( #2114 )
Our Tempfile was just a wrapper on ioutil that panicked instead of error.
Our Tempdir was a less safe variant of ioutil's Tempdir.
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
6 years ago
Jae Kwon
e328006bfe
Jae/fixprefixdb ( #199 )
* Fix PrefixDB Iterator
* PrefixDB Iterator/ReverseIterator fixes
* Bump version 0.8.2
* Update CHANGELOG.md about DebugDB
* Keep invalid source to be closed
* Use prefixBatch instead of memBatch
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
d289c9286e
Implement NewPrefixDB ( #164 )
* encodeByteSlice uses uvarint for length instead of varint
* Implemented NewPrefixDB
* Fix flowrate test (#165 )
* Complete implementation and fix tests
* Add tests for MemBatch Write[Sync]
7 years ago
Ethan Buchman
1b5176003a
DbBackend -> DBBackend
7 years ago
Adrian Brink
cbc63518e5
Export DbBackendType in order to fix IAVL tests
7 years ago
Jae Kwon
f6dbe9ba05
Refactor string -> dbBackendType
7 years ago
Jae Kwon
4ce8448d7f
Nil keys are OK, deprecate BeginningKey/EndingKey ( #101 )
* Nil keys are OK, deprecate BeginningKey/EndingKey
7 years ago
Ethan Buchman
bcacaf164b
db: cleveldb iterator
7 years ago
Ethan Buchman
3e5dbef6a2
db: goleveldb iterator
7 years ago
Jae Kwon
7f650cea86
Remove Prev from Iterator
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