Anton Kaliaev
3e1516b624
linters: enable stylecheck ( #4153 )
Refs #3262
5 years ago
Ethan Buchman
47a0669d12
Fix fast sync stack with wrong block #2457 ( #2731 )
* fix fastsync may stuck by a wrong block
* fixes from updates
* fixes from review
* Align spec with the changes
* fmt
6 years ago
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
6 years ago
Anton Kaliaev
1944d8534b
test AutoFile#Size (happy path)
6 years ago
Anton Kaliaev
eb0da7f9cb
libs: Handle SIGHUP explicitly inside autofile ( #2480 )
* handle SIGHUP explicitly inside autofile
Refs #2260
* libs: Use consistent channel suffix
6 years ago
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
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.
7 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
d55243f0e6
fix import paths
7 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
7 years ago
Ethan Buchman
c8805fd7de
metalinter 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
2f8551d3b6
go-common -> tmlibs
8 years ago
Ethan Buchman
900be74e8f
update import paths
8 years ago
Ethan Buchman
a893bb119b
merge go-autofile
8 years ago
Jae Kwon
1859c4d5fe
First commit
8 years ago