Skip to content

Conversation

@UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Dec 20, 2024

Issue being fixed or feature implemented

Signing is async so it's possible that our clsig is no longer relevant

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@UdjinM6 UdjinM6 force-pushed the no_clsig_tip_changes branch from d141f1f to 9b6e7c2 Compare December 20, 2024 22:01
@UdjinM6 UdjinM6 changed the title fix: refuse to create new clsig if chain tip has changed while we were signing fix: refuse to create new clsig if we switched to a different fork while we were signing Dec 20, 2024
@UdjinM6 UdjinM6 force-pushed the no_clsig_tip_changes branch from 9b6e7c2 to 0fc0bec Compare December 20, 2024 22:35
@UdjinM6 UdjinM6 added this to the 22.1 milestone Dec 20, 2024
return {};
}

const auto pindex = m_chainstate.m_chain.Tip()->GetAncestor(lastSignedHeight);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we will have a new chainlock we need to switch chain here to the new one, because it is a new chain-locked tip and current tip should be refused, isn't it true?

@thephez
Copy link
Collaborator

thephez commented Jan 29, 2025

@UdjinM6 no longer targeted for 22.1?

@UdjinM6 UdjinM6 removed this from the 22.1 milestone Jan 29, 2025
@github-actions
Copy link

github-actions bot commented Aug 5, 2025

This pull request has conflicts, please rebase.

@UdjinM6 UdjinM6 closed this Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants