This release contains several bugfixes and improvements, such as the stacks-signer binary will no longer accept messages for blocks from different reward cycles.
This release is compatible with chainstate directories from 3.x.x.x.x.
Everyone running the stacks-signer
binary is strongly encouraged to upgrade to this release.
For signers, there is an additional configuration change that is recommended for this upgrade.
This change configures your signer to allow tenure extensions after 2 minutes of idle time, aligning with the behavior of the majority of other signers.
In the stacks-signer config TOML file, set the following value
tenure_idle_timeout_secs = 120
The version of stacks-signer compatible with this release is 3.1.0.0.3.0, available at: https://github.com/stacks-network/stacks-core/releases/tag/signer-3.1.0.0.3.0.
Added
- Add
tenure_timeout_secs
to the miner for determining when a time-based tenure extend should be attempted. - Added configuration option
block_proposal_max_age_secs
under[connection_options]
to prevent processing stale block proposals - Introduced the
block_proposal_max_age_secs
configuration option for signers, enabling them to automatically ignore block proposals that exceed the specified age in seconds.
Changed
- The RPC endpoint
/v3/block_proposal
no longer will evaluate block proposals more thanblock_proposal_max_age_secs
old - When a transaction is dropped due to replace-by-fee, the
/drop_mempool_tx
event observer payload now includesnew_txid
, which is the transaction that replaced this dropped transaction. When a transaction is dropped for other reasons,new_txid
isnull
. #5381 - Nodes will assume that all PoX anchor blocks exist by default, and stall initial block download indefinitely to await their arrival (#5502)
- Improvements to the stale signer cleanup logic: deletes the prior signer if it has no remaining unprocessed blocks in its database
- Signers now listen to new block events from the stacks node to determine whether a block has been successfully appended to the chain tip
Fixed
- Signers no longer accept messages for blocks from different reward cycles (#5662)
What's Changed
- [signer] Add block_proposal_max_age_secs signer configuration to drop old proposals without further processing by @jferrant in #5549
- fix: New lifetime warnings in Rust 1.83 by @jbencin in #5564
- chore: fix typo in log by @obycode in #5565
- Remove signers older than the current reward cycle if they have no more blocks to process by @jferrant in #5562
- Adding changelog for 3.1.0.0.2.x by @wileyj in #5571
- merge Release/3.1.0.0.2 to master by @wileyj in #5572
- fix: set epoch to 3.1 in Clarity DB by @obycode in #5561
- Fix p2p ci no tests errors by @jferrant in #5574
- feat: Add
--config
and--network
flags to severalstacks-inspect
subcommands by @jbencin in #5551 - Feat/miner self issued time based tenure extend by @jferrant in #5573
- Fix/ci no tests full genesis test by @jferrant in #5576
- Add clippy to CI by @jferrant in #5582
- Add SignerEvent::NewNakamotoBlock and do not update a block to GloballyAccepted until event arrives by @jferrant in #5516
- Fix/5502 by @jcnelson in #5544
- fix: remove DNS names from
peer_host
field by @obycode in #5604 - Fix/naka unlock events by @zone117x in #5597
- Add clarity and libsigner to clippy CI and fix all clippy warnings by @jferrant in #5592
- Do not process block validation responses for the wrong reward cycle by @jferrant in #5612
- Add stacks-common to clippy CI and fix errors by @jferrant in #5598
- Fix profile-sqlite feature build errors by @jferrant in #5623
- test: fix bitcoin test yaml by @obycode in #5603
- Fix all redundant_field_name warnings in stackslib by @jferrant in #5627
- update peer host to parse dns instead of ip by @ASuciuX in #5533
- Chore/standardized sample dir by @wileyj in #5594
- Fix unused_unit clippy warnings in stackslib by @jferrant in #5631
- feat: Nakamoto block support for
stacks-insepct try-mine
by @jbencin in #5584 - Fix all redundant-static-lifetimes clippy warnings by @jferrant in #5625
- chore: Remove unused deps found by
cargo udeps
by @jbencin in #5632 - chore: Apply Clippy lint
iter_with_drain
by @jbencin in #5641 - feat: event emitter will now emit new_txid in-case a tx replaces another by @hstove in #5605
- Fix clippy::inconsistent_digit_grouping warnings in stacks lib by @jferrant in #5636
- Fix clippy::needless_lifetimes warnings throughout stackslib by @jferrant in #5638
- Fix zero_prefixed_literal warnings by @jferrant in #5639
- Remove unnecessary casts throughout stackslib by @jferrant in #5624
- Filter out phantom txs from test_observer::parse_transaction fn by @jferrant in #5635
- Fix validation queue race condition in block approval vs validaiton submission by @jferrant in #5497
- Fix string to empty string comparison and len zero warnings by @jferrant in #5628
- chore: Apply new lints in Clippy 1.78 (version 2) by @jbencin in #5643
- chore: Apply Clippy lint
borrow_deref_ref
by @jbencin in #5648 - Fix mistaken 0 as u32 replacement with 0_u8 in delegate_stx.rs serial… by @jferrant in #5653
- Fix/use cargo workspace by @rdeioris in #5658
- Merge master to develop (3.1.0.0.2) via intermediary branch by @wileyj in #5607
- docs: update testnet configs with new epoch heights by @CharlieC3 in #5672
- Fix clippy::bind_instead_of_map, clippy::map_flatten, clippy::*map_identity throughout stackslib by @jferrant in #5652
- [node] Add "connections.block_proposal_max_age_secs" and ignore block proposals more than the configured amount by @jferrant in #5552
- Increased mining timeout in mock_mining and partial_tenure_fork integration tests by @rdeioris in #5670
- Fix/bitcoind forking test signerdb state by @jferrant in #5674
- fix: do not enable
testing
feature instacks-common
by @obycode in #5675 - Release Signer Alongside Node by @BowTiedDevOps in #5495
- Do not accept signatures, block proposals, or block responses for blocks from different reward cycles by @jferrant in #5662
- Revert "Release Signer Alongside Node" by @wileyj in #5681
- Update versioning for stacks-signer changelog in release branch by @wileyj in #5709
Full Changelog: 3.1.0.0.2...3.1.0.0.3