Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [locktime]

Defines the block number or timestamp until this transaction is locked, or 0 if the transaction is always locked.

1
vote
1answer
28 views

Is it posible to create a transaction output that can either be reddemed by privK of Addr A or by privK of Addr B AFTER certain blockheight?

I am thinking about how to secure your Bitcoin savings. One idea I had was to create sort of a "backup" address B for an address A which stores the bitcoins. So what I want to achieve is that you ...
1
vote
2answers
40 views

BIP 113 - monotonic guarantee

BIP 113 mentions: Existing consensus rules guarantee this value to monotonically advance, thereby removing the capability for miners to claim more transaction fees by lying about the timestamps of ...
2
votes
3answers
54 views

CHECKSEQUENCEVERIFY After x time of last transaction

Is there a way where i can have a multi-sig address which will allow one of the signers to use only their single key after a set amount of time after each transaction/update on the address? I want ...
1
vote
0answers
108 views

Locktime requirement not satisfied when locktime set to 1 in p2sh

I've created the following script on testnet: OP_IF 2 <pubkey1> <pubkey2> <pubkey3> 3 OP_CHECKMULTISIG OP_ELSE 1 OP_CHECKSEQUENCEVERIFY OP_DROP <pubkey1&...
1
vote
0answers
41 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 ...
0
votes
2answers
98 views

TX nLocktime and mempool

Where is a broadcasted TX located at before it's nLocktime reached? in mempool or not? I have tried a lot can't figure out. Help please.
0
votes
1answer
248 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
0answers
25 views

My uncofirmed transaction [duplicate]

my transaction 6513ce629ca97a59222706c9c7dc8e66045ee96cc1112a5bea1b6fdf1de3e9bd stands unconfirmed on blockchain for past 3days. Locktime indicated is 500269. Can you please help and let me know ...
2
votes
1answer
149 views

Simple explanation of how a hash timelock function works with an atomic trade of bitcoin / litecoin trade without a 3rd party?

From my understanding a hash timelock function trade or atomic swap involves 2 transactions one separate blockchains. The BTC user named Bob is making a trade with Alice for her LTC. Assuming its a 1 ...
2
votes
2answers
92 views

Encrypted message with nLockTime

I know you can delay a transaction's accepted date by using nLockTime. I'm still looking for the simplest way to generate a transaction with nLockTime, but that's another topic. I'm wondering if ...
3
votes
1answer
465 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: ...
0
votes
1answer
146 views

yesterday evening I send out 0.97 BTC. I checked transaction and It says : “ lock time 459355”

are my coins lost ? please help It says Lock Time: 459355 and still unconfirmed since yesterday
3
votes
1answer
707 views

Understanding GreenAddress nLocktime/recovery transactions

What I understand is that Greenaddress locks a recovery transaction to be spend 90 days in the future. Whats the advantage in doing this? Why not creating a recovery transaction without nLocktime?
3
votes
2answers
494 views

Is it possible to combine multi-sig and locktime?

Is it possible to create a 1 of 2 multi-sig address in which only one of the keys is time-locked and the other can sign any time?
1
vote
2answers
86 views

Is it safe to keep ONLY a time-locked tx?

What if the tx become incompatible with future versions of Bitcoin? In which cases it would just stop being compatible? If there is no compatibility guarantee, how can this be useful at all?
7
votes
1answer
2k views

Why Bitcoin core creates time locked transactions by default?

I've noticed recently that Bitcoin Core is producing transactions with non-zero lock-time and sequence numbers of inputs being 0xFFFFFFFE, even though I didn't instruct it to do so. The lock-time ...
2
votes
2answers
597 views

Can you “undo” an nlockTime transaction by spending a single UTXO of it before lockTime's block happens?

Let's say I have a wallet X with money from 3 unspent outputs (UTXOs) A, B and C. I make an nlocktime transaction to spend 2 of my 3 UTXOs (A & B) to wallet Y, 1 month in the future, sign it, and ...
2
votes
1answer
145 views

Which clients support nLockTime?

I want to use nLockTime, but I don't know what clients support it?
6
votes
3answers
7k views

What does “lock time” mean?

I got a transaction that is still not confirmed for about one week, and I can see a field called "Lock Time" that says: Lock Time Block: 419382 https://blockchain.info/en/tx/...
1
vote
1answer
181 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-...
1
vote
1answer
145 views

If transaction has impossible locking script, are coins lost?

If a bitcoin transaction's outputs have a locking script that is basically unsolvable, are the bitcoins lost, or can the transaction be invalidated? (Or something else?)
1
vote
1answer
249 views

How do I use CHECKLOCKTIMEVERIFY to prevent a transaction being spent before 100 blocks?

