Marko
27b00cf8d1
libs/common: refactor libs common 3 ( #4232 )
* libs/common: refactor libs common 3
- move nil.go into types folder and make private
- move service & baseservice out of common into service pkg
ref #4147
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* add changelog entry
5 years ago
Marko
3e2751d274
lint: Enable Golint ( #4212 )
* Fix many golint errors
* Fix golint errors in the 'lite' package
* Don't export Pool.store
* Fix typo
* Revert unwanted changes
* Fix errors in counter package
* Fix linter errors in kvstore package
* Fix linter error in example package
* Fix error in tests package
* Fix linter errors in v2 package
* Fix linter errors in consensus package
* Fix linter errors in evidence package
* Fix linter error in fail package
* Fix linter errors in query package
* Fix linter errors in core package
* Fix linter errors in node package
* Fix linter errors in mempool package
* Fix linter error in conn package
* Fix linter errors in pex package
* Rename PEXReactor export to Reactor
* Fix linter errors in trust package
* Fix linter errors in upnp package
* Fix linter errors in p2p package
* Fix linter errors in proxy package
* Fix linter errors in mock_test package
* Fix linter error in client_test package
* Fix linter errors in coretypes package
* Fix linter errors in coregrpc package
* Fix linter errors in rpcserver package
* Fix linter errors in rpctypes package
* Fix linter errors in rpctest package
* Fix linter error in json2wal script
* Fix linter error in wal2json script
* Fix linter errors in kv package
* Fix linter error in state package
* Fix linter error in grpc_client
* Fix linter errors in types package
* Fix linter error in version package
* Fix remaining errors
* Address review comments
* Fix broken tests
* Reconcile package coregrpc
* Fix golangci bot error
* Fix new golint errors
* Fix broken reference
* Enable golint linter
* minor changes to bring golint into line
* fix failing test
* fix pex reactor naming
* address PR comments
5 years ago
Anton Kaliaev
3e1516b624
linters: enable stylecheck ( #4153 )
Refs #3262
5 years ago
Marko
a1eb2f6c6b
tm-cmn to tm-db ( #3850 )
* tm-cmn to tm-db
* go.mod changes
* go.mod changes
* more go.mod
* fix tm-db
* ci fix, pending change
5 years ago
Marko
816dfce8fe
libs: Remove db from tendermint in favor of tendermint/tm-cmn ( #3811 )
* Remove db from tendemrint in favor of tendermint/tm-cmn
- remove db from `libs`
- update dependancy, there have been no breaking changes in the updated deps
- https://github.com/grpc/grpc-go/releases
- https://github.com/golang/protobuf/releases
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* changelog add
* gofmt
* more gofmt
5 years ago
Thane Thomson
70592cc4d8
libs/common: remove deprecated PanicXXX functions ( #3595 )
* Remove deprecated PanicXXX functions from codebase
As per discussion over
[here](https://github.com/tendermint/tendermint/pull/3456#discussion_r278423492 ),
we need to remove these `PanicXXX` functions and eliminate our
dependence on them. In this PR, each and every `PanicXXX` function call
is replaced with a simple `panic` call.
* add a changelog entry
6 years ago
Anton Kaliaev
6941d1bb35
use nolint label instead of commenting
6 years ago
Anton Kaliaev
ffd3bf8448
remove or comment out unused code
6 years ago
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!
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
Ricardo Domingos
e6abdb8b9d
p2p/trust: Fix nil pointer error on TrustMetric Copy() ( #1819 )
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
6 years ago
Liamsi
96a3502126
delete everything
6 years ago
Anton Kaliaev
2a24ae90c1
fixes from Jae's review
1. remove pointer
2. add Quit() method to Service interface
7 years ago
Ethan Buchman
8d758560d8
p2p/trustmetric: non-deterministic test
7 years ago
Ethan Buchman
c1e167e330
note in trust metric test
7 years ago
Ethan Buchman
90df9fa1bf
p2p/trust: remove extra channels
7 years ago
caffix
eae6e6381e
trust metric is now a service and the test ticker has been added
7 years ago
Zach
12c5a57415
determinisitic linter ( #902 )
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
7 years ago
caffix
44f62e5e27
built the WaitForStop functionality into the Stop method
7 years ago
caffix
5d464364a8
fixed the racy test and removed all the calls to Sleep
7 years ago
Ethan Buchman
cb9a1dbb4f
p2p/trust: lock on Copy()
7 years ago
Ethan Buchman
814541f6d9
p2p/trust: split into multiple files and improve function order
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago
caffix
887cb6d0cd
added public methods to handle locking within the trust metric
7 years ago
Ethan Buchman
e845987503
p2p: disable trustmetric test while being fixed
7 years ago
caffix
9c8100043e
made changes to address suggestions from the PR comments
7 years ago
caffix
4087326f45
fixed race condition reported in issue #881
7 years ago
Ethan Buchman
53f15fde07
update changelog
7 years ago
caffix
a724ffab25
added changes based on PR comments to the proposal
7 years ago
caffix
8b7649b90c
enhancements made in response to PR full review comments
7 years ago
caffix
687834c99e
added initial trust metric test routines
7 years ago
caffix
54c25ccbf5
integrated trust metric store as per PR comments
7 years ago
caffix
e160a6198c
added initial trust metric design doc and code
7 years ago