tycho garen
dc1157df14
fix lint
2022-06-16 09:44:30 -04:00
tycho garen
b1ef61a893
make metrics match across versions
2022-06-16 09:32:53 -04:00
tycho garen
db39cfbfb2
cr feedback
2022-06-16 09:21:43 -04:00
tycho garen
a95efeb41b
fix lint
2022-06-15 11:43:11 -04:00
tycho garen
40fb981f98
comments
2022-06-15 11:36:46 -04:00
Sam Kleinman
796688e7d7
Apply suggestions from code review
...
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com >
2022-06-15 11:36:11 -04:00
tycho garen
053ecd9b8c
comments mostly
2022-06-15 10:36:04 -04:00
tycho garen
95bc03927c
connection tracking
2022-06-15 10:06:22 -04:00
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
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
979a6a1b13
p2p: accept should not abort on first error ( #8759 )
2022-06-14 19:12:53 -04:00
Sam Kleinman
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
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
c5b181686f
Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change
2022-06-14 06:59:31 -04:00
tycho garen
9a0d4407d7
add metrics
2022-06-14 06:59:20 -04:00
Jeeyong Um
a4cf8939b8
mempool: fix error message check in test ( #8750 )
2022-06-14 06:54:35 -04:00
Jeeyong Um
21bbbe3e2a
mempool: fix typos in test ( #8746 )
2022-06-14 10:50:55 +02:00
Marko
82907c84fa
sink/psql: json marshal instead of proto ( #8637 )
...
Storing transaction records as JSON makes it simpler for clients of the index.
2022-06-13 10:20:54 -07: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
Sam Kleinman
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
Sam Kleinman
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
William Banfield
75a12ea0c6
consensus: switch timeout message to be debug and clarify meaning ( #8694 )
2022-06-03 13:46:10 -04:00
Sergio Mena
ce6485fa70
Remove the abci responses type - prune legacy responses ( #8673 )
...
Closes #8069
* Type `ABCIResponses` was just wrapping type `ResponseFinalizeBlock`. This patch removes the former.
* Did some renaming to avoid confusion on the data structure we are working with.
* We also remove any stale ABCIResponses we may have in the state store at the time of pruning
**IMPORTANT**: There is an undesirable side-effect of the unwrapping. An empty `ResponseFinalizeBlock` yields a 0-length proto-buf serialized buffer. This was not the case with `ABCIResponses`. I have added an interim solution, but open for suggestions on more elegant ones.
2022-06-02 19:13:08 +00:00
Sam Kleinman
666d93338a
p2p: shed peers from store from other networks ( #8678 )
2022-06-02 11:14:25 -04:00
Sergio Mena
56fc80d66d
abci: Move app_hash parameter from Commit to FinalizeBlock ( #8664 )
...
* Removed from proto
* make proto-gen
* make build works
* make some tests pass
* Fix TestMempoolTxConcurrentWithCommit
* Minor change
* Update abci/types/types.go
* Update internal/state/execution.go
* Update test/e2e/app/state.go
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* Updated changelog and `UPGRADING.md`
* Fixed abci-cli tests, and doc
* Addressed @cmwaters' comments
* Addressed @cmwaters' comments, part 2
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2022-06-01 18:53:10 +02:00