Author

Topic: Can you put a deadline on a transaction? (Read 1108 times)

sr. member
Activity: 323
Merit: 251
November 27, 2011, 02: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.
legendary
Activity: 1652
Merit: 2301
Chief Scientist
November 27, 2011, 02: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.
administrator
Activity: 5222
Merit: 13032
November 27, 2011, 01: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.
sr. member
Activity: 322
Merit: 251
FirstBits: 168Bc
sr. member
Activity: 378
Merit: 250
November 27, 2011, 08:29:38 AM
#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.
sr. member
Activity: 323
Merit: 251
November 27, 2011, 08:24:26 AM
#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?
Jump to: