• Home
  • About Us
  • disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
Crypto News
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login
No Result
View All Result
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login
No Result
View All Result
Crypto News
No Result
View All Result
Home Crypto News

checksequenceverify – What prevents an arbitrarily excessive nSequence worth when spending an OP_CSV output?

Cryptoadmin by Cryptoadmin
March 5, 2025
in Crypto News
0
checksequenceverify – What prevents an arbitrarily excessive nSequence worth when spending an OP_CSV output?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I’ve gone by way of the various associated questions right here on stack change and clearly learn BIP68 and BIP112, however I nonetheless can’t appear to return to a transparent reply for the next query: what’s stopping a transaction that spends an output encumbered by OP_CSV from setting an arbitrarily excessive nSequence worth?

We could say the next situation:

  • txA has a single output encumbered by 10 OP_CSV, that means this output can solely be included in a transaction that’s mined 10 blocks after txA is confirmed
  • txB spends a single enter, which is the one output created from txA

The operate that performs the test is

template <class T>
bool GenericTransactionSignatureChecker<T>::CheckSequence(const CScriptNum& nSequence) const
{
    // Relative lock occasions are supported by evaluating the handed
    // in operand to the sequence variety of the enter.
    const int64_t txToSequence = (int64_t)txTo->vin[nIn].nSequence;

    ...
    omitted logic
    ...

    // Now that we all know we're evaluating apples-to-apples, the
    // comparability is a straightforward numeric one.
    if (nSequenceMasked > txToSequenceMasked)
        return false;

    return true;
}

Why ought to the spending transaction not have the ability to set nSequence for the enter in such a method that txToSequenceMasked is all the time increased than nSequenceMasked? What precisely is stopping this? I really feel like I am lacking one thing apparent right here.

Hopefully my query is smart, thanks!

Tags: arbitrarilychecksequenceverifyHighnSequenceOP_CSVoutputpreventsspending
Share76Tweet47
  • Trending
  • Comments
  • Latest
USDG Rewards: Earn as much as 4%+ APR in USDG on Kraken

USDG Rewards: Earn as much as 4%+ APR in USDG on Kraken

April 10, 2025
How Essential is Jito Solana MEV Bot Growth for the Cryptocurrency Ecosystem?

How Essential is Jito Solana MEV Bot Growth for the Cryptocurrency Ecosystem?

July 31, 2024
PURA Cost Processing | CoinPayments

PURA Cost Processing | CoinPayments

May 13, 2024
Crypto Bull Run 2026: Main Tendencies and Insights

Crypto Bull Run 2026: Main Tendencies and Insights

November 21, 2025
Ethiopia to begin mining Bitcoin by means of new information mining partnership

Ethiopia to begin mining Bitcoin by means of new information mining partnership

0
Be part of HitBTC official social media channels !

Be part of HitBTC official social media channels !

0
Bitwise launching spot bitcoin ETF (BITB) – CryptoNinjas

Bitwise launching spot bitcoin ETF (BITB) – CryptoNinjas

0
DeFi Masterclass. Decentralized Finance (DeFi) is an… | by Rohas Nagpal | Blockchain Weblog

DeFi Masterclass. Decentralized Finance (DeFi) is an… | by Rohas Nagpal | Blockchain Weblog

0
Is Bitcoin shifting to a 2-year cycle?

Is Bitcoin shifting to a 2-year cycle?

December 5, 2025
Hong Kong Banks Implement New Measures for Tai Po Fireplace Victims

Hong Kong Banks Implement New Measures for Tai Po Fireplace Victims

December 5, 2025
Russia Plans Main Crypto Coverage Push for 2026

Russia Plans Main Crypto Coverage Push for 2026

December 4, 2025
American Bitcoin plunged 50% throughout a crypto rally, exposing a deadly flaw within the “Trump proxy” commerce

American Bitcoin plunged 50% throughout a crypto rally, exposing a deadly flaw within the “Trump proxy” commerce

December 4, 2025

About Us

Welcome to Blog.cryptostudy.net The goal of Blog.cryptostudy.net is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Recent Posts

  • Is Bitcoin shifting to a 2-year cycle?
  • Hong Kong Banks Implement New Measures for Tai Po Fireplace Victims
  • Russia Plans Main Crypto Coverage Push for 2026
  • Home
  • About Us
  • disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2024 Blog.cryptostudy.net | All Rights Reserved.

No Result
View All Result
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login

Copyright © 2024 Blog.cryptostudy.net | All Rights Reserved.