pull down to refresh
597 sats \ 1 reply \ @supertestnet 14 Jan \ on: Unbreakable legacy bitcoin
Reviewing your script, I think it has two problems:
(1) it appears like the 3 of 5 option has to wait a year. Based on your description, I don't think that's what you want. You said, "You can spend money at any time with 3 of 5." But the script for the 3 of 5 has a 1 year timelock just like the one for the non-3-of-5.
(2) It appears like the 2-of-5 script and the 1-of-5 script are currently encumbered by an identical timelock. Which means the 1-of-5 person can take the money after waiting only 1 year. Based on your description, I don't think that's what you want. You said, "after another 52596 blocks, the multi-sig reverts to 1 of 5," and I think by "another 52596 blocks" you mean "an additional 52596 blocks."
To fix these issues, you could rewrite the script like this:
This is very helpful! I really enjoy these OP code puzzles that solve established use cases. Cheers!
reply