You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If p is an EBB with a proper block in the same slot, then the annTipPoint t > p is correct only half of the time: it will either correctly rewind the tips to the EBB or it will incorrectly also retain the proper block, depending on how the hashes happen to compare.
The text was updated successfully, but these errors were encountered:
I'm thinking maybe there is an easier solution here. Rewinding is only allowed to rewind to a point previously applied right? So perhaps we can just say
rolledBack::AnnTipblk->Bool
rolledBack t = annTipPoint t /= p
instead? We are dropping from the right after all. @nfrisby , @mrBliss , what do you think?
https://github.com/input-output-hk/ouroboros-network/blob/599afc730af5f8d64accc6ab1c8d05bdb27ee7d8/ouroboros-consensus/src/Ouroboros/Consensus/HeaderValidation.hs#L200-L209
If
p
is an EBB with a proper block in the same slot, then theannTipPoint t > p
is correct only half of the time: it will either correctly rewind the tips to the EBB or it will incorrectly also retain the proper block, depending on how the hashes happen to compare.The text was updated successfully, but these errors were encountered: