• 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
PURA Cost Processing | CoinPayments

PURA Cost Processing | CoinPayments

May 13, 2024
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
The Sandbox Basic Evaluation – Metaverse Crypto Gaming Platform

The Sandbox Basic Evaluation – Metaverse Crypto Gaming Platform

March 2, 2024
Arkham Alternate Lists MELANIA for Spot and Perpetual Buying and selling

Arkham Alternate Lists MELANIA for Spot and Perpetual Buying and selling

January 26, 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
G2 Spring 2025 Stories: 101 Blockchains Earned Report-breaking 32 Badges

G2 Spring 2025 Stories: 101 Blockchains Earned Report-breaking 32 Badges

June 6, 2025
That means, Origin, and How It Works

That means, Origin, and How It Works

June 6, 2025
ZK-Proof Blockchain Altcoin Lagrange (LA) Lifts Off Following Announcement of New Coinbase Help

ZK-Proof Blockchain Altcoin Lagrange (LA) Lifts Off Following Announcement of New Coinbase Help

June 6, 2025
Bitcoin’s shrinking charges might set off crypto-wide fallout

Bitcoin’s shrinking charges might set off crypto-wide fallout

June 6, 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

  • G2 Spring 2025 Stories: 101 Blockchains Earned Report-breaking 32 Badges
  • That means, Origin, and How It Works
  • ZK-Proof Blockchain Altcoin Lagrange (LA) Lifts Off Following Announcement of New Coinbase Help
  • 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.