Bitcoin Forum
December 10, 2016, 07:10:54 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Can you put a deadline on a transaction?  (Read 936 times)
2_Thumbs_Up
Sr. Member
****
Offline Offline

Activity: 323


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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481353854
Hero Member
*
Offline Offline

Posts: 1481353854

View Profile Personal Message (Offline)

Ignore
1481353854
Reply with quote  #2

1481353854
Report to moderator
1481353854
Hero Member
*
Offline Offline

Posts: 1481353854

View Profile Personal Message (Offline)

Ignore
1481353854
Reply with quote  #2

1481353854
Report to moderator
1481353854
Hero Member
*
Offline Offline

Posts: 1481353854

View Profile Personal Message (Offline)

Ignore
1481353854
Reply with quote  #2

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

Activity: 378


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


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: 2506


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


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
Sr. Member
****
Offline Offline

Activity: 323


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!