Jae Kwon
416d143bf7
R4R: Swap start/end in ReverseIterator ( #2913 )
...
* Swap start/end in ReverseIterator
* update CHANGELOG_PENDING
* fixes from review
2018-11-28 08:49:24 -05:00
Anton Kaliaev
60018d6148
comment out until someone decides to tackle #2285 ( #2760 )
...
current code results in panic and we certainly don't want that.
https://github.com/tendermint/tendermint/pull/2286#issuecomment-418281846
2018-11-16 18:17:07 -05:00
Joon
e7708850c0
libs: Let prefixIterator implements Iterator correctly ( #2581 )
...
Fixes #2577
2018-10-09 14:21:36 +02:00
Overbool
561fc2d717
test(db): Test itr.Value in checkValuePanics ( #2580 )
...
Fixes #2573
2018-10-09 14:19:00 +02:00
Anton Kaliaev
bd951171db
docs: Add missing changelog entry and comment ( #2451 )
...
Follow-up on https://github.com/tendermint/tendermint/pull/2411
2018-09-20 11:14:02 +02:00
bradyjoestar
8aad09d9d4
Output error instead of panic when the given db_backend is not initialised ( #2411 )
...
Closes #2371
2018-09-20 09:53:25 +04:00
Anton Kaliaev
e1bda36c6c
switch back to original fork
2018-09-18 12:16:03 +04:00
Anton Kaliaev
747797bf3b
cleanup after tests!
2018-09-18 12:15:44 +04:00
Anton Kaliaev
76302c651f
remove LICENSE from libs/db in favor of root license
2018-09-18 12:15:44 +04:00
Anton Kaliaev
5bfb9001eb
switch from jmhodges/levigo to DataDog/leveldb
...
Why:
original fork is abandoned and not supported anymore.
Changes:
- LevelDB 1.19 (LevelDB and Snappy are both compiled and linked statically, so while you will not need them installed on your target machine, you should have a roughly compatible version of libstdc++.)
- snappy and lz4 libs included by default
2018-09-18 12:15:43 +04:00
Ismail Khoffi
8ae3334423
[libs/autofile & db/fsdb] Throw error if file permissions change ( #2286 )
...
* Enforce file permissions in case they've changed
* test behaviour for autofile
* use testify in tests and rename `fInf` to `fileInfo`
* return an error if file permissions have changed
- if we can't read the file, we'll still panic
* get rid of "github.com/pkg/errors" dependency
* address review comments:
- prefix instead of suffix
- add state to err and construct formatting in Error() method
* address review comments:
- move error to libs/errors
2018-09-17 14:38:29 +04:00
Alessio Treglia
c43fb700e3
New NewGoLevelDBWithOpts() to pass opts down to goleveldb ( #2293 )
...
Closes : #2292
2018-08-29 08:44:55 +04:00
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
...
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
2018-08-10 09:25:57 +04:00
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.
2018-07-31 19:43:36 +02:00
Ethan Buchman
eccdce11c5
make linter happy
2018-07-02 12:06:43 -04:00
Ethan Buchman
3f4847331f
update grpc version. fix remotedb tests
2018-07-01 23:15:14 -04:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
2018-07-01 22:36:03 -04:00