5

Monero transactions have something called "unlock time", that prevent transactions from being spent until a certain time in the future. I'm wondering how exactly that works.

  • Can a transaction with a "unlock time" component be published to the blockchain before the unlock time?
    • If no, this means the output it is paying into is locked until that time. Can you send from that output if the transaction it is in also has a unlock time, and that unlock time is in the future?
  • Can a transaction with a sooner unlock time override it, even after its on the block chain.
7

A transaction with a non default unlock_time will be mined as normal. However, its outputs will not be able to be used as inputs in another transaction before that time (which can be either a blockchain height, or a UNIX time in seconds).

Your second question is confusing.

You can't override a tx (except with a double spend attack sending conflicting txes to separate parts of the network), and having a non default unlock_time is irrelevant to this.

|improve this answer|||||
  • 1
    I mean can it be used as input if you the transaction spending it is also in the future? – PyRulez Aug 5 '16 at 19:01
  • 1
    Yes. Filler for dumb char limit script. – user36303 Aug 5 '16 at 19:24
  • 1
    I mean, it's published now, unlock time is in the future? – PyRulez Aug 5 '16 at 19:25
  • 1
    Falls under "A transaction with a non default unlock_time will be mined as normal." – user36303 Aug 5 '16 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.