<p>If at least two of the partners are cooperative with each other, they can move the funds at any time, even before the 30 days have elapsed. They can spend the output at any time using the second redeem path, with at least two signatures, for example:</p>

<pre><code>0 &lt;Mohammed's Sig&gt; &lt;Zaira's Sig&gt; TRUE TRUE
</code></pre>

<p>So to 'renew' the time, they just need to spend the output by creating a new transaction with exactly the same output script, every time they want to renew it. Because the times use CSV, they are relative timelocks not absolute, so they don't need to be modified for each new transaction. Once a new transaction has been created which spends the output of the old one, that old output cannot be spent a second time so the lawyer must wait for the 30/90 days to elapse on the new transaction, and so on.</p>

CC BY-SA 3.0
2017-11-26T11:41:59.407Z
2017-11-26T11:41:59.407Z
meshcollider
<p>They 'reset' the clock by moving the funds to a new output before the period ends. </p>

CC BY-SA 3.0
2017-11-26T18:53:45.337Z
Can you elaborate a bit more?
Pieter Wuille
CC BY-SA 3.0
2017-11-26T10:44:51.593Z
2017-11-26T10:44:51.593Z
Claris
<p>At the end of Mastering Bitcoin Chapter 7, in the <a href="https://github.com/bitcoinbook/bitcoinbook/blob/second_edition_print3/ch07.asciidoc#complex-script-example" rel="nofollow noreferrer">&quot;Complex Script Example&quot;</a>, they ask this question in regards to the script:</p>
<blockquote>
<p>How do the partners &quot;reset&quot; the clock every 29 or 89 days to prevent the lawyer from accessing the funds?</p>
</blockquote>
<p>Does anyone have a good explanation for this? I feel like I missed something in the timelock section that might have explained this, but I'm not seeing it.</p>

<script><time><checklocktimeverify><checksequenceverify><mastering-bitcoin>
How is the clock reset in the Complex Script Example?
Charlie L
# How is the clock reset in the Complex Script Example?

(Asked by: username_0 on 2017-11-25)

At the end of Mastering Bitcoin Chapter 7, in the ["Complex Script Example"](https://github.com/bitcoinbook/bitcoinbook/blob/second_edition_print3/ch07.asciidoc#complex-script-example), they ask this question in regards to the script:

> How do the partners "reset" the clock every 29 or 89 days to prevent the lawyer from accessing the funds?

Does anyone have a good explanation for this? I feel like I missed something in the timelock section that might have explained this, but I'm not seeing it.

**Tags:** script, time, checklocktimeverify, checksequenceverify, mastering-bitcoin


---

## 2 answers

### Answer by username_1 on 2017-11-26. Score: 2 | Accepted answer

If at least two of the partners are cooperative with each other, they can move the funds at any time, even before the 30 days have elapsed. They can spend the output at any time using the second redeem path, with at least two signatures, for example:

```
0 <Mohammed's Sig> <Zaira's Sig> TRUE TRUE

```

So to 'renew' the time, they just need to spend the output by creating a new transaction with exactly the same output script, every time they want to renew it. Because the times use CSV, they are relative timelocks not absolute, so they don't need to be modified for each new transaction. Once a new transaction has been created which spends the output of the old one, that old output cannot be spent a second time so the lawyer must wait for the 30/90 days to elapse on the new transaction, and so on.


---

### Answer by username_2 on 2017-11-26. Score: 2

They 'reset' the clock by moving the funds to a new output before the period ends.

> **Comments:**
> **username_3**: Can you elaborate a bit more?  

---

