Sam Kleinman
6ab62fe7b6
service: remove stop method and use contexts ( #7292 )
3 years ago
Sam Kleinman
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
3 years ago
Marko
719e028e00
libs: internalize some packages ( #6366 )
## Description
Internalize some libs. This reduces the amount ot public API tendermint is supporting. The moved libraries are mainly ones that are used within Tendermint-core.
4 years ago
Marko
2ac5a559b4
libs: wrap mutexes for build flag with godeadlock ( #5126 )
## Description
This PR wraps the stdlib sync.(RW)Mutex & godeadlock.(RW)Mutex. This enables using go-deadlock via a build flag instead of using sed to replace sync with godeadlock in all files
Closes : #3242
4 years ago
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
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
7 years ago
Liamsi
96a3502126
delete everything
7 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
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
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
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