Skip to content

Releases: stacks-network/stacks-core

Release 3.1.0.0.7

27 Feb 18:12
d015471
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in the stacks-node binary, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

The version of stacks-signer compatible with this release is 3.1.0.0.7.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.7.0.

Added

  • Add disable_retries mode for events_observer disabling automatic retry on error

Changed

  • Implement faster cost tracker for default cost functions in Clarity
  • By default, miners will wait for a new tenure to start for a configurable amount of time after receiving a burn block before
    submitting a block commit. This will reduce the amount of RBF transactions miners are expected to need.
  • Add weight threshold and percentages to StackerDBListener logs
  • Signer will not allow reorg if more than one block in the current tenure has already been globally approved

What's Changed

Full Changelog: 3.1.0.0.6...3.1.0.0.7

Release signer-3.1.0.0.7.0

27 Feb 18:12
d015471
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in the stacks-node binary, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

Changed

  • Add new reject codes to the signer response for better visibility into why a block was rejected.
  • When allowing a reorg within the reorg_attempts_activity_timeout_ms, the signer will now watch the responses from other signers and if >30% of them reject this reorg attempt, then the signer will mark the miner as invalid, reject further attempts to reorg and allow the previous miner to extend their tenure.

Fixed

  • The signer runloop no longer relies on pubkey reports from the SignerDB event system. This previously led to improper proposal rejections via #5858.

What's Changed

Full Changelog: 3.1.0.0.6...signer-3.1.0.0.7.0

Release 3.1.0.0.6

14 Feb 20:13
037f020
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in the stacks-node binary, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

The version of stacks-signer compatible with this release is 3.1.0.0.6.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.6.0.

