tycho garen
0b7cfa77a3
add max dialing attempts
2022-06-15 09:31:21 -04:00
tycho garen
487579fac4
Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change
2022-06-15 07:57:21 -04:00
Sam Kleinman and GitHub
51b3f111dc
p2p: fix mconn transport accept test ( #8762 )
...
Fix minor test incongruency missed earlier.
2022-06-14 23:48:48 +00:00
tycho garen
246e6d9154
Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change
2022-06-14 19:16:31 -04:00
Sam Kleinman and GitHub
979a6a1b13
p2p: accept should not abort on first error ( #8759 )
2022-06-14 19:12:53 -04:00
Sam Kleinman and GitHub
bf1cb89bb7
Revert "p2p: self-add node should not error (tendermint#8753)" ( #8757 )
2022-06-14 20:55:10 +00:00
tycho garen
8195c97590
fix up advertise
2022-06-14 16:33:10 -04:00
tycho garen
afae39c5af
actually shuffle peers more
2022-06-14 16:15:20 -04:00
tycho garen
d83dc8931e
rename metrics
2022-06-14 16:04:06 -04:00
tycho garen
c11c88d405
fix merge
2022-06-14 13:00:14 -04:00
Sam Kleinman and GitHub
7971f4a2fc
p2p: self-add node should not error ( #8753 )
2022-06-14 16:45:05 +00:00
tycho garen
720600ef62
update metrics
2022-06-14 09:23:26 -04:00
tycho garen
b01fec9bbf
default metrics to noop
2022-06-14 08:58:40 -04:00
tycho garen
5a71966981
fix test
2022-06-14 08:48:52 -04:00
tycho garen
9a0d4407d7
add metrics
2022-06-14 06:59:20 -04:00
tycho garen
420ae3790e
fix panic
...
(cherry picked from commit 0a0425ae6f )
2022-06-13 12:26:18 -04:00
tycho garen
904390af2c
cleanup peer manager
2022-06-13 10:47:25 -04:00
tycho garen
9abc55f3a0
fix scoring test
2022-06-13 08:56:27 -04:00
tycho garen
930fd7f2be
test: new scoring
2022-06-10 16:57:51 -04:00
tycho garen
9f604fd2ef
comment
2022-06-10 15:39:59 -04:00
1c02758eaf
Update internal/p2p/peermanager.go
...
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com >
2022-06-10 15:17:56 -04:00
f23f6e1089
Update internal/p2p/peermanager.go
...
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com >
2022-06-10 15:17:46 -04:00
tycho garen
4c8651026a
overflows
2022-06-10 12:56:04 -04:00
tycho garen
d6e3cab983
fix tests
2022-06-10 12:47:53 -04:00
tycho garen
eddb23b5af
cleanup
2022-06-10 12:21:23 -04:00
tycho garen
31bd396c88
update comment
2022-06-10 11:53:37 -04:00
tycho garen
e3068b50b2
make const
2022-06-10 11:51:36 -04:00
tycho garen
4e2bc8f51e
reduce logging level
2022-06-10 11:23:14 -04:00
tycho garen
000aa05485
remove seed flag
2022-06-10 08:50:47 -04:00
tycho garen
86db59f53b
fix error message
2022-06-10 08:49:16 -04:00
tycho garen
56a91642dc
fix small case
2022-06-10 07:54:02 -04:00
tycho garen
cc28ce298f
don't gossip inactive peers
2022-06-10 07:39:00 -04:00
tycho garen
b213a2766f
reduce persistent peer max
2022-06-10 07:31:48 -04:00
tycho garen
9dbb135152
p2p: peer store and dialing changes
2022-06-10 07:27:08 -04:00
Sam Kleinman and GitHub
666d93338a
p2p: shed peers from store from other networks ( #8678 )
2022-06-02 11:14:25 -04:00
M. J. Fromberger and GitHub
a988cefe5d
Update generated mocks after #8607 . ( #8612 )
2022-05-25 15:48:56 +00:00
Sam Kleinman and GitHub
d59a53be01
p2p: reduce ability of SendError to disconnect peers ( #8597 )
2022-05-24 11:19:32 -04:00
Sam Kleinman and GitHub
2897b75853
p2p: remove unused get height methods ( #8569 )
2022-05-17 10:56:26 -04:00
William Banfield and GitHub
92811b9153
metrics: transition all metrics to using metricsgen generated constructors. ( #8488 )
...
## What does this change do?
This pull request completes the change to the `metricsgen` metrics. It adds `go generate` directives to all of the files containing the `Metrics` structs.
Using the outputs of `metricsdiff` between these generated metrics and `master`, we can see that there is not a diff between the two sets of metrics when run locally.
```
[william@sidewinder] tendermint[wb/metrics-gen-transition]:. ◆ ./scripts/metricsgen/metricsdiff/metricsdiff metrics_master metrics_generated
[william@sidewinder] tendermint[wb/metrics-gen-transition]:. ◆
```
This change also adds parsing for a `metrics:` key in a field comment. If a comment line begins with `//metrics:` the rest of the line is interpreted to be the metric help text. Additionally, a bug where lists of labels were not properly quoted in the `metricsgen` rendered output was fixed.
2022-05-12 18:39:12 +00:00
Sam Kleinman and GitHub
37287ead94
p2p: remove message type from channel implementation ( #8452 )
2022-05-02 10:52:57 -04:00
Sam Kleinman and GitHub
cf2a00b398
p2p: avoid using p2p.Channel internals ( #8444 )
2022-04-29 17:21:36 -04:00
Sam Kleinman and GitHub
2a58ea3ab2
p2p: use nodeinfo less often ( #8427 )
2022-04-27 21:13:38 +00:00
Sam Kleinman and GitHub
8670678291
p2p: remove support for multiple transports and endpoints ( #8420 )
2022-04-27 14:29:19 -04:00
M. J. Fromberger and GitHub
001449d536
Remove obsolete build tagged patch for net.Pipe. ( #8399 )
...
The p2p/conn library was using a build patch to work around an old issue with
the net.Conn type that has not existed since Go 1.10. Remove the workaround and
update usage to use the standard net.Pipe directly.
2022-04-23 09:57:42 -07:00
Sam Kleinman and GitHub
b5e6cf50d1
abci: Application should return errors errors and nilable response objects ( #8396 )
2022-04-22 20:40:42 -04:00
Sam Kleinman and GitHub
8345dc4f7c
abci: application type should take contexts ( #8388 )
2022-04-22 10:58:01 -04:00
Sam Kleinman and GitHub
efd4f4a40b
cleanup: unused parameters ( #8372 )
2022-04-18 16:45:21 -04:00
Sam Kleinman and GitHub
889341152a
p2p: fix setting in con-tracker ( #8370 )
2022-04-18 15:49:11 -04:00
M. J. Fromberger and GitHub
14f41ac5e3
Fix more broken Markdown links. ( #8271 )
2022-04-07 00:15:20 -07:00
Sam Kleinman and GitHub
d153388446
p2p: inject nodeinfo into router ( #8261 )
2022-04-06 14:02:07 -04:00