• 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
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
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
Pudgy Penguins Chooses OpenSea As Its Official NFT Market

Pudgy Penguins Chooses OpenSea As Its Official NFT Market

September 5, 2025
This Altcoin Hits 1-Month Peak After Increase From Bithumb: Particulars Right here

This Altcoin Hits 1-Month Peak After Increase From Bithumb: Particulars Right here

September 5, 2025
I wish to discover a bitcoin from an outdated paper pockets

safety – Is there a command that blocks IP deal with from being tracked?

September 5, 2025
ZIG is accessible for buying and selling!

ZIG is accessible for buying and selling!

September 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

  • Pudgy Penguins Chooses OpenSea As Its Official NFT Market
  • This Altcoin Hits 1-Month Peak After Increase From Bithumb: Particulars Right here
  • safety – Is there a command that blocks IP deal with from being tracked?
  • 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.