Skip to content

Releases

v2.0.0

Choose a tag to compare

@lklimek lklimek released this 26 Nov 14:11
0b5069b

First stable release of the 2.0 line. This section covers every change since 1.8.2; the 2.0.0-dev.N prerelease notes list the same changes per prerelease. Breaking Changes and Migration Notes are the complete list; UPGRADING.md has detailed steps for selected changes.

Breaking Changes

  • Consensus: new CONSENSUS_VERSION_2 (proposer liveness and round skipping); once a chain enables it, only nodes running 2.0.0 or later can follow it, so every node must upgrade before activation (#1572)
  • ABCI: Tenderdash calls VerifyVoteExtension for the vote extensions of a commit, with an empty validator_pro_tx_hash, after ProcessProposal and before it saves the block; an application that does not return ACCEPT for a valid commit stops block production, so deploy application support first (#1520)
  • RPC: broadcast_tx, broadcast_tx_sync and broadcast_tx_commit return the original CheckTx rejection, not "tx already exists in cache", for resubmitted invalid transactions when keep-invalid-txs-in-cache is enabled (#1530)
  • RPC: broadcast_evidence returns ErrEvidenceDisabled while the committed evidence.max_bytes is zero (#1547)

Migration Notes

  • Invalid [p2p] configuration prevents startup: an incoming-connection-window below 1ms (including an explicit zero), a max-packet-msg-payload-size of zero or less, max-outgoing-connections above max-connections, negative rates or durations, and allowlist-only without persistent or bootstrap peers; the defaults pass (#1550)
  • The PostgreSQL event sink and tx-index.psql-conn are removed; indexer = ["psql"] or any other unsupported indexer prevents startup, so select kv or null; a leftover psql-conn key is ignored and existing PostgreSQL data is untouched (#1553)
  • The CLI waits up to --shutdown-timeout (default 30s) for cleanup after a termination signal and exits with an error on timeout; the Docker entrypoint now waits for that shutdown, so give docker stop, orchestrators and supervisors a grace period longer than 30s (Docker's default is 10s) to avoid a SIGKILL during cleanup (#1513, #1607)
  • On a chain at consensus version 2, a validator using a socket or gRPC remote signer cannot sign proposer heartbeats or round skip votes, so the other validators skip its rounds that wait for transactions; the Dash Core and file signers sign both (#1572)
  • consensus.wal-skip-rounds-to-last has no effect on a chain at consensus version 2 (#1572)
  • consensus.peer-query-maj23-sleep-duration (default 2s) also paces round state re-announcements and the redelivery of votes and commits a peer has not acknowledged; raising it slows recovery from lost consensus messages (#1598, #1599, #1624)
  • When a peer's outbound queue is full, consensus state-channel messages to that peer are dropped instead of blocking delivery to other peers; drops are counted in p2p_router_channel_queue_dropped_msgs with ch_id="32" (#1625)
  • New metrics consensus_proposer_heartbeats_sent, consensus_proposer_heartbeats_received, consensus_proposer_silences and consensus_round_skips; new consensus_block_sync_apply_stage_duration stage decode and state_block_apply_stage_duration stage process_proposal_prevalidate (#1572, #1595, #1616)
  • consensus_commit_verify_failures gains reason="extensions_rejected" and also counts commits refused in block sync and the commit built from the node's own precommits (#1520)
  • ABCI: Tenderdash may call ProcessProposal again at the same height, for another round or for the same round and block, and finalizes only the round processed last; ExtendVote must be free of side effects and return the vote extensions that commit-level VerifyVoteExtension accepts (#1520)
  • ABCI: on a chain at consensus version 2, a proposer that waits for transactions sends heartbeats only while the application answers Echo, on every backend that receives PrepareProposal, within the heartbeat interval; otherwise the other validators skip its idle rounds (#1572)
  • ABCI: an ExtendVote response with DEFAULT vote extensions makes the node panic with a clear error before it signs the vote; such a response previously crashed the signer or produced votes peers rejected (#1565)
  • Go API: types.PrivValidator gains SignProposerHeartbeat and SignRoundSkipVote; signer implementations outside this repository must add them (#1572)
  • Go API: exported database APIs use Tenderdash's own libs/db interfaces; custom providers must update imports and Batch/Iterator return types (#1551, #1566)
  • Go API: services embedding libs/service.BaseService get an OnStart context that is cancelled before OnStop; callers must Stop then Wait before releasing resources, and TimeoutTicker implementations must provide Wait (#1513)
  • Go API: the generated type blocksync.BlockResponse.Block is []byte (the serialized block) instead of *types.Block; the wire format is unchanged (#1595)
  • The Go module path stays github.com/dashpay/tenderdash, so Go tooling does not resolve v2.x tags; Go consumers pin commit pseudo-versions

Dash Platform Integration

  • Drive: applications built on rs-tenderdash-abci accept ^major.minor of the ABCI version they link; Drive 5.1.0-rc.1 links ABCI 1.5, so it accepts Tenderdash 2.0.0 and rejects 1.8.x (ABCI 1.4.0)
  • Drive 5.1.0-rc.1 handles the commit-level VerifyVoteExtension call; upgrade Drive and Tenderdash together, as dashmate does
  • ABCI stays 1.5.0 with the commit-level VerifyVoteExtension call (#1520), because Drive, the only ABCI application, handles it from 5.1.0-rc.1; the version handshake does not check this, as an application built for ABCI 1.4 (^1.4) accepts 1.5.0
  • dashmate: set the Tenderdash image to dashpay/tenderdash:2.0.0; the configuration dashmate 5.1.0-rc.1 generates passes the new validation (kv indexer, no psql-conn, valid [p2p] limits), and it stops the container with a 40s grace period
  • Before activation: on a chain at consensus version 0 or 1, 2.0.0 nodes keep block protocol 14, pass the peer compatibility check of 1.8.x nodes (it compares the block protocol, not the P2P protocol) and do not send the new consensus messages, so a network upgrades node by node
  • Activation: Drive enables consensus version 2 with Platform protocol version 15, through a consensus parameter update that applies from the next height; every validator and full node must run 2.0.0 before that, and a node cannot return to 1.8.x afterwards

Protocol Versions

  • ABCI 1.5.0 (was 1.4.0): consensus params add CONSENSUS_VERSION_2 and the proposer_heartbeat/proposer_silence timeouts (#1572)
  • P2P protocol 11 (was 10): new ProposerHeartbeat, RoundSkipVote and RoundSkipCertificate state-channel messages, sent only on chains at consensus version 2 (#1572)
  • Block protocol stays 14: no block, vote or commit format changes; BlockResponse.block changes from an embedded block message to its bytes, which is the same encoding on the wire (#1595); at consensus version 2 the proposer liveness timeouts are hashed into the header's ConsensusHash, which is unchanged at versions 0 and 1 (#1572)

Features

  • Hand a silent proposer's idle round to the next proposer; activated by consensus version 2, which every node must support before a chain enables it (#1572)
  • Follow live chain evidence settings (#1547)
  • Return the cached CheckTx rejection for resubmitted transactions (#1530)
  • Add --shutdown-timeout to tenderdash start (#1513)

Bug Fixes

  • Validate a fresh block's proposer before prevoting (#1527)
  • Validate a proposed block against the committed state before ProcessProposal, so a block that does not continue the chain gets a nil prevote without reaching the application; WAL replay judges proposal timeliness again (#1616)
  • Never extend a relock precommit without ProcessProposal for the round (#1523)
  • Propose a freshly built block without a POL round (#1564)
  • Verify commit vote extensions before a commit is taken (#1520)
  • Replay blocks with their historical quorum (#1567)
  • Re-announce round state to each peer periodically, so a peer that missed an announcement still receives proposals (#1598)
  • Stop a previous-height precommit from marking the peer's current-height votes as received (#1601)
  • Resend same-round votes the peer never acknowledged (#1599)
  • Resend a commit the peer has not acknowledged (#1624)
  • Wait for consensus and block sync workers to stop before the node closes its stores on shutdown (#1513)
  • Keep healthy block sync peers during slow local application (#1548)
  • Schedule block sync peers by active response service (#1549)
  • Serve block sync blocks as the bytes they were committed with, so blocks with unknown fields or non-canonical encoding can be synced (#1595)
  • Hand over from block sync to consensus at the chain tip despite peers claiming heights they do not serve (#1618)
  • Enforce peer penalties and validate network settings (#1550)
  • Stop router dialing when the context deadline expires (#1588)
  • Trim the simple priority queue on every push (#1596)
  • Stop a congested peer from stalling consensus round-state gossip to other peers (#1625)
  • Stop a JSON-RPC batch whose caller has disconnected (#1610)
  • Stop the RPC WebSocket client from resubscribing subscription IDs as queries after a reconnect, which stalled event delivery (#1623)
  • Wait for Tenderdash to exit after the Docker entrypoint forwards a signal (#1607)

Refactor

  • Own GoLevelDB and memory database adapters (#1551, #1566)
  • Remove the PostgreSQL event sink (#1553)

Documentation

  • Add a source-derived consensus protocol specification (#1562)
  • Document proposer liveness and round skipping (#1606)
  • Migrate generated documentation to mdBook (#1585)
  • Align consensus references and guides with current behavior (#1586)
  • Version releases by RPC, ABCI, P2P/consensus and block-format contracts (#1603)
  • ...
Read more

v2.0.0-dev.3

v2.0.0-dev.3 Pre-release
Pre-release

Choose a tag to compare

@lklimek lklimek released this 17 Nov 19:07
831bbea

Migration Notes

  • consensus.peer-query-maj23-sleep-duration (default 2s) also paces round state re-announcements and the redelivery of votes and commits a peer has not acknowledged; raising it slows recovery from lost consensus messages (#1598, #1599, #1624)
  • When a peer's outbound queue is full, consensus state-channel messages to that peer are dropped instead of blocking delivery to other peers; drops are counted in router_channel_queue_dropped_msgs with ch_id="32" (#1625)

Protocol Versions

  • ABCI stays 1.5.0, P2P protocol stays 11 and block protocol stays 14: no message, field or block-format changes; nodes send existing consensus messages more often, and receivers ignore round state copies that do not advance (#1598, #1599, #1624)

Bug Fixes

  • Re-announce round state to each peer periodically, so a peer that missed an announcement still receives proposals (#1598)
  • Stop a previous-height precommit from marking the peer's current-height votes as received (#1601)
  • Resend same-round votes the peer never acknowledged (#1599)
  • Resend a commit the peer has not acknowledged (#1624)
  • Stop a congested peer from stalling consensus round-state gossip to other peers (#1625)

Documentation

  • Document running targeted tests with BLS cgo flags (#1622)

Miscellaneous Tasks

  • Assign merged pull requests to their release line's milestone (#1619)

Release artifacts

  • Docker image: dashpay/tenderdash:2.0.0-dev.3 (published by the Docker workflow; prereleases do not move latest, 1 or 1.8)
  • No prebuilt binaries are attached to this prerelease; the tag is not GPG-signed

v2.0.0-dev.2

v2.0.0-dev.2 Pre-release
Pre-release

Choose a tag to compare

@lklimek lklimek released this 13 Nov 06:47
52f5fb2

Migration Notes

  • The Docker entrypoint waits for Tenderdash to finish its shutdown after forwarding a signal, so --shutdown-timeout (default 30s) now applies in containers; give docker stop/orchestrators a longer grace period than Docker's 10s default to avoid a SIGKILL during cleanup (#1607)
  • The generated Go type blocksync.BlockResponse.Block is []byte (the serialized block) instead of *types.Block; the wire format is unchanged (#1595)
  • New consensus_block_sync_apply_stage_duration stage decode and state_block_apply_stage_duration stage process_proposal_prevalidate (#1595, #1616)

Protocol Versions

  • ABCI stays 1.5.0, P2P protocol stays 11 and block protocol stays 14: BlockResponse.block changes from an embedded block message to its bytes, which is the same encoding on the wire (#1595)

Bug Fixes

  • Validate a proposed block against the committed state before ProcessProposal, so a block that does not continue the chain gets a nil prevote without reaching the application; WAL replay judges proposal timeliness again (#1616)
  • Serve block sync blocks as the bytes they were committed with, so blocks with unknown fields or non-canonical encoding can be synced (#1595)
  • Hand over from block sync to consensus at the chain tip despite peers claiming heights they do not serve (#1618)
  • Stop a JSON-RPC batch whose caller has disconnected (#1610)
  • Wait for Tenderdash to exit after the Docker entrypoint forwards a signal (#1607)

Documentation

  • Version releases by RPC, ABCI, P2P/consensus and block-format contracts (#1603)
  • Document proposer liveness and round skipping (#1606)

Build

  • Update Go to 1.27.4 (#1617)
  • Bump golang.org/x/sync to 0.25.0 (#1614)
  • Bump golang.org/x/sys to 0.50.0 (#1613)
  • Bump github.com/oasisprotocol/oasis-core/go to 0.2604.0 (#1615)

Miscellaneous Tasks

  • Make dev the only development branch (#1608)
  • Check Markdown links on every PR and fix dead links (#1609)
  • Update CI actions (#1611, #1612)

Release artifacts

  • Docker image: dashpay/tenderdash:2.0.0-dev.2 (published by the Docker workflow; prereleases do not move latest, 1 or 1.8)
  • No prebuilt binaries are attached to this prerelease; the tag is not GPG-signed

v2.0.0-dev.1

v2.0.0-dev.1 Pre-release
Pre-release

Choose a tag to compare

@lklimek lklimek released this 09 Nov 20:44
683b8ac

Breaking Changes

  • Consensus: new CONSENSUS_VERSION_2 (proposer liveness and round skipping); once a chain enables it, only nodes running this version or later can follow it, so every node must upgrade before activation (#1572)
  • RPC: broadcast_tx* return the original CheckTx rejection, not "Tx already exists in cache", for resubmitted invalid transactions when keep-invalid-txs-in-cache is enabled (#1530)
  • RPC: broadcast_evidence returns ErrEvidenceDisabled while the committed evidence.max_bytes is zero (#1547)

Migration Notes

  • types.PrivValidator gains SignProposerHeartbeat and SignRoundSkipVote; signer implementations outside this repository must add them (#1572)
  • Exported database APIs use Tenderdash's own libs/db interfaces; custom providers must update imports and Batch/Iterator return types (#1551)
  • The PostgreSQL event sink and tx-index.psql-conn are removed; select kv or null indexing explicitly (#1553)
  • Invalid P2P configuration prevents startup; an explicit zero incoming-connection-window is rejected (#1550)
  • ExtendVote responses with DEFAULT vote extensions are rejected with a clear error; they previously crashed the signer or produced votes peers rejected (#1565)
  • The CLI waits up to --shutdown-timeout (default 30s) for cleanup after cancellation; supervisors need a longer termination grace period, and embedded service callers must Stop then Wait (#1513)
  • The Go module path stays github.com/dashpay/tenderdash, so Go tooling does not resolve v2.x tags; Go consumers pin commit pseudo-versions

Protocol Versions

  • ABCI 1.5.0: consensus params add CONSENSUS_VERSION_2 and the proposer_heartbeat/proposer_silence timeouts (#1572)
  • P2P protocol 11: new ProposerHeartbeat, RoundSkipVote and RoundSkipCertificate state-channel messages, sent only on chains at consensus version 2 (#1572)
  • Block protocol stays 14

Features

  • Hand a silent proposer's idle round to the next proposer; activated by consensus version 2, which every node must support before a chain enables it (#1572)
  • Follow live chain evidence settings (#1547)

Bug Fixes

  • Validate a fresh block's proposer before prevoting (#1527)
  • Never extend a relock precommit without ProcessProposal for the round (#1523)
  • Propose a freshly built block without a POL round (#1564)
  • Verify commit vote extensions before a commit is taken (#1520)
  • Replay blocks with their historical quorum (#1567)
  • Enforce peer penalties and validate network settings (#1550)
  • Stop router dialing when the context deadline expires (#1588)
  • Trim the simple priority queue on every push (#1596)
  • Keep healthy block sync peers during slow local application (#1548)
  • Schedule block sync peers by active response service (#1549)

Refactor

  • Own GoLevelDB and memory database adapters (#1551)
  • Remove the PostgreSQL event sink (#1553)

Documentation

  • Add a source-derived consensus protocol specification (#1562)
  • Migrate generated documentation to mdBook (#1585)
  • Align consensus references and guides with current behavior (#1586)

Testing

  • Exercise block sync during slow local application (#1560)
  • Wait for goroutines before first-commit cleanup (#1507)

Build

  • Use supported Alpine 3.24 Docker bases (#1591)
  • Bump google.golang.org/grpc to 1.85.0 (#1580)
  • Bump github.com/fxamacker/cbor/v2 to 2.10.0 (#1539, #1579)
  • Bump github.com/prometheus/common to 0.73.1 (#1542, #1581)
  • Bump github.com/prometheus/client_golang to 1.25.0 (#1538)
  • Bump github.com/oasisprotocol/oasis-core/go to 0.2603.0 (#1531)
  • Bump github.com/bufbuild/buf to 1.75.0 (#1556, #1570)

Miscellaneous Tasks

  • Replace the release script and GoReleaser workflow with the Dash Platform release process (#1552)
  • Align dev checks and Docker release versions; manual Docker runs build only existing release tags (#1594)
  • Build and test on Ubuntu 26.04 (#1590)
  • Pin Docker workflow actions to commit SHAs and restrict token permissions (#1589)
  • Replace Janitor with native PR concurrency (#1592)
  • Migrate proto lint to buf-action (#1561)
  • Pin golangci-lint to v2.14.0 and migrate to gomodguard_v2 (#1524)
  • Run Claudius reviews after green tests, on push or label (#1512, #1516, #1525, #1526)
  • Align the PR template with the TL;DR / user story / scenario structure (#1529)
  • Update CI actions and PR Hygiene pins (#1505, #1508, #1510, #1511, #1514, #1522, #1528, #1533, #1557, #1571)

Release Artifacts

  • Docker image: dashpay/tenderdash:2.0.0-dev.1. As a prerelease, it does not move the latest or other stable tags.
  • No binaries are attached to this prerelease.
  • The release tag is not signed.

Full Changelog: v1.8.2...v2.0.0-dev.1

v1.8.2

Choose a tag to compare

@lklimek lklimek released this 30 Oct 15:01
dd596db

This is an emergency security release that disables MPTCP listeners by default to mitigate CVE-2026-98432, updates Tenderdash to Go 1.27.3, and updates vulnerable dependencies.

Update is strongly recommended.

What's Changed

  • chore(deps): update Go to 1.27.3 by @lklimek in #1575
  • fix: disable MPTCP listeners by default by @lklimek in #1573
  • fix(deps): update vulnerable Go dependencies by @lklimek in #1574
  • chore(release): update changelog and bump version to 1.8.2 by @lklimek in #1576

Full Changelog: v1.8.1...v1.8.2

v1.8.1

Choose a tag to compare

@lklimek lklimek released this 23 Sep 12:03
5cabb7a

This is a maintenance release, containing several dependency updates and bug fixes.

Update is recommended.

What's Changed

  • build(deps): Bump golang.org/x/crypto from 0.56.0 to 0.57.0 by @dependabot[bot] in #1472
  • build(deps): Bump golang.org/x/term from 0.45.0 to 0.46.0 by @dependabot[bot] in #1471
  • build(deps): Bump golang.org/x/net from 0.58.0 to 0.59.0 by @dependabot[bot] in #1470
  • build(deps): Bump github.com/bufbuild/buf from 1.72.0 to 1.73.0 by @dependabot[bot] in #1469
  • ci: re-pin PR Hygiene to read each pull request once by @shumkov in #1480
  • ci: wake PR Hygiene only for a comment that can change the answer by @shumkov in #1481
  • ci: re-pin PR Hygiene to clone this repository only on its sweep by @shumkov in #1482
  • ci: re-pin PR Hygiene to require a green build before asking a human by @shumkov in #1483
  • ci: PR Hygiene is the merge gate; CODEOWNERS carries no rules by @shumkov in #1486
  • ci: re-pin PR Hygiene for state labels and /skip-bots by @shumkov in #1487
  • fix(consensus): preserve catch-up allowance for rejected votes by @lklimek in #1479
  • fix(blocksync): preserve in-flight finalization during handover by @lklimek in #1488
  • fix(rpc): bound asynchronous transaction broadcasts by @lklimek in #1478
  • ci: re-pin PR Hygiene for the checklist in the description by @shumkov in #1495
  • ci: re-pin PR Hygiene so a bot line says everything about that bot by @shumkov in #1496
  • ci: re-pin PR Hygiene to ask a flaky read once more by @shumkov in #1497
  • ci: re-pin PR Hygiene for one name for the author limit by @shumkov in #1498
  • fix(statesync): unblock chunk delivery during sync teardown by @lklimek in #1489
  • fix(statesync): correlate consensus parameter replies with pending requests by @lklimek in #1491
  • fix(p2p): reconnect persistent peers at outgoing capacity by @lklimek in #1490
  • test(e2e): check large transaction batches without assuming order by @lklimek in #1493
  • fix(rpc): allow node startup retry after listener failure by @lklimek in #1494
  • fix(statesync): bound retained snapshot discovery resources by @lklimek in #1492
  • ci: add Claudius AI code review workflow by @lklimek in #1499
  • build(deps): Bump docker/build-push-action from 7.3.0 to 7.4.0 by @dependabot[bot] in #1501
  • build(deps): Bump docker/setup-buildx-action from 4.3.0 to 4.4.1 by @dependabot[bot] in #1502
  • build(deps): Bump github.com/fxamacker/cbor/v2 from 2.9.3 to 2.9.4 by @dependabot[bot] in #1504
  • fix: prevent sync handover and restart failures by @lklimek in #1500
  • chore(release): update changelog and bump version to 1.8.1 by @lklimek in #1506

Full Changelog: v1.8.0...v1.8.1

v1.8.0

Choose a tag to compare

@lklimek lklimek released this 16 Sep 08:24
b277e2c

What's Changed

  • build(deps): Bump docker/login-action from 4.5.2 to 4.6.0 by @dependabot[bot] in #1407
  • chore(deps): bump Go to 1.26.6 by @lklimek in #1417
  • fix(statesync): full-node privval error, backfill failure visibility, docs refresh by @PastaPastaPasta in #1425
  • fix(consensus): bound catch-up block-part resends and restore round timeouts in reactor test by @lklimek in #1418
  • build(deps): Bump docker/setup-buildx-action from 4.2.0 to 4.3.0 by @dependabot[bot] in #1424
  • build(deps): Bump github.com/fxamacker/cbor/v2 from 2.9.2 to 2.9.3 by @dependabot[bot] in #1421
  • build(deps): Bump google.golang.org/grpc from 1.82.1 to 1.83.2 by @dependabot[bot] in #1433
  • build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.12.2 to 2.13.2 by @dependabot[bot] in #1432
  • build(deps): Bump github.com/go-pkgz/jrpc from 0.4.0 to 0.4.2 by @dependabot[bot] in #1423
  • chore(deps): bump Go to 1.27.1 by @lklimek in #1438
  • fix(consensus): block ID validation and proposal handling by @lklimek in #1439
  • fix(consensus): do not apply a commit whose block we no longer hold by @lklimek in #1437
  • fix(consensus): apply late commits for completed blocks by @lklimek in #1441
  • chore: sync v1.7.1-dev.2 into v1.8-dev by @lklimek in #1440
  • build(ci): make the local and CI quality gates actually check what they claim by @lklimek in #1436
  • build(deps): Bump golang.org/x/time from 0.15.0 to 0.16.0 by @dependabot[bot] in #1445
  • build(deps): Bump golang.org/x/crypto from 0.55.0 to 0.56.0 by @dependabot[bot] in #1446
  • build(deps): Bump golang.org/x/sys from 0.47.0 to 0.48.0 by @dependabot[bot] in #1449
  • build(deps): Bump github.com/prometheus/common from 0.70.1 to 0.71.0 by @dependabot[bot] in #1447
  • build(deps): Bump github.com/prometheus/client_model from 0.6.2 to 0.6.3 by @dependabot[bot] in #1448
  • build(deps): Bump golang.org/x/sync from 0.22.0 to 0.23.0 by @dependabot[bot] in #1444
  • ci: replace abandoned github/super-linter fork with upstream, pinned by SHA by @lklimek in #1450
  • fix(statesync): bound backfill backpressure, spare honest peers on extension-count mismatch, patch grpc CVE by @lklimek in #1451
  • fix(consensus): harden remote input handling by @Claudius-Maginificent in #1442
  • chore: merge v1.7-dev into v1.8-dev by @lklimek in #1452
  • perf(blocksync): per-stage apply histograms and an unsafe-no-fsync switch for profiling by @PastaPastaPasta in #1430
  • test(consensus): freeze clocks in vote rate burst tests by @lklimek in #1454
  • fix(consensus): recover committed blocks across stale proposals and round changes by @lklimek in #1415
  • fix(light/proxy)!: require configured WebSocket origins by @lklimek in #1453
  • fix(consensus): don't propose at historical heights after a bad block-sync handover by @lklimek in #1416
  • fix(statesync): wire the never-connected state sync metrics into /status by @PastaPastaPasta in #1426
  • perf(blocksync): verify a commit once, not again as the next block's LastCommit by @PastaPastaPasta in #1427
  • feat(ci): route PR reviews through shared ownership policy by @shumkov in #1455
  • ci: re-pin the shared review engine and drop the redundant input by @shumkov in #1461
  • ci: re-pin PR Hygiene and adopt the suite name by @shumkov in #1462
  • ci: re-pin PR Hygiene by @shumkov in #1463
  • test(consensus): deflake TestWALRoundsSkipper by @lklimek in #1457
  • ci(e2e): cut avoidable setup time from the e2e workflow by @lklimek in #1459
  • ci: re-pin PR Hygiene by @shumkov in #1465
  • fix(p2p): initialize peer routing before publishing readiness by @lklimek in #1464
  • fix(e2e): restore state sync and fix the p2p startup race that slow the test networks by @lklimek in #1460
  • ci: restore the Go cache in build, govulncheck and check-generated by @lklimek in #1458
  • ci: re-pin PR Hygiene by @shumkov in #1467
  • feat(abci): let the application ask for the next block without waiting for transactions by @QuantumExplorer in #1466
  • ci: re-pin PR Hygiene to cut its GitHub request volume by @shumkov in #1468
  • ci: re-pin PR Hygiene so the sweep reaches every pull request by @shumkov in #1473
  • ci: re-pin PR Hygiene so its runs queue instead of cancelling by @shumkov in #1474
  • chore(release): update changelog and bump version to 1.8.0 by @lklimek in #1477

New Contributors

Full Changelog: v1.7.0...v1.8.0

v1.7.0

Choose a tag to compare

@shumkov shumkov released this 17 Aug 23:45
072f651

Tenderdash 1.7.0 is a security release. It bounds the work an unauthenticated
peer can force on a node, hardens the p2p, blocksync and state-sync paths
against malformed and hostile input, and fixes several ways a peer could brick
or stall a node.

This is a minor release, not a patch. Two configuration values change
behaviour in ways that can stop a node from starting or quietly cost it votes.
Both affect only hand-written config.toml files — configs generated by
dashmate take the new defaults and need no action. Read
UPGRADING.md before upgrading.

Operator-visible changes

  • [consensus] verification-rate-limit now has a minimum. It must be 0
    (disabled) or at least 1 + MaxVoteExtensions, currently 33. A config
    setting it between 1 and 32 fails validation and the node will not start.
    Raise it to at least 33, or remove the line to take the default of 300.
  • [consensus] peer-vote-rate-limit changed default and units. It counted
    messages per second and defaulted to 100; it now counts verification work per
    second and defaults to 600. A config still carrying = 100 keeps the number
    under the new meaning and will silently drop votes during gossip and catch-up.
    Remove the line, or set it in the new units.
  • Commit validation is stricter. Commit.ValidateBasic now rejects commits
    whose threshold vote extensions carry a type not defined in the protobuf
    schema. A block store or WAL written by an earlier version that contains such
    a record may require a resync — see UPGRADING.md for how each case surfaces.
    This also means a node that has stored commits carrying a vote-extension type
    defined by a future release cannot roll back to this one.
  • The unsafe commit-timeout override knobs are gone.
    unsafe-commit-timeout-override and unsafe-bypass-commit-timeout-override
    no longer exist. A config still setting them now reports a startup warning
    naming where the setting went, instead of being silently ignored.
  • Metrics: consensus_vote_gate_fail_open is removed; several are added.
    See docs/nodes/metrics.md. Prometheus alert rules and
    a Grafana dashboard ship under docs/dos-observability/.

Protocol compatibility

P2PProtocol, BlockProtocol and ABCISemVer are unchanged. There are no
protobuf or p2p channel changes, so 1.7.0 nodes interoperate with 1.6.x nodes
and a fleet can be upgraded node by node.

Version reporting fix

Builds previously stamped the version against a stale module path, so the
linker silently ignored it and every build reported the fallback version —
1.6.0 images and pre-release images were indistinguishable by tenderdash version. Builds now report their real version.

Validation

The consensus, p2p, blocksync and state-sync changes were reviewed
individually, validated on devnet, and soaked on testnet before release.

See CHANGELOG.md for the complete list of changes.

v1.6.0

Choose a tag to compare

@lklimek lklimek released this 26 Jun 13:06
4cba43f

What's Changed

  • build(deps): Bump github.com/lib/pq from 1.10.9 to 1.11.1 by @dependabot[bot] in #1247
  • build(deps): Bump docker/login-action from 3.6.0 to 3.7.0 by @dependabot[bot] in #1246
  • feat(p2p): allowlist-only limits connection only to allowed nodes by @lklimek in #1248
  • feat(config): better error handling for access denied errors by @lklimek in #1249
  • chore: add AI agent instructions and streamline style guide by @lklimek in #1250
  • doc: adjust CONTRIBUTING and similar documentation with AGENTS by @lklimek with @Copilot in #1252
  • chore(deps): update Go to 1.25.7 and bump dependencies by @lklimek in #1258
  • build(deps): Bump github.com/lib/pq from 1.11.1 to 1.11.2 by @dependabot[bot] in #1253
  • fix(p2p): improve address validation rules by @lklimek in #1245
  • chore(deps): bump grpc, golangci-lint, atomicfile, build-push-action, bls-signatures by @lklimek in #1263
  • build(deps): Bump github.com/bufbuild/buf from 1.65.0 to 1.66.0 by @dependabot[bot] in #1265
  • build(deps): Bump goreleaser/goreleaser-action from 6 to 7 by @dependabot[bot] in #1264
  • build(deps): Bump github.com/adlio/schema from 1.3.9 to 1.4.0 by @dependabot[bot] in #1266
  • build(deps): Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #1268
  • build(deps): Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #1270
  • build(deps): Bump actions/setup-go from 6.2.0 to 6.3.0 by @dependabot[bot] in #1269
  • build(deps): Bump docker/metadata-action from 5 to 6 by @dependabot[bot] in #1275
  • build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.10.1 to 2.11.3 by @dependabot[bot] in #1276
  • build(deps): Bump golang.org/x/sys from 0.41.0 to 0.42.0 by @dependabot[bot] in #1277
  • build(deps): Bump github.com/sasha-s/go-deadlock from 0.3.6 to 0.3.7 by @dependabot[bot] in #1280
  • build(deps): Bump docker/setup-buildx-action from 3.12.0 to 4.0.0 by @dependabot[bot] in #1273
  • build(deps): Bump docker/build-push-action from 6.19.2 to 7.0.0 by @dependabot[bot] in #1271
  • build(deps): Bump docker/login-action from 3.7.0 to 4.0.0 by @dependabot[bot] in #1272
  • build(deps): Bump golang.org/x/time from 0.14.0 to 0.15.0 by @dependabot[bot] in #1281
  • build(deps): Bump github.com/bufbuild/buf from 1.66.0 to 1.66.1 by @dependabot[bot] in #1278
  • build(deps): Bump google.golang.org/grpc from 1.79.1 to 1.79.2 by @dependabot[bot] in #1279
  • build(deps): Bump styfle/cancel-workflow-action from 0.13.0 to 0.13.1 by @dependabot[bot] in #1282
  • build(deps): Bump golang.org/x/term from 0.40.0 to 0.41.0 by @dependabot[bot] in #1285
  • build(deps): Bump golang.org/x/net from 0.51.0 to 0.52.0 by @dependabot[bot] in #1284
  • build: upgrade Go toolchain from 1.25.7 to 1.26.4 by @lklimek in #1287
  • fix(consensus): validate vote validator index against the active validator set by @lklimek in #1329
  • build(deps): Bump google.golang.org/grpc from 1.79.2 to 1.81.1 by @dependabot[bot] in #1326
  • build(deps): Bump golang.org/x/net from 0.52.0 to 0.55.0 by @dependabot[bot] in #1323
  • fix(consensus): guard nil/out-of-range validator lookup in vote index validation by @lklimek in #1331
  • build(deps): Bump docker/login-action from 4.0.0 to 4.2.0 by @dependabot[bot] in #1317
  • build(deps): Bump github.com/fxamacker/cbor/v2 from 2.9.0 to 2.9.2 by @dependabot[bot] in #1305
  • build(deps): Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by @dependabot[bot] in #1319
  • build(deps): Bump golang.org/x/crypto from 0.51.0 to 0.53.0 by @dependabot[bot] in #1325
  • build(deps): Bump docker/build-push-action from 7.0.0 to 7.2.0 by @dependabot[bot] in #1318
  • build(deps): Bump github.com/rs/zerolog from 1.34.0 to 1.35.1 by @dependabot[bot] in #1306
  • build(deps): Bump docker/setup-buildx-action from 4.0.0 to 4.1.0 by @dependabot[bot] in #1320
  • build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.11.3 to 2.12.2 by @dependabot[bot] in #1311
  • build(deps): Bump github.com/bufbuild/buf from 1.66.1 to 1.70.0 by @dependabot[bot] in #1321
  • build(deps): Bump github.com/quic-go/quic-go from 0.59.0 to 0.59.1 in the go_modules group across 1 directory by @dependabot[bot] in #1332
  • ci: add govulncheck vulnerability scanning by @lklimek in #1335
  • fix(types): validate quorum threshold against canonical LLMQ type (#1314) by @lklimek in #1328
  • fix(types): guard nil receiver in ValidatorSet.Size/TotalVotingPower (follow-up to #1331) by @lklimek in #1334
  • refactor: replace creachadair/taskgroup with x/sync/errgroup and ban it by @lklimek in #1333
  • chore(release): fix release.sh bugs and rewrite RELEASES.md by @lklimek in #1336
  • chore(release): update changelog and bump version to 1.6.0-dev.1 by @lklimek in #1337
  • docs: replace dead ethereum/wiki Proof-of-Stake-FAQ link by @lklimek in #1338
  • test: stabilize flaky tests (rate-limit, evidence, privval-tcp) by @lklimek in #1339
  • fix(mempool): guard concurrent access to the tx index by @lklimek in #1341
  • fix(blocksync,p2p,service): fix concurrency bugs behind chronic CI flakes by @lklimek in #1340
  • chore: disable CodeRabbit automatic reviews by @lklimek in #1345
  • build(deps): Bump pgregory.net/rapid from 1.2.0 to 1.3.0 by @dependabot[bot] in #1349
  • build(deps): Bump github.com/prometheus/common from 0.67.5 to 0.68.1 by @dependabot[bot] in #1348
  • build(deps): Bump github.com/oasisprotocol/oasis-core/go from 0.2509.0 to 0.2601.0 by @dependabot[bot] in #1346
  • build(deps): Bump github.com/btcsuite/btcd/btcec/v2 from 2.3.6 to 2.5.0 by @dependabot[bot] in #1351
  • build(deps): Bump github.com/adlio/schema from 1.4.0 to 1.5.0 by @dependabot[bot] in #1350
  • build(deps): Bump golang.org/x/net from 0.55.0 to 0.56.0 by @dependabot[bot] in #1347
  • test: stabilize four flaky CI tests by @lklimek in #1352
  • fix(types): input validation and bounds checks by @lklimek in #1342
  • fix(light): correctness and robustness in client verification by @lklimek in #1353
  • fix(privval,p2p): validate chain ID and reject invalid ephemeral keys by @lklimek in #1344
  • fix(rpc): add input validation and request bounds by @lklimek in #1343
  • fix(state): propagate tx indexer database errors by @lklimek in #1357
  • fix(inspect): remove dead websocket-disconnect eventBus cleanup by @lklimek in #1354
  • fix(blocksync): validate peer block and status responses by @lklimek in #1355
  • fix(light,statesync): format light-provider height errors and document chunk-ID integrity by @lklimek in #1358
  • fix(p2p): bound inbound connection tracking by @lklimek in #1356
  • chore(release): update changelog and bump version to 1.6.0-dev.2 by @lklimek in #1361
  • fix(p2p): restore ABCI IP-based peer filtering dropped in #1248 by @lklimek in #1364
  • feat(release): add --no-wait/--finalize/--non-interactive flags for agent-driven releases by @lklimek in #1360
  • build: remove Windows support (unsupported platform) by @lklimek in https://gi...
Read more

v1.6.0-dev.3

v1.6.0-dev.3 Pre-release
Pre-release

Choose a tag to compare

@lklimek lklimek released this 24 Jun 13:35
957d132

What's Changed

  • fix(p2p): restore ABCI IP-based peer filtering dropped in #1248 by @lklimek in #1364
  • feat(release): add --no-wait/--finalize/--non-interactive flags for agent-driven releases by @lklimek in #1360
  • build: remove Windows support (unsupported platform) by @lklimek in #1363
  • fix(consensus): resend catch-up block parts to prevent lagging-peer wedge by @lklimek in #1365
  • build(deps): Bump github.com/prometheus/common from 0.68.1 to 0.69.0 by @dependabot[bot] in #1370
  • build(deps): Bump actions/checkout from 6 to 7 by @dependabot[bot] in #1368
  • build(deps): Bump github.com/bufbuild/buf from 1.70.0 to 1.71.0 by @dependabot[bot] in #1369
  • build(deps): Bump github.com/opencontainers/runc from 1.3.3 to 1.3.6 in the go_modules group across 1 directory by @dependabot[bot] in #1371
  • fix(consensus,autofile): prevent TempDir cleanup race in TestHandshakeReplayNone by @lklimek in #1367
  • fix(consensus): prevent vote-extension count mismatch from halting consensus (SEC-001) by @lklimek in #1362
  • fix(evidence): make evidence sync resilient to peer-routing race by @lklimek in #1366
  • chore(release): update changelog and bump version to 1.6.0-dev.3 by @lklimek in #1372

Full Changelog: v1.6.0-dev.2...v1.6.0-dev.3