Skip to content
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

WIP: Add block state and aggregate signature rejections #5140

Merged
Merged
Changes from 2 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
af802a9
WIP: Add block state and aggregate signature rejections
jferrant Sep 4, 2024
33ec49a
Fix miners to not accept multiple messages from the same signer for t…
jferrant Sep 4, 2024
9d622f3
Merge branch 'fix/5136-node-and-miner' of https://github.com/stacks-n…
jferrant Sep 4, 2024
b675546
test: fix `follower_bootup` integration test
obycode Sep 4, 2024
0ec5688
WIP: broken check_proposal reorg timing test
jferrant Sep 4, 2024
f34c741
fix: fix block proposal integration test
jcnelson Sep 4, 2024
fa4cd9b
Merge branch 'fix/5136-node-and-miner' into fix/5136-signer-block-sta…
jcnelson Sep 4, 2024
3047b5f
chore: address PR feedback
jcnelson Sep 4, 2024
457afc0
Merge pull request #5143 from stacks-network/fix/follower_bootup
jbencin Sep 5, 2024
5487b65
chore: fix get_block_state() and add a unit test
jcnelson Sep 5, 2024
5988c65
Add a log to block miner thread stopping
jferrant Sep 5, 2024
9afe92e
chore: documentation
jcnelson Sep 5, 2024
9e5e389
chore: test_debug --> debug
jcnelson Sep 5, 2024
8f2b2e7
chore: raise initiative on miner failure, in case it's due to a new s…
jcnelson Sep 5, 2024
e1d7f6e
chore: log joined miner thread error
jcnelson Sep 5, 2024
bbdfc66
fix: abort signer waiting if the tenure changes, but only after a tim…
jcnelson Sep 5, 2024
bb4fafe
Merge branch 'fix/5136-signer-block-state-tracking' of https://github…
jcnelson Sep 5, 2024
ce80740
Merge branch 'develop' of https://github.com/stacks-network/stacks-bl…
jcnelson Sep 5, 2024
9f69e03
Merge branch 'develop' into fix/5136-signer-block-state-tracking
jcnelson Sep 5, 2024
7f0a1f3
fix: fix failing follower bootup test
jcnelson Sep 5, 2024
343dc31
Fix check_proposal_reorg_ok test
jferrant Sep 5, 2024
5833a8f
add allow_reorg_locally_accepted_block_if_globally_rejected_succeeds …
jferrant Sep 5, 2024
7d6902f
Fix test description
jferrant Sep 5, 2024
baee54e
chore: fix potential deadlock condition by avoiding a transaction whe…
jcnelson Sep 5, 2024
d9f4a4d
Merge branch 'fix/5136-signer-block-state-tracking' of https://github…
jcnelson Sep 5, 2024
db88eb8
chore: fmt
jcnelson Sep 5, 2024
7217594
Add locally_rejected_nlocks_overriden_by_global_acceptance test
jferrant Sep 5, 2024
cfd2c37
Do not store blocks that fail the initial checks
jferrant Sep 5, 2024
2be05f9
Fix broken build from prior db change commit
jferrant Sep 6, 2024
1a1b076
chore: remove .mined_blocks and replace it with .last_mined_block, an…
jcnelson Sep 6, 2024
ac4c047
Merge branch 'fix/5136-signer-block-state-tracking' of https://github…
jcnelson Sep 6, 2024
a19af95
Add reorg_locally_accepted_blocks_across_tenures_succeeds integration…
jferrant Sep 6, 2024
025cc0d
fix: ignore rejections for other blocks in sign coordinator
obycode Sep 6, 2024
ed3486c
Add miner_recovers_when_broadcast_block_delay_across_tenures_occurs
jferrant Sep 6, 2024
6673113
Merge pull request #5150 from stacks-network/fix/ignore-rejections-fo…
jferrant Sep 6, 2024
55d2f32
fix: make a stackerdb shrink if its signer list becomes smaller than …
jcnelson Sep 6, 2024
bb40d1a
fix: get miner_recovers_when_broadcast_block_delay_across_tenures_occ…
jcnelson Sep 6, 2024
17aa1c4
chore: a NetworkResult has data if it has an uploaded Nakamoto block
jcnelson Sep 8, 2024
835e39b
fix: compiler error (forgot self.)
jcnelson Sep 8, 2024
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
1 change: 1 addition & 0 deletions testnet/stacks-node/src/tests/nakamoto_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3111,6 +3111,7 @@ fn follower_bootup() {
wait_for_first_naka_block_commit(60, &commits_submitted);

let mut follower_conf = naka_conf.clone();
follower_conf.node.miner = false;
follower_conf.events_observers.clear();
follower_conf.node.working_dir = format!("{}-follower", &naka_conf.node.working_dir);
follower_conf.node.seed = vec![0x01; 32];
Expand Down