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

[signer] Add block_proposal_max_age_secs signer configuration to drop old proposals without further processing #5549

Merged
merged 7 commits into from
Dec 12, 2024
1 change: 1 addition & 0 deletions stacks-signer/src/v0/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ impl Signer {
{
// Block is too old. Drop it with a warning. Don't even bother broadcasting to the node.
warn!("{self}: Received a block proposal that is more than {} secs old. Ignoring...", self.block_proposal_max_age_secs;
"signer_signature_hash" => %block_proposal.block.header.signer_signature_hash(),
jferrant marked this conversation as resolved.
Show resolved Hide resolved
"block_id" => %block_proposal.block.block_id(),
jferrant marked this conversation as resolved.
Show resolved Hide resolved
"block_height" => block_proposal.block.header.chain_length,
"burn_height" => block_proposal.burn_height,
Expand Down
Loading