Questions tagged [sequence]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

How does a constant opcode become negative in Script

I am doing some tutorial and in this chapter we are suppose to reproduce the Script scripting language I am struggling to understand one of the exercises, here it is: Create a ScriptSig that can ...
1
vote
1answer
38 views

Problem using op_checksequenceverify (op_csv) with relative time flag

i have trouble in using op_csv. The spending condition is not match to my expectation. FUNDING Redeem Script Hex: 03010040b27576a91451d2a5e04d25ceaa86e600a6ec34bd24431c675d88ac Redeem Script Asm: 03&...
2
votes
1answer
81 views

In Lightning commitment transactions, what do the upper 8 bits of sequence and locktime represent?

In Bolt 3 of the Lightning Network specs, for commitment transactions it states: locktime: upper 8 bits are 0x20, lower 24 bits are the lower 24 bits of the obscured commitment number. ...
0
votes
1answer
21 views

How many bytes long should nSequence be?

When I look at the following raw transaction from: https://blockstream.info/tx/a175425ee2f3c01acc97ef32ab1082db14eaa94e5af4c54f02f3b01dec72558e?expand ...
1
vote
2answers
43 views

Could someone provide an example of a tx spending from an input with a relative LockTime?

I want to see an example of a raw transaction which spends from an input which has a relative LockTime applied to it. An example would be a transaction from a Lightning payment channel in which a user ...
5
votes
1answer
38 views

What does the 'n' in nLockTime and nSequence stand for?

I know what nLockTime and nSequence do, but I'm just curious about where the 'n' comes from. Thanks
1
vote
1answer
77 views

How to make a transaction with locktime on testnet?

I tried to make transaction with nLocktime on bitcoin testnet. I am not able to broadcast it. Can someone please help me to make a basic transaction with 1 input and 1 output, so that I can broadcast ...
2
votes
1answer
66 views

What is transaction “finality”?

bitcoind IsFinalTx() as seen here checks the properties of a transaction in this order: Is nLockTime exactly 0? That's final. return. If it's not 0, is it below the current block height / time? If so,...
1
vote
1answer
31 views

Where is a tx located before finalized with the sequence number or locktime?

My understand, for a tx, before it finalized with the locktime, it can not go into mempool. But, which specified location is the tx to stay for waiting the locktime come. Similiar, for before the ...
3
votes
1answer
209 views

What does the sequence in a transaction input mean?

Following a transaction input: What is the meaning of the sequence number? What does the 4294967295 tell me?
0
votes
1answer
144 views

Why mark a transaction as RBF (Replace-by-Fee) explicitly?

I could broadcast a second transaction that has the same inputs but a higher fee, without marking the original transaction as replaceable. Miners would most likely favor the second transaction and ...
0
votes
1answer
246 views

Lightning Network's RSMC: what happens if there's no revocation transaction?

From the Lightning Network's whitepaper, page 19: If they do not broadcast their most recent version, they will be penalized by taking all the funds in the channel and giving it to the ...
1
vote
0answers
107 views

Which wallet provide lock-time feature?

I try to understand how the lock-time and sequence number work, but I got many different explanations, it is really confusing. I like to send a Bitcoin with lock-time to myself, but I don't know how ...
1
vote
1answer
445 views

Understanding BIP 143 [hash computation, lockTime, sequence number, witness format]

I'm trying to grasp some of the concepts presented in BIP 143. These are the things I'm stuck on: (1) A new hash format is presented. This new format is used to create a hash, which when signed with ...
0
votes
1answer
391 views

What is the “sequence” and its details as referenced for the segwit application?

On the segwit page there is a reference that the "feffffff" is the "sequence". What does the "sequence" represent in relation to what? Does it always have to be "feffffff"? What happens if it's "...
0
votes
1answer
275 views

What is the recomended sequence for signalling RBF?

What is the recommended nSequence for signalling RBF transactions? BIP125 says: A transaction is considered to have opted in to allowing replacement of itself if any of its inputs have an ...
3
votes
1answer
550 views

Sequence number semantics

Reading the following BIPs: 68, 112, 125, I got a few questions about the sematics of sequence numbers. As far as I understood, in version 1 transactions, sequence numbers have the following meaning: ...
1
vote
1answer
1k views

Why does blockchain.info show the warning “Transaction rejected by our node. Reason: The transaction is not final”?

The transaction fc3f81c625720063c5cab2145bcb5ef20b13ff0aa73b0b2435ffdb645acfcb8b has the warning "Transaction rejected by our node. Reason: The transaction is not final." on Blockchain.info. The same ...
1
vote
1answer
236 views

What happens when relative and absolute lock times are used in the same transaction?

BIP 68 redefines the input sequence number field as bit vector that encodes a relative lock time. A transaction can be encumbered with an absolute lock time by setting the nLockTime field to a non-...
5
votes
1answer
617 views

What is an “insecure transaction type”, as mentioned by Bitcoin Wallet for Android?

I am running Bitcoin Core v0.11.0.0-gd26f951 (64-bit) at home on Ubuntu, and have installed the Bitcoin Wallet for Android on my phone. I sent two transactions from home to my phone: First, Second. ...
4
votes
1answer
1k views

Is my understanding of locktime correct?

I have been trying to understand locktimes and sequence numbers. I'm gradually building up a picture in my head based on code, code comments and info on the web. Rather than asking lots of questions, ...
5
votes
3answers
730 views

Is there any way to make an UTXO that cannot be spent until a certain block #?

In bitcoin, each transaction has an nLockTime integer to specify the earliest allowed block number/time that the transaction can be added to the blockchain. In addition, each transaction input has an ...
1
vote
1answer
416 views

Can a Ripple Transaction Sequence have gaps?

I am wondering whether a Ripple Transaction with a Sequence number that ships over a few numbers from the previous Sequence number be accepted as a valid transaction in the Ripple Network? For ...
30
votes
2answers
8k views

What is TxIn's sequence?

I'm currently trying to generate the genesis block with my code and I've stumbled upon the TxIn sequence field that is not explained in the Protocol Specification wiki page, nor does it seem to appear ...