Escape Hatch
Q= P+H(P|c)G
Q = the final Taproot public key
P = the internal public key
H(P|c) = A hash of the internal public key and the commitment
c = MAST hash(ab, cd) <- Final hash (the root)
/ \
hash(a, b) hash(c, d) <- Combined hash (the branches)
/ \ / \
hash(a) hash(b) hash(c) hash(d) <- Initial hash (the leaves)
[ script(a), script(b), script(c), script(d) ] Q = PK + H(PK | Fh)G
| |
+-----------+ +----------------+
| |
PK +-------Final|hash---+
| | |
| | |
PK1+PK2 | |
hash(a) hash(b)
Multi-sign script Timelock script
+-------------------+ +-----------------+
| PK1 | | TIME |
| OP_CHECKSIGVERIFY | | OP_CLTV |
| PK2 | | OP_DROP |
| OP_CHECKSIG | | PK3 |
| | | OP_CHECKSIG |
+-------------------+ +-----------------+Last updated