Marko
d4cf204087
libs: remove commented and unneeded code ( #3757 )
- libs/errors: commented out errors.go
- libs/common: unused colors.go
- libs/db: unused debugDB
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
5 years ago
Anton Kaliaev
f25d727035
make dupl linter pass ( #3385 )
Refs #3262
6 years ago
Anton Kaliaev
747797bf3b
cleanup after tests!
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
ae3bf81833
mv tmlibs files to libs dir
6 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