Sam Kleinman
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
4 years ago
Alessio Treglia
0de4bec862
use Cleanup(),TempDir() in test cases ( #5723 )
Replace defer with t.Cleanup().
Replace the combination of ioutil.TempDir, error checking
and defer os.RemoveAll() with Go testing.T's new TempDir()
helper.
Mark auxiliary functions as test helpers.
4 years ago
Marko
6ccccb0933
lint: errcheck ( #5091 )
## Description
add more error checks to tests
gonna do a third PR that tackles the non test cases
4 years ago
Erik Grinaker
04b8cf7879
deps: bump tm-db to 0.6.0 ( #5058 )
4 years ago
Marko
044f1bf288
format: add format cmd & goimport repo ( #4586 )
* format: add format cmd & goimport repo
- replaced format command
- added goimports to format command
- ran goimports
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* fix outliers & undo proto file changes
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
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
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
caffix
eae6e6381e
trust metric is now a service and the test ticker has been added
7 years ago
Ethan Buchman
814541f6d9
p2p/trust: split into multiple files and improve function order
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
4087326f45
fixed race condition reported in issue #881
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