Sourced from github.com/cometbft/cometbft's releases.
v0.38.8
See the CHANGELOG for this release.
Sourced from github.com/cometbft/cometbft's changelog.
v0.38.8
June 27, 2024
This release contains a few bug fixes and performance improvements.
BREAKING CHANGES
[mempool]
Add to theMempool
interface a new methodPreUpdate()
. This method should be called before acquiring the mempool lock, to signal that a new update is coming. Also add toErrMempoolIsFull
a new fieldRecheckFull
. (#3314)BUG FIXES
- [
mempool
] Fix data race when rechecking with async ABCI client (#1827)[consensus]
Fix a race condition in the consensus timeout ticker. Race is caused by two timeouts being scheduled at the same time. (#3092)[types]
Do not batch verify a commit if the validator set keys have different types. (#3195IMPROVEMENTS
[blockstore]
Added peer banning in blockstore (#ABC-0013)[blockstore]
Send correct error message when vote extensions do not align with received packet (#ABC-0014)[config]
Addedrecheck_timeout
mempool parameter to set how much time to wait for recheck responses from the app (only applies to non-local ABCI clients). (#1827)[rpc]
Add a configurable maximum batch size for RPC requests. (#2867).[event-bus]
Remove the debug logs in PublishEventTx, which were noticed production slowdowns. (#2911)[state/execution]
Cache the block hash computation inside of the Block Type, so we only compute it once. (#2924)[consensus/state]
Remove a redundantVerifyBlock
call inFinalizeCommit
(#2928)[p2p/channel]
SpeedupProtoIO
writer creation time, and thereby speedup channel writing by 5%. (#2949)[p2p/conn]
Minor speedup (3%) to connection.WritePacketMsgTo, by removing MinInt calls. (#2952)[internal/bits]
10x speedup creating initialized bitArrays, which speedsup extendedCommit.BitArray(). This is used in consensus vote gossip. (#2959).[blockstore]
Remove a redundantHeader.ValidateBasic
call inLoadBlockMeta
, 75% reducing this time. (#2964)[p2p/conn]
Speedup connection.WritePacketMsgTo, by reusing internal buffers rather than re-allocating. (#2986)- [
blockstore
] Use LRU caches in blockstore, significiantly improving consensus gossip routine performance
... (truncated)
6959205
Release/v0.38.8 (#3350)8ba2e4f
Merge pull request from GHSA-hg58-rf2h-6rr70a89ec1
Update blocksync/pool_test.go065810c
Readded good peer to test007efd7
Removed defers from test4199f27
Remove one thread to make test more compact8a473ca
Update blocksync/pool_test.go872210c
Update blocksync/pool_test.go4cb0df8
Update blocksync/pool_test.go26bda8b
Test assertions have more detail