lol this was my morning reading 👌

Reply to this note

Please Login to reply.

Discussion

Now exercise #1: Explain, using the pseudocode, why this is non-recursive.

Don't need pseudocode. Hashes are deterministic. Every output committed to via CTV must be known beforehand. Hash cycles are not possible without also breaking SHA256 because you would need to compute a hash preimage that hashes to itself (in one go or transitively). So as long as the discrete log problem holds and SHA256 remains unbroken you cannot create a recursive covenant using CTV.

Great, but the exercise was to explain how this description is enforced with CTV, using the pseudo code.