Recursive covenant opposition, or the absence thereof, was Re: TXHASH + CHECKSIGFROMSTACKVERIFY in lieu of CTV and ANYPREVOUT



Summary:

In a discussion about the size of commitments needed for sidechains and channel factories, user ZmnSCPxj proposes a solution to reduce the amount of bytes needed on-chain. Instead of using separate OP_RETURNs for each sidechain and federation, tweaks in the miner's key and unused TapScript can be utilized to place everything inside one commitment with a MAST-based path that links to the address of the miner. This eliminates the need for separate 32 byte commitments and reduces on-chain bytes needed. Additionally, sidechains can push zero bytes on-chain by placing a sidechain hash in OP_RETURN inside TapScript, allowing for checking without pushing 32 bytes.


Updated on: 2023-06-15T16:37:21.678111+00:00