-
Notifications
You must be signed in to change notification settings - Fork 682
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
Fix/5642 #5655
Open
jcnelson
wants to merge
34
commits into
develop
Choose a base branch
from
fix/5642
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix/5642 #5655
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
cedbfd6
feat: add a way to query the highest available tenure
jcnelson 8e283e6
chore: improve documentation on downloader state
jcnelson 93fdd22
chore: report highest available tenure from downloader via NetworkResult
jcnelson b90d5d5
chore: pass through highest available tenure
jcnelson 2429f50
chore: API sync
jcnelson 2b45248
feat: add way to set IBD
jcnelson 6979a64
feat: infer IBD from burnchain IBD and stacks IBD
jcnelson 9331e25
fix: load IBD from globals
jcnelson 6d39033
chore: document pox_sync_wait() better
jcnelson c5f7af5
Merge branch 'develop' into fix/5642
jcnelson b8011da
fix: immediately compute highest-available tenure since available_ten…
jcnelson e1feabe
chore: pass ongoing stacks tenure ID to NetworkResult
jcnelson fb61989
chore: pass highest available tenure from downloader to NetworkResult
jcnelson 4102306
chore: API sync
jcnelson 5049ee4
docs: get_headers_height() is 1-indexed
jcnelson 4506b46
fix: the highest available tenure may be lower than the ongoing stack…
jcnelson 6dabc04
chore: make method private again
jcnelson 4474f2d
chore: expand follower_bootup_simple() to test is_fully_synced flag i…
jcnelson 84658a4
Merge branch 'develop' into fix/5642
jcnelson bd254b7
chore: more structured logging on why a block proposal is rejected
jcnelson f632795
chore: log ibd in debug mode
jcnelson 83aee92
feat: move test flags for stalling and skipping stacks block announce…
jcnelson ed37e67
chore: remove unused ibd variable and don't announce stacks blocks if…
jcnelson b53c4c6
chore: use relayer fault injection logic
jcnelson 08d3028
chore: don't announce a stacks block if fault injection is active
jcnelson b5b6038
chore: log if we're still sync'ing
jcnelson 0f42b62
chore: don't set ibd based on burnchain block download
jcnelson 315c4d8
fix: don't allow tenure b to process until after we've mined the bloc…
jcnelson bdc6b82
Merge branch 'fix/forked-tenure-okay-ci-test' into fix/5642
jcnelson 5ce7295
Merge branch 'fix/use_cargo_workspace' into fix/forked-tenure-okay-ci…
jcnelson 77c2db1
fix: compile issue
jcnelson 2e2e6ef
Merge branch 'fix/forked-tenure-okay-ci-test' into fix/5642
jcnelson 321d890
chore: cargo fmt
jcnelson bad7699
Merge branch 'develop' into fix/5642
jcnelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -618,6 +618,11 @@ impl Signer { | |
"proposed_block_signer_sighash" => %signer_signature_hash, | ||
"proposed_chain_length" => proposed_block.header.chain_length, | ||
"expected_at_least" => last_block_info.block.header.chain_length + 1, | ||
"last_block_info.block.header.consensus_hash" => %last_block_info.block.header.consensus_hash, | ||
"proposed_block_consensus_hash" => %proposed_block_consensus_hash, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a duplicate. |
||
"last_block_info.state" => %last_block_info.state, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment about the |
||
"non_reorgable_block" => non_reorgable_block, | ||
"reorg_timeout_exceeded" => reorg_timeout_exceeded | ||
); | ||
return Some(self.create_block_rejection( | ||
RejectCode::SortitionViewMismatch, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The best practice is not to use
.
s in these keys because systems like Grafana will replace the.
s with_
s.