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
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 and GitHub
a4cf8939b8
mempool: fix error message check in test ( #8750 )
2022-06-14 06:54:35 -04:00
Jeeyong Um and GitHub
21bbbe3e2a
mempool: fix typos in test ( #8746 )
2022-06-14 10:50:55 +02:00
Marko and GitHub
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
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
William Banfield and GitHub
75a12ea0c6
consensus: switch timeout message to be debug and clarify meaning ( #8694 )
2022-06-03 13:46:10 -04:00
Sergio Mena and GitHub
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 and GitHub
666d93338a
p2p: shed peers from store from other networks ( #8678 )
2022-06-02 11:14:25 -04:00
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
Sam Kleinman and GitHub
d2ca0b868d
consensus: gossip catchup sleeping protocol ( #8652 )
2022-06-01 10:17:17 +00:00
Sam Kleinman and GitHub
bc24ae4642
rpc: deprecate/updates to broadcast tx ( #8624 )
2022-05-26 08:28:28 -04:00
Jasmina Malicevic and GitHub
cb9722c2b0
abci: strip mempoolerror from responsechectx ( #8620 )
...
* abci:mempoolError from ResponseCheckTx
* responseCheckTx returns an error if Tendermint decides not to accept an app after CheckTx
*updated spec, upgrading.md and changelog.md
2022-05-26 11:18:27 +02:00
Callum Waters and GitHub
b0ec8a0ea7
mempool: migrate rechecktx to be a consensus parameter ( #8514 )
2022-05-25 23:57:23 +02:00
Jasmina Malicevic and GitHub
4c857a7ed2
abci: remove unused fields from CheckTXResponse (part 1) ( #8605 )
...
abci: Removed Info, Log, Events and GasUsed from ResponseCheckTx.
spec: Updated info on ResponseCheckTx to reflect field removal.
2022-05-25 23:06:16 +02: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
William Banfield and GitHub
43313e9b85
abci++: add proto fields for enabling vote extensions ( #8587 )
...
This pull requests adds the protocol buffer field for the `ABCI.VoteExtensionsEnableHeight` parameter. This proto field is threaded throughout all of the relevant places where consensus params are used and referenced.
This PR also adds validation of the consensus param updates. Previous consensus param changes didn't depend on _previous_ versions of the params, so this change adds a method for validating against the old params as well.
closes : #8453
2022-05-23 18:23:23 +00:00
William Banfield and GitHub
0cceadf4d4
abci++: add consensus parameter logic to control vote extension require height ( #8547 )
...
This PR makes vote extensions optional within Tendermint. A new ConsensusParams field, called ABCIParams.VoteExtensionsEnableHeight, has been added to toggle whether or not extensions should be enabled or disabled depending on the current height of the consensus engine. Related to: #8453
2022-05-20 17:46:52 -04:00