Phil Salant
05075ea5b7
linters: modify code to pass maligned and interfacer ( #3959 )
* Fix maligned structs
* Fix interfacer errors
* Revert accidental go.mod and go.sum changes
* Revert P2PConfig struct maligned reorder
* Revert PeerRoundState struct maligned reordering
* Revert RoundState struct maligned reordering
* Reorder WSClient struct
* Revert accidental type change
* Clean up type change
* Clean up type changes
* Revert to types.ABCIApplicationServer in GRPCServer struct
* Revert maligned changes to BaseConfig struct
* Fix tests in io_test.go
* Fix client_test package tests
* Fix reactor tests in consensus package
* Fix new interfacer errors
5 years ago
Phil Salant
d1d517a9b7
linters: enable scopelint ( #3963 )
* Pin range scope vars
* Don't disable scopelint
This PR repairs linter errors seen when running the following commands:
golangci-lint run --no-config --disable-all=true --enable=scopelint
Contributes to #3262
5 years ago
Anton Kaliaev
d470945503
update gometalinter to 3.0.0 ( #3233 )
in the attempt to fix https://circleci.com/gh/tendermint/tendermint/43165
also
code is simplified by running gofmt -s .
remove unused vars
enable linters we're currently passing
remove deprecated linters
6 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
ae3bf81833
mv tmlibs files to libs dir
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
Zach Ramsay
d6e03d2368
linting: add to Makefile & do some fixes
7 years ago
Anton Kaliaev
5f20b3323e
don't do DeepEqual, compare ranges for durations and rates (Refs #16 )
8 years ago
Anton Kaliaev
b5c57967b7
[flowrate] improve error formatting (Refs #16 )
8 years ago
Maxim Khitrov
6a20af8766
Rename package to 'flowrate'
11 years ago
Maxim Khitrov
10e10fd81d
Rename 'flowcontrol' directory
11 years ago
Maxim Khitrov
bec34fc8d7
Import flowcontrol package from Google Code
11 years ago