Skip to content

Feat/signer state machine rollout #6215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 41 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
71d5ec6
Add update_time to SignerStateMachine and update determine_global_sta…
jferrant Jun 18, 2025
da79017
Add helper functions to retrieve inner content info and update logging
jferrant Jun 18, 2025
40fec2f
Add capitulate_miner_view_timeout and check on every pass of process_…
jferrant Jun 18, 2025
ac55a8a
Add burn_block_consensus_hash to signer state machine updates table a…
jferrant Jun 18, 2025
4b5019f
Properly handle miner pubkey
jferrant Jun 18, 2025
3d88fe1
WIP: move chainstate logic to sep mods for v1 and v2 implementations
jferrant Jun 20, 2025
25e8085
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jun 20, 2025
a84c597
Add GLOBAL_SIGNER_STATE_ACTIVATION_VERSION and make SortitionState::n…
jferrant Jun 20, 2025
0d44833
Fix build errors in stacks node tests
jferrant Jun 20, 2025
de1ea74
Fix bitcoin_reorg_extended_tenure
jferrant Jun 23, 2025
b5bdfb6
Fix mark_miner_as_invalid_if_reorg_is_rejected due to capitulation ti…
jferrant Jun 23, 2025
ea69d33
Fix reorging_signers_capitulate_to_nonreorging_signers_during_tenure_…
jferrant Jun 23, 2025
21f1e18
Should reevaluate blocks that are rejected with NoSignerConsensus
jferrant Jun 23, 2025
04d69df
Fix race condition in idle_tenure_extend_active_mining
jferrant Jun 23, 2025
4d70d38
Increase timeout in bitcoin_reorg_extended_tenure
jferrant Jun 24, 2025
b776d9f
Add issue number to ChainExpectStacksTenureChange::apply race condition
jferrant Jun 24, 2025
748238a
Fix allow_reorg_within_first_proposal_burn_block_timing_secs_scenario
jferrant Jun 24, 2025
1f26838
Send update after capitulating viewpoint
jferrant Jun 24, 2025
760e11a
Upgrade SUPPORTED_SIGNER_PROTOCOL_VERSION to 2 and add StateMachineUp…
jferrant Jun 24, 2025
77577e9
Fix a bunch of tests
jferrant Jun 25, 2025
c0a3741
Fix block_proposal_rejection by changing reject_reason to ConsensusHa…
jferrant Jun 25, 2025
a348c80
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jun 25, 2025
c804052
Fix reorg_locally_accepted_blocks_across_tenures_fails
jferrant Jun 25, 2025
1a5776d
Add multiversion test using feature gated flag build-signer-v3-1-00-13
jferrant Jun 26, 2025
fd7bdcd
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jun 26, 2025
ed89aa5
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jun 27, 2025
ce31f70
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jun 30, 2025
9eacdef
Cargo fmt after bad merge
jferrant Jun 30, 2025
7b68a6d
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jun 30, 2025
c504a33
CRC: Remove StateMachineUpdateContentBase and cleanup SignerDb
jferrant Jul 1, 2025
01937ec
Fix build error
jferrant Jul 1, 2025
a971450
CRC: Add SortitionStateVersion, replace v3-1-00-13 with v3-1-0-0-13, …
jferrant Jul 1, 2025
5f9238b
Cargo fmt
jferrant Jul 1, 2025
8a8c650
CRC: add config.supported_signer_protocol_version and allow it to be …
jferrant Jul 2, 2025
47fb15b
Since downgraded tests, revert reject reasons
jferrant Jul 2, 2025
4205a87
Fix regr_use_block_header_pk
jferrant Jul 2, 2025
2d36bd9
CRC: remove UpdateTime
jferrant Jul 2, 2025
7e32f96
CRC: remove unnecessary std::cmp::max for local and global received time
jferrant Jul 2, 2025
30505d5
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jul 2, 2025
1b1a57a
Fix build errors due to bad merge mixed with accidental stash
jferrant Jul 2, 2025
49c52df
Revert test changes to non_blocking_minority_confgiured_to_favour_pre…
jferrant Jul 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"BITCOIND_TEST": "1"
},
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
"files.eol": "\n"
"files.eol": "\n",
"rust-analyzer.cargo.features": ["build-signer-v3-1-0-0-13"],
}
210 changes: 187 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions libsigner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ tiny_http = "0.12"
mutants = "0.0.3"
rand_core = { workspace = true }
rand = { workspace = true }
stacks-common = { path = "../stacks-common", features = ["testing"] }


[dependencies.serde_json]
version = "1.0"
Expand Down
Loading
Loading