Files
tendermint/CHANGELOG_PENDING.md
William Banfield e91bac3565 internal/consensus: proposer waits for previous block time (#7376)
This change introduces the logic to have the proposer wait until the previous block time has passed before attempting to propose the next block.

The change achieves this by by adding a new clause into the enterPropose state machine method. The method now checks if the validator is the proposer and if the validator's clock is behind the previous block's time. If the validator's clock is behind the previous block time, it schedules a timeout to re-enter the enter propose method after enough time has passed.
2021-12-08 11:23:33 -05:00

2.1 KiB

Unreleased Changes

Friendly reminder: We have a bug bounty program.

vX.X

Month, DD, YYYY

Special thanks to external contributors on this release:

BREAKING CHANGES

  • CLI/RPC/Config

    • [rpc] Remove the deprecated gRPC interface to the RPC service. (@creachadair)
    • [blocksync] #7159 Remove support for disabling blocksync in any circumstance. (@tychoish)
    • [mempool] #7171 Remove legacy mempool implementation. (@tychoish)
  • Apps

    • [proto/tendermint] #6976 Remove core protobuf files in favor of only housing them in the tendermint/spec repository.
  • P2P Protocol

    • [p2p] #7035 Remove legacy P2P routing implementation and associated configuration options. (@tychoish)
    • [p2p] #7265 Peer manager reduces peer score for each failed dial attempts for peers that have not successfully dialed. (@tychoish)
  • Go API

    • [pubsub] #7231 Remove unbuffered subscriptions and rework the Subscription interface. (@creachadair)
    • [eventbus] #7231 Move the EventBus type to the internal/eventbus package. (@creachadair)
    • [blocksync] #7046 Remove v2 implementation of the blocksync service and recactor, which was disabled in the previous release. (@tychoish)
    • [p2p] #7064 Remove WDRR queue implementation. (@tychoish)
    • [config] #7169 WriteConfigFile now returns an error. (@tychoish)
    • [libs/service] #7288 Remove SetLogger method on service.Service interface. (@tychosih)
  • Blockchain Protocol

FEATURES

  • [cli] #7033 Add a rollback command to rollback to the previous tendermint state in the event of non-determinstic app hash or reverting an upgrade.
  • [mempool, rpc] #7041 Add removeTx operation to the RPC layer. (@tychoish)
  • [consensus] #7376 Update the proposal logic per the Propose-based timestamps specification so that the proposer will wait for the previous block time to occur before proposing the next block. (@williambanfield)

IMPROVEMENTS

BUG FIXES

  • fix: assignment copies lock value in BitArray.UnmarshalJSON() (@lklimek)