Added

  • The BlockProposal StackerDB message serialization struct now includes a server_version string, which represents the version of the node that the miner is using. (#5803)
  • Add vrf_seed to the /v3/sortitions rpc endpoint

Changed

  • Miner will stop waiting for signatures on a block if the Stacks tip advances (causing the block it had proposed to be invalid).
  • Logging improvements:
    • P2P logs now includes a reason for dropping a peer or neighbor
    • Improvements to how a PeerAddress is logged (human readable format vs hex)

Fixed

  • Error responses to /v2/transactions/fees are once again expressed as JSON (#4145).

What's Changed

  • Merge 3.1.0.0.5 to develop by @wileyj in #5798
  • Add default version to version_string function by @hstove in #5399
  • CI: Generating the e2e test matrix by @kantai in #5763
  • Fix: well-formed JSON error responses on /v2/fees/transaction by @jcnelson in #5793
  • chore: extend the default block_proposal_timeout to 4 hours by @obycode in #5768
  • CI: disable mutants on PRs by @kantai in #5809
  • Add reorg_attempts_activity_timeout_ms config option and tenure_activity table to track miner activity by @jferrant in #5755
  • Fix flake: shadow recovery by @kantai in #5808
  • Fix: Wait until in nakamoto to shutdown 2.x block downloader #5676 by @jcnelson in #5735
  • Adding block replay script to contrib/tools folder by @wileyj in #5804
  • Feat/vrf seed in get sortition rpc endpoint by @hugocaillard in #5772
  • feat: stop waiting for signatures if the chain tip advances by @obycode in #5801
  • chore: Apply Clippy lints derivable_impls, eq_op, and expect_fun_call by @jbencin in #5773
  • Release Signer Alongside Node by @BowTiedDevOps in #5756
  • Fix int_plus_one warnings by @jferrant in #5626
  • Add DropReason and DropPeer structs to pass reason string to logs about Dropping a Neighbor by @jferrant in #5720
  • feat: add versioned and backwards-compatible server version to block proposal by @hstove in #5803
  • fix: signerDB index improvements by @hstove in #5811
  • feat: add build-time git info by @hstove in #5579
  • feat: add tenure_extend_buffer_secs signer config option by @obycode in #5816
  • Issue tenure extend if incoming miner fails to mine by @jferrant in #5805
  • Update release docs/dockerfile fixes by @wileyj in #5824
  • fix: update versions.toml after merge by @hstove in #5826
  • Add port to DropPeer by @jferrant in #5838

Full Changelog: 3.1.0.0.5...3.1.0.0.6

Release signer-3.1.0.0.6.0

14 Feb 20:13
037f020
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in the stacks-node binary, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

The version of stacks-signer compatible with this release is 3.1.0.0.6.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.6.0.

Added

  • Introduced the reorg_attempts_activity_timeout_ms configuration option for signers which is used to determine the length of time after the last block of a tenure is confirmed that an incoming miner's attempts to reorg it are considered valid miner activity.
  • Add signer configuration option tenure_idle_timeout_buffer_secs to specify the number of seconds of buffer the signer will add to its tenure extend time that it sends to miners. The idea is to allow for some clock skew between the miner and signers, preventing the case where the miner attempts to tenure extend too early.

Changed

  • Increase default block_proposal_timeout_ms from 10 minutes to 4 hours. Until #5729 is implemented, there is no value in rejecting a late block from a miner, since a late block is better than no block at all.
  • Signers no longer view any block proposal by a miner in their DB as indicative of valid miner activity.
  • Various index improvements to the signer's database to improve performance.

What's Changed

  • Merge 3.1.0.0.5 to develop by @wileyj in #5798
  • Add default version to version_string function by @hstove in #5399
  • CI: Generating the e2e test matrix by @kantai in #5763
  • Fix: well-formed JSON error responses on /v2/fees/transaction by @jcnelson in #5793
  • chore: extend the default block_proposal_timeout to 4 hours by @obycode in #5768
  • CI: disable mutants on PRs by @kantai in #5809
  • Add reorg_attempts_activity_timeout_ms config option and tenure_activity table to track miner activity by @jferrant in #5755
  • Fix flake: shadow recovery by @kantai in #5808
  • Fix: Wait until in nakamoto to shutdown 2.x block downloader #5676 by @jcnelson in #5735
  • Adding block replay script to contrib/tools folder by @wileyj in #5804
  • Feat/vrf seed in get sortition rpc endpoint by @hugocaillard in #5772
  • feat: stop waiting for signatures if the chain tip advances by @obycode in #5801
  • chore: Apply Clippy lints derivable_impls, eq_op, and expect_fun_call by @jbencin in #5773
  • Release Signer Alongside Node by @BowTiedDevOps in #5756
  • Fix int_plus_one warnings by @jferrant in #5626
  • Add DropReason and DropPeer structs to pass reason string to logs about Dropping a Neighbor by @jferrant in #5720
  • feat: add versioned and backwards-compatible server version to block proposal by @hstove in #5803
  • fix: signerDB index improvements by @hstove in #5811
  • feat: add build-time git info by @hstove in #5579
  • feat: add tenure_extend_buffer_secs signer config option by @obycode in #5816
  • Issue tenure extend if incoming miner fails to mine by @jferrant in #5805
  • Update release docs/dockerfile fixes by @wileyj in #5824
  • fix: update versions.toml after merge by @hstove in #5826
  • Add port to DropPeer by @jferrant in #5838

Full Changelog: 3.1.0.0.5...signer-3.1.0.0.6.0

[DRAFT] Release 3.1.0.0.6-rc1

14 Feb 02:59
11912b6
Compare
Choose a tag to compare
Pre-release
Merge pull request #5826 from stacks-network/fix/versions-file

fix: update versions.toml after merge

[DRAFT] Release signer-3.1.0.0.6.0-rc1

14 Feb 03:00
11912b6
Compare
Choose a tag to compare
Pre-release
Merge pull request #5826 from stacks-network/fix/versions-file

fix: update versions.toml after merge

Release 3.1.0.0.5

04 Feb 01:52
513dbc5
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in the stacks-node binary, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

The version of stacks-signer compatible with this release is 3.1.0.0.5.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.5.0.

Added

  • Add miner configuration option tenure_extend_cost_threshold to specify the percentage of the tenure budget that must be spent before a time-based tenure extend is attempted
  • Add dry_run configuration option to stacks-signer config toml. Dry run mode will
    run the signer binary as if it were a registered signer. Instead of broadcasting
    StackerDB messages, it logs INFO messages. Other interactions with the stacks-node
    behave normally (e.g., submitting validation requests, submitting finished blocks). A
    dry run signer will error out if the supplied key is actually a registered signer.

Changed

  • Miner will include other transactions in blocks with tenure extend transactions (#5760)
  • Add block_rejection_timeout_steps to miner configuration for defining rejections-based timeouts while waiting for signers response (#5705)
  • Miner will not issue a tenure extend until at least half of the block budget has been spent (#5757)

Fixed

  • Miners who restart their nodes immediately before a winning tenure now correctly detect that
    they won the tenure after their nodes restart (#5750).

What's Changed

  • chore: don't log the contract source on deploy error by @obycode in #5736
  • chore: Apply Clippy vec_init_then_push, map_clone, map_entry, and iter_* lints by @jbencin in #5656
  • Test: attempt to reduce flakiness in miner-forking test by @kantai in #5722
  • chore: Apply Clippy lint redundant_clone by @jbencin in #5713
  • Fix clippy::needless_borrow throughout stackslib by @jferrant in #5651
  • fix: cargo clippy-stacks errors by @jbencin in #5746
  • fixed race condition in tests assuming TEST_EVENT_OBSERVER_SKIP_RETRY… by @rdeioris in #5669
  • chore: Apply Clippy lint match_like_matches_macro by @jbencin in #5744
  • Apply clippy::unnecesary_to_owned and clippy::unwrap_or_default fixes throughout stacks core by @jferrant in #5741
  • chore: Apply Clippy lint manual_inspect by @jbencin in #5748
  • chore(stacks-common): Remove unused imports and enable warning by @jbencin in #5633
  • chore: Apply Clippy lint collection_is_never_used by @jbencin in #5654
  • feat: allow other transactions with tenure extends by @obycode in #5760
  • fix: always send pending block validation after receiving a block validation result by @hstove in #5766
  • feat: implement dry-run mode for signer by @kantai in #5680
  • deps: fix crate vulnerabilities by @rex4539 in #5730
  • Fix: better win detection on restart by @kantai in #5752
  • Test: fix some test flake in partial_tenure_forking by @kantai in #5769
  • feat: do not issue a time-based tenure extend earlier than needed by @obycode in #5787
  • fix: Disable flaky test flash_blocks_on_epoch_3 by @jbencin in #5785
  • Test: Refactor block waits by @kantai in #5784
  • chore: Apply Clippy lints single_match and redundant_pattern_matching by @jbencin in #5740
  • Feat/block rejections timeout heuristic by @rdeioris in #5731
  • update changelog for 3.1.0.0.5 by @wileyj in #5791

New Contributors

Full Changelog: 3.1.0.0.4...3.1.0.0.5

Release signer-3.1.0.0.5.0

04 Feb 00:52
513dbc5
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in the stacks-node binary, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

The version of stacks-signer compatible with this release is 3.1.0.0.5.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.5.0.

Added

  • Add miner configuration option tenure_extend_cost_threshold to specify the percentage of the tenure budget that must be spent before a time-based tenure extend is attempted
  • Add dry_run configuration option to stacks-signer config toml. Dry run mode will
    run the signer binary as if it were a registered signer. Instead of broadcasting
    StackerDB messages, it logs INFO messages. Other interactions with the stacks-node
    behave normally (e.g., submitting validation requests, submitting finished blocks). A
    dry run signer will error out if the supplied key is actually a registered signer.

Changed

  • Miner will include other transactions in blocks with tenure extend transactions (#5760)
  • Add block_rejection_timeout_steps to miner configuration for defining rejections-based timeouts while waiting for signers response (#5705)
  • Miner will not issue a tenure extend until at least half of the block budget has been spent (#5757)

Fixed

  • Miners who restart their nodes immediately before a winning tenure now correctly detect that
    they won the tenure after their nodes restart (#5750).

What's Changed

  • chore: don't log the contract source on deploy error by @obycode in #5736
  • chore: Apply Clippy vec_init_then_push, map_clone, map_entry, and iter_* lints by @jbencin in #5656
  • Test: attempt to reduce flakiness in miner-forking test by @kantai in #5722
  • chore: Apply Clippy lint redundant_clone by @jbencin in #5713
  • Fix clippy::needless_borrow throughout stackslib by @jferrant in #5651
  • fix: cargo clippy-stacks errors by @jbencin in #5746
  • fixed race condition in tests assuming TEST_EVENT_OBSERVER_SKIP_RETRY… by @rdeioris in #5669
  • chore: Apply Clippy lint match_like_matches_macro by @jbencin in #5744
  • Apply clippy::unnecesary_to_owned and clippy::unwrap_or_default fixes throughout stacks core by @jferrant in #5741
  • chore: Apply Clippy lint manual_inspect by @jbencin in #5748
  • chore(stacks-common): Remove unused imports and enable warning by @jbencin in #5633
  • chore: Apply Clippy lint collection_is_never_used by @jbencin in #5654
  • feat: allow other transactions with tenure extends by @obycode in #5760
  • fix: always send pending block validation after receiving a block validation result by @hstove in #5766
  • feat: implement dry-run mode for signer by @kantai in #5680
  • deps: fix crate vulnerabilities by @rex4539 in #5730
  • Fix: better win detection on restart by @kantai in #5752
  • Test: fix some test flake in partial_tenure_forking by @kantai in #5769
  • feat: do not issue a time-based tenure extend earlier than needed by @obycode in #5787
  • fix: Disable flaky test flash_blocks_on_epoch_3 by @jbencin in #5785
  • Test: Refactor block waits by @kantai in #5784
  • chore: Apply Clippy lints single_match and redundant_pattern_matching by @jbencin in #5740
  • Feat/block rejections timeout heuristic by @rdeioris in #5731
  • update changelog for 3.1.0.0.5 by @wileyj in #5791

New Contributors

Full Changelog: 3.1.0.0.4...signer-3.1.0.0.5.0

Release 3.1.0.0.4

23 Jan 20:37
43d4ee9
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in both the stacks-signer and the stacks-node binaries, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

This is a required upgrade for miners and signers

The version of stacks-signer compatible with this release is 3.1.0.0.4.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.4.0.

Added

  • The stacks-node miner now performs accurate tenure-extensions in certain bitcoin block production
    cases: when a bitcoin block is produced before the previous bitcoin block's Stacks tenure started.
    Previously, the miner had difficulty restarting their missed tenure and extending into the new
    bitcoin block, leading to 1-2 bitcoin blocks of missed Stacks block production.
  • The event dispatcher now includes consensus_hash in the /new_block and /new_burn_block payloads. (#5677)
  • When a new block proposal is received while the signer is waiting for an existing proposal to be validated, the signer will wait until the existing block is done validating before submitting the new one for validating. (#5453)
  • Introduced two new prometheus metrics:
  • stacks_signer_block_validation_latencies_histogram: the validation_time_ms reported by the node when validating a block proposal
  • stacks_signer_block_response_latencies_histogram: the "end-to-end" time it takes for the signer to issue a block response

Changed

  • When a miner reorgs the previous tenure due to a poorly timed block, it can now continue to build blocks on this new chain tip (#5691)

What's Changed

  • Fix useless-vec warnings throughout stackslib by @jferrant in #5629
  • chore: add allow(clippy::needless_as_bytes) for some Clarity codecs by @kantai in #5678
  • feat: prevent multiple block proposal evals by @hstove in #5453
  • feat: include consensus_hash in emitted events by @hstove in #5677
  • chore: add consensus hash to signer's new proposal log by @obycode in #5685
  • Fix get_latest_block_proposal function to return an err if no block proposals in list by @jferrant in #5689
  • Fix clippy::unnecessary_sort_by throughout stacks core by @jferrant in #5703
  • Fix clippy::unnecessary_unwrap throughout stacks core by @jferrant in #5701
  • Fix: explicit burnchain checks in miner thread by @kantai in #5717
  • [Signer] Make any miner's block proposal that passes initial checks count towards miner activity/validity by @jferrant in #5686
  • chore: update default idle timeout to 120s by @obycode in #5706
  • fix: disable tests::epoch_25::microblocks_disabled by @obycode in #5715
  • Fix miner_forking test by @jferrant in #5707
  • Fix collapsible_else_if clippy warnings in stackslib by @jferrant in #5630
  • Release 3.1.0.0.3 to master by @obycode in #5721
  • Fix clippy::redundant_closure throughout stackslib by @jferrant in #5645
  • Fix clippy::useless_conversions throughout stacks core by @jferrant in #5700
  • fix: Flaky integration test simple_neon_integration by @jbencin in #5726
  • Fix flakiness in forked_tenure_is_ignored by @kantai in #5725
  • Master -> develop by @obycode in #5724
  • Don't re-run tests on push by @obycode in #5727
  • Fix clippy::unnecessary_operation throughout stacks core by @jferrant in #5702
  • Fix clippy::needless_borrowed_ref throughout by @jferrant in #5693
  • Fix clippy::unnecessary_lazy_evaluations throughout stacks core by @jferrant in #5695
  • Fix clippy::unnecessary_mut_passed throughout by @jferrant in #5698
  • Fix clippy::unnecessary_literal_unwrap throughout stacks core by @jferrant in #5696
  • feat: record validation and end-to-end response time in signer metrics by @hstove in #5664
  • fix: increase timeout for waiting for signer set calculation by @obycode in #5716
  • fix: prevent flaky check for responses by only checking threshold by @hstove in #5719
  • Fix: correct burn view for miner block broadcast by @jcnelson in #5515
  • Fix clippy::unnecessary_fold throughout stacks core by @jferrant in #5694
  • Ensure miner builds on its own blocks when reorging due to badly timed blocks by @obycode in #5691
  • fix: moving and adding to unreleased changelog by @hstove in #5732
  • chore: Apply Clippy lint needless_collect by @jbencin in #5697
  • chore: Apply Clippy format string lints by @jbencin in #5723
  • chore: Apply Clippy set_contains_or_insert by @jbencin in #5699
  • chore(clarity): Remove unused imports and enable warning by @jbencin in #5660
  • Test flake: global_acceptance_depends_on_block_announcement by @kantai in #5733
  • Chore/add clippy-stacks alias by @jferrant in #5734
  • Refactor: StacksAddress and PrincipalData cleanup by @jcnelson in #5739

Full Changelog: 3.1.0.0.3...3.1.0.0.4

Release signer-3.1.0.0.4.0

23 Jan 19:55
43d4ee9
Compare
Choose a tag to compare

This release contains several bugfixes and improvements in both the stacks-signer and the stacks-node binaries, ensuring more consistent block production.
This release is compatible with chainstate directories from 3.x.x.x.x.

This is a required upgrade for miners and signers

The version of stacks-node compatible with this release is 3.1.0.0.4, available at: https://github.com/stacks-network/stacks-core/releases/tag/3.1.0.0.4.

Added

  • The stacks-node miner now performs accurate tenure-extensions in certain bitcoin block production
    cases: when a bitcoin block is produced before the previous bitcoin block's Stacks tenure started.
    Previously, the miner had difficulty restarting their missed tenure and extending into the new
    bitcoin block, leading to 1-2 bitcoin blocks of missed Stacks block production.
  • The event dispatcher now includes consensus_hash in the /new_block and /new_burn_block payloads. (#5677)
  • When a new block proposal is received while the signer is waiting for an existing proposal to be validated, the signer will wait until the existing block is done validating before submitting the new one for validating. (#5453)
  • Introduced two new prometheus metrics:
  • stacks_signer_block_validation_latencies_histogram: the validation_time_ms reported by the node when validating a block proposal
  • stacks_signer_block_response_latencies_histogram: the "end-to-end" time it takes for the signer to issue a block response

Changed

  • When a miner reorgs the previous tenure due to a poorly timed block, it can now continue to build blocks on this new chain tip (#5691)

What's Changed

  • Fix useless-vec warnings throughout stackslib by @jferrant in #5629
  • chore: add allow(clippy::needless_as_bytes) for some Clarity codecs by @kantai in #5678
  • feat: prevent multiple block proposal evals by @hstove in #5453
  • feat: include consensus_hash in emitted events by @hstove in #5677
  • chore: add consensus hash to signer's new proposal log by @obycode in #5685
  • Fix get_latest_block_proposal function to return an err if no block proposals in list by @jferrant in #5689
  • Fix clippy::unnecessary_sort_by throughout stacks core by @jferrant in #5703
  • Fix clippy::unnecessary_unwrap throughout stacks core by @jferrant in #5701
  • Fix: explicit burnchain checks in miner thread by @kantai in #5717
  • [Signer] Make any miner's block proposal that passes initial checks count towards miner activity/validity by @jferrant in #5686
  • chore: update default idle timeout to 120s by @obycode in #5706
  • fix: disable tests::epoch_25::microblocks_disabled by @obycode in #5715
  • Fix miner_forking test by @jferrant in #5707
  • Fix collapsible_else_if clippy warnings in stackslib by @jferrant in #5630
  • Release 3.1.0.0.3 to master by @obycode in #5721
  • Fix clippy::redundant_closure throughout stackslib by @jferrant in #5645
  • Fix clippy::useless_conversions throughout stacks core by @jferrant in #5700
  • fix: Flaky integration test simple_neon_integration by @jbencin in #5726
  • Fix flakiness in forked_tenure_is_ignored by @kantai in #5725
  • Master -> develop by @obycode in #5724
  • Don't re-run tests on push by @obycode in #5727
  • Fix clippy::unnecessary_operation throughout stacks core by @jferrant in #5702
  • Fix clippy::needless_borrowed_ref throughout by @jferrant in #5693
  • Fix clippy::unnecessary_lazy_evaluations throughout stacks core by @jferrant in #5695
  • Fix clippy::unnecessary_mut_passed throughout by @jferrant in #5698
  • Fix clippy::unnecessary_literal_unwrap throughout stacks core by @jferrant in #5696
  • feat: record validation and end-to-end response time in signer metrics by @hstove in #5664
  • fix: increase timeout for waiting for signer set calculation by @obycode in #5716
  • fix: prevent flaky check for responses by only checking threshold by @hstove in #5719
  • Fix: correct burn view for miner block broadcast by @jcnelson in #5515
  • Fix clippy::unnecessary_fold throughout stacks core by @jferrant in #5694
  • Ensure miner builds on its own blocks when reorging due to badly timed blocks by @obycode in #5691
  • fix: moving and adding to unreleased changelog by @hstove in #5732
  • chore: Apply Clippy lint needless_collect by @jbencin in #5697
  • chore: Apply Clippy format string lints by @jbencin in #5723
  • chore: Apply Clippy set_contains_or_insert by @jbencin in #5699
  • chore(clarity): Remove unused imports and enable warning by @jbencin in #5660
  • Test flake: global_acceptance_depends_on_block_announcement by @kantai in #5733
  • Chore/add clippy-stacks alias by @jferrant in #5734
  • Refactor: StacksAddress and PrincipalData cleanup by @jcnelson in #5739

Full Changelog: 3.1.0.0.3...signer-3.1.0.0.4.0