I'm creating a Bitcoin based lottery application. An entry into the lottery is a transaction spending 1BTC. If someone guesses some arbitrary value correctly, they can claim the entry and send this ...
1
vote
1answer
177 views

Are Hashed Timelock Contracts and Zero-Knowledge Contingent Payments the same thing?

This answer to How is a node in the middle prohibited from keeping the money in a routed Payment in Lightning network? describes how a Hashed Timelock Contract would be used to exchange the "secret" ...
0
votes
1answer
111 views

Restrict the Bitcoin usage only during a particular period

I would like to know if its possible to use a Bitcoin at present in the following scenario. When I send a Bitcoin to an another user,I set certain parameters on the Bitcoin, like it can only be used ...
3
votes
0answers
91 views

Claim or Refund Functionality Implementation in Bitcoin

I was reading the paper written by Kuramesan and Bentov with title "How to use Bitcoin to Design Fair Protocols". Source: https://eprint.iacr.org/2014/129.pdf Specifically, the sender creates a ...
1
vote
1answer
231 views

How does the GreenAddress refill (relock) work when its nLockTime expires?

Ok, I understand that GreenAddress wallet uses a nLockTime transaction to put the funds in a 2of2 wallet, to give the user the peace of mind that, in the case their server disappears, they can still ...
1
vote
1answer
382 views

What is Bitcoin's locktime feature exactly? How can it be used?

What is Bitcoin's locktime feature and what are some example use cases? And how can a user make use of this new feature? Is it in any gui wallet? And how would one use it in the command line if its ...
4
votes
2answers
298 views

Is it possible to schedule a transaction in the future?

Wondering if it's technically possible to set up a transaction to be sent in the future, for example 6 months? Is this related to block timestamps parameters? Transaction timestamps?
5
votes
1answer
67 views

Is it possible to determine the total amount of timelocked Bitcoin?

Now that is possible to lock funds until a certain date (https://coinb.in/#newTimeLocked). How to calculate how many of all bitcoin in existence is locked until a certain date? Any service that does ...
1
vote
1answer
495 views

Timelock Transactions

I would like to know if timelock transactions are considered standard with the current bitcoin client. If the answer is no, this means that you should use a different client or is it up to user choice?...
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, ...
3
votes
3answers
236 views

What will happen when nLockTime is used along with Counterparty transactions

I heard that Counterparty cannot handle lock time, but I cannot understand why. What will happen when we use nLockTime in a transaction which includes Counterparty transactions?
2
votes
0answers
68 views

Bitcoin contracts with stickK.com functionality

Does a BTC service/application allow me to set a nTimeLock transaction that can be interrupted by a single predetermined 3rd party before the transaction has been made public? If a service like this ...
4
votes
3answers
622 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 ...
4
votes
1answer
504 views

nLockTime transactions, how do they persist? Are they broadcast before they are valid?

If nLockTime transactions aren't added to the blockchain until the nLockTime is met, then aren't they just being stored in memory of the miners and is there a risk they could get "lost"? I guess I'm ...
0
votes
1answer
137 views

Can I cancel an offline transaction with this approach? (opposite of nLocktime)

I would like to cancel a transaction I sent offline, and am looking for ways to prevent it from being accepted by the network. Will the Bitcoin client prohibit the entire Tx if there is even on input ...
4
votes
1answer
232 views

Could I mine a non-final transaction?

I know that non-final transactions (locktime in future and sequence number < MAX_UINT) are not "accepted by miners". However, I could not figure out the exact behavior. If I mined my own block ...
1
vote
1answer
76 views

How do you publish a transaction which is cancelled if not claimed by a given time?

How do you publish a transaction which is cancelled if some output is not claimed by a given time? (ie returning all the spent coins to their inputs or else creating new conditions under which they ...
2
votes
1answer
170 views

Is the time value in transaction or block information the time it arrived at my client? [duplicate]

Both transactions and blocks have a time field when you use Bitcoin's getblock or gettransaction methods. The API method list defines the transaction time as " time the transaction occurred". Is this ...
8
votes
2answers
526 views

Can nLockTime TX be used to flood Mempools?

What would happen, if I would create a large number of large transactions with a very high nLockTime? Would something stop me from filling not only the miners', but also regular nodes' mempools? ...
7
votes
1answer
2k views

How is locktime enforced in the standard client?

I am trying to study the locktime feature of transactions ( https://en.bitcoin.it/wiki/Protocol_specification#tx ). I have created some raw transactions in the testnet with different locktimes, but, ...
1
vote
1answer
219 views

In a given contract, should the “LockTime” timestamp include an extra hour for confirmations to prevent a double spend?

Anytime a transaction has a timestamp attached to it, and there are signed but not submitted transactions at play, shouldn't the holder of the non-submitted tx have to take into account the ...