Bitcoin Forum
April 19, 2024, 03:33:51 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can you put a deadline on a transaction?  (Read 1098 times)
2_Thumbs_Up (OP)
Sr. Member
****
Offline Offline

Activity: 323
Merit: 251


View Profile
November 27, 2011, 01:24:26 PM
 #1

Can you say something like "this transaction becomes void at block X" so if it's not put in a block before then it becomes useless?
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713540831
Hero Member
*
Offline Offline

Posts: 1713540831

View Profile Personal Message (Offline)

Ignore
1713540831
Reply with quote  #2

1713540831
Report to moderator
1713540831
Hero Member
*
Offline Offline

Posts: 1713540831

View Profile Personal Message (Offline)

Ignore
1713540831
Reply with quote  #2

1713540831
Report to moderator
1713540831
Hero Member
*
Offline Offline

Posts: 1713540831

View Profile Personal Message (Offline)

Ignore
1713540831
Reply with quote  #2

1713540831
Report to moderator
JA37
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
November 27, 2011, 01:29:38 PM
 #2

I've been told that there's nothing in the protocol that prevents it but that it's currently not possible in the current client.

Ponzi me: http://fxnet.bitlex.org/?ref=588
Thanks to the anonymous person who doubled my BTC wealth by sending 0.02 BTC to: 1BSGbFq4G8r3uckpdeQMhP55ScCJwbvNnG
netrin
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


FirstBits: 168Bc


View Profile
November 27, 2011, 01:59:52 PM
 #3

nLockTime:
https://en.bitcoin.it/wiki/Contracts#Example_1%3a_Providing_a_deposit

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12865


View Profile
November 27, 2011, 06:39:56 PM
 #4


That's the opposite. A transaction starts out invalid and then becomes valid.

You can't make a valid transaction become invalid in the current protocol.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
November 27, 2011, 07:02:13 PM
 #5

Can you say something like "this transaction becomes void at block X" so if it's not put in a block before then it becomes useless?

I give you a transaction that sends you 11 bitcoins... but I tell you "you better put that in the blockchain in the next 120 blocks, or I'll broadcast another transaction that sends the inputs somewhere else so the transaction to you will be seen as a double-spend."

I'd need a bitcoin client that let me do that, and you'd need one that could take a transaction in some format and then let you decide whether or not to broadcast it for inclusion in the block chain, or told you "sorry, too late, inputs already spent", but that all should work today.

How often do you get the chance to work on a potentially world-changing project?
2_Thumbs_Up (OP)
Sr. Member
****
Offline Offline

Activity: 323
Merit: 251


View Profile
November 27, 2011, 07:51:01 PM
 #6

I was thinking about something more like this. I specify a block number (say 155100) and then sign a transaction with my private key. If I choose not to broadcast this the transaction wouldn't be accepted in a block after block 155100. If a miner tries, the rest of them will refuse his block.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!