Commit Graph
81 Commits
Author SHA1 Message Date
tycho garen 26a24ff175 cr feedback 2022-06-16 09:31:10 -04:00
tycho garen f822f21ecd fix lint 2022-06-15 11:45:58 -04:00
tycho garen e3a83daf40 comments 2022-06-15 11:38:36 -04:00
Sam KleinmanandM. J. Fromberger 84ee994d53 Apply suggestions from code review
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2022-06-15 11:38:07 -04:00
tycho garen 0804e6fb9f comments mostly
(cherry picked from commit 053ecd9b8c)
2022-06-15 10:37:36 -04:00
tycho garen 664e1a097e connection tracking 2022-06-15 10:07:04 -04:00
tycho garen 13f6493813 add max dialing attempts 2022-06-15 09:32:57 -04:00
tycho garen b0e0e3acbb Merge remote-tracking branch 'origin/v0.35.x' into p2p-dialer-storage-change-35-backport 2022-06-15 07:56:58 -04:00
mergify[bot]andGitHub ce8284c027 p2p: accept should not abort on first error (backport #8759) (#8760) 2022-06-15 07:56:15 -04:00
tycho garen 8adc97e631 fix up advertise
(cherry picked from commit 8195c97590)
2022-06-14 16:49:44 -04:00
tycho garen ca1237667f actually shuffle peers more 2022-06-14 16:15:35 -04:00
tycho garen 8b5d2c0a61 rename metrics 2022-06-14 16:09:23 -04:00
tycho garen acc4476985 update metrics
(cherry picked from commit 720600ef62)
2022-06-14 09:24:14 -04:00
tycho garen 4e373231fe noop metrics 2022-06-14 09:19:55 -04:00
tycho garen 56cf8f1df3 default metrics to noop 2022-06-14 09:02:02 -04:00
tycho garen 71fa7d7b6c fix test 2022-06-14 08:49:04 -04:00
tycho garen 9532fa4eb7 add metrics 2022-06-14 07:03:07 -04:00
tycho garen 0a0425ae6f fix panic 2022-06-13 12:25:21 -04:00
tycho garen 1dabae273b cleanup peer manager 2022-06-13 10:48:55 -04:00
tycho garen ef0d832f70 fix scoring test
(cherry picked from commit 9abc55f3a0)
2022-06-13 08:56:52 -04:00
tycho garen 470920ad9f test: new scoring
(cherry picked from commit 930fd7f2be)
2022-06-10 16:58:13 -04:00
tycho garen a1ef61b63e comment
(cherry picked from commit 9f604fd2ef)
2022-06-10 16:00:25 -04:00
Sam Kleinman dc148b81d8 Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
(cherry picked from commit 1c02758eaf)
2022-06-10 16:00:25 -04:00
Sam Kleinman fc9ba51b28 Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
(cherry picked from commit f23f6e1089)
2022-06-10 16:00:25 -04:00
tycho garen e38d5b7547 overflows
(cherry picked from commit 4c8651026a)
2022-06-10 16:00:25 -04:00
tycho garen f772dccf3b oops 2022-06-10 16:00:19 -04:00
tycho garen 9f910e6a98 cleanup
(cherry picked from commit eddb23b5af)
2022-06-10 15:54:42 -04:00
tycho garen 60484e7a24 update comment
(cherry picked from commit 31bd396c88)
2022-06-10 15:54:42 -04:00
tycho garen 7ed1236dea make const
(cherry picked from commit e3068b50b2)
2022-06-10 15:54:42 -04:00
tycho garen 3674859836 reduce logging level
(cherry picked from commit 4e2bc8f51e)
2022-06-10 15:54:40 -04:00
tycho garen 029e1925cd remove seed flag
(cherry picked from commit 000aa05485)
2022-06-10 15:54:09 -04:00
tycho garen 8019a49037 fix error message
(cherry picked from commit 86db59f53b)
2022-06-10 15:54:05 -04:00
tycho garen 6833ca805d fix small case
(cherry picked from commit 56a91642dc)
2022-06-10 15:53:18 -04:00
tycho garen dfcd59c367 don't gossip inactive peers
(cherry picked from commit cc28ce298f)
2022-06-10 15:53:18 -04:00
tycho garen 45ad693b23 reduce persistent peer max
(cherry picked from commit b213a2766f)
2022-06-10 15:53:18 -04:00
tycho garen cee254e695 p2p: peer store and dialing changes
(cherry picked from commit 9dbb135152)
2022-06-10 15:53:12 -04:00
mergify[bot]andGitHub 0e3a3fe58b p2p: shed peers from store from other networks (backport #8678) (#8681) 2022-06-02 12:15:55 -04:00
Callum WatersandGitHub e8ac37223f pex: align max address thresholds (#8657) 2022-05-31 14:07:25 -04:00
mergify[bot]andGitHub 4ee91663da p2p: reduce ability of SendError to disconnect peers (backport #8597) (#8603) 2022-05-25 04:12:43 -04:00
mergify[bot]andGitHub 2f8483aa85 p2p: remove unused get height methods (backport #8569) (#8571) 2022-05-17 11:32:13 -04:00
mergify[bot]andGitHub 14f0d60f24 p2p: fix setting in con-tracker (#8370) (#8371)
(cherry picked from commit 889341152a)
2022-04-19 23:32:54 -07:00
Callum WatersandGitHub 308d283241 cli: fix reset command for v0.35 (#8259) 2022-04-07 11:24:46 -07:00
M. J. FrombergerandGitHub a6fd04f1be p2p: update polling interval calculation for PEX requests (backport #8106) (#8118)
A manual cherry-pick of 89b4321af2.
2022-03-14 13:01:00 -07:00
Sam KleinmanandGitHub cc88a31a60 p2p: update shim to transfer information about peers (#8047) 2022-03-02 08:43:47 -05:00
mergify[bot]andGitHub 0e08c66926 p2p: plumb rudamentary service discovery to rectors and update statesync (backport #8030) (#8036) 2022-02-28 20:51:47 -08:00
mergify[bot]andGitHub a281c0bbf1 p2p: retry failed connections slightly more aggressively (backport #8010) (#8012) 2022-02-25 13:53:46 -05:00
Sam KleinmanandGitHub a0321633b0 p2p: backport changes in ping/pong tolerances (#8009) 2022-02-25 12:37:11 -05:00
GuiandGitHub 4b565fe58a p2p: always advertise self, to enable mutual address discovery (#7620)
Fixes #7593
2022-01-19 13:46:30 -05:00
b2c4128ac0 build: Make sure to test packages with external tests (backport #7608) (#7635)
* build: Make sure to test packages with external tests (#7608)

The test filter was looking for "TestGoFiles", which does not include tests in
a separate package (e.g., "package foo_test" for "package foo").
This caused several packages not to be tested in CI, including:

  github.com/tendermint/tendermint/abci/client
  github.com/tendermint/tendermint/crypto
  github.com/tendermint/tendermint/crypto/tmhash
  github.com/tendermint/tendermint/internal/eventbus
  github.com/tendermint/tendermint/internal/evidence
  github.com/tendermint/tendermint/internal/inspect
  github.com/tendermint/tendermint/internal/jsontypes
  github.com/tendermint/tendermint/internal/libs/protoio
  github.com/tendermint/tendermint/internal/libs/sync
  github.com/tendermint/tendermint/internal/p2p/pex
  github.com/tendermint/tendermint/internal/pubsub
  github.com/tendermint/tendermint/internal/pubsub/query
  github.com/tendermint/tendermint/internal/pubsub/query/syntax
  github.com/tendermint/tendermint/internal/state/indexer
  github.com/tendermint/tendermint/internal/state/indexer/block/kv
  github.com/tendermint/tendermint/libs/json
  github.com/tendermint/tendermint/libs/log
  github.com/tendermint/tendermint/libs/os
  github.com/tendermint/tendermint/light
  github.com/tendermint/tendermint/light/provider/http
  github.com/tendermint/tendermint/privval/grpc
  github.com/tendermint/tendermint/proto/tendermint/blocksync
  github.com/tendermint/tendermint/proto/tendermint/consensus
  github.com/tendermint/tendermint/proto/tendermint/statesync
  github.com/tendermint/tendermint/rpc/client
  github.com/tendermint/tendermint/rpc/client/mock
  github.com/tendermint/tendermint/test/e2e/tests
  github.com/tendermint/tendermint/test/fuzz/mempool
  github.com/tendermint/tendermint/test/fuzz/p2p/secretconnection
  github.com/tendermint/tendermint/test/fuzz/rpc/jsonrpc/server

Updates #7626 and #7634.

(cherry picked from commit aea428d322)

* Fix build tags to satisfy Go 1.16.

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-01-18 21:36:33 -08:00
657afc7322 Remove now-unused nolint:lll directives. (backport #7356) (#7358)
(cherry picked from commit 76dea94a01)

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2021-11-30 17:01:51 -05:00