Re: [bitcoin-dev] A Calculus of Covenants

2022-04-12 Thread Jeremy Rubin via bitcoin-dev
note of clarification: this is from the perspective of a developer trying to build infrastructure for covenants. from the perspective of bitcoin consensus, a covenant enforcing primitve would be something like OP_TLUV and less so it's use in conjunction with other opcodes, e.g. OP_AMOUNT. One mus

[bitcoin-dev] A Calculus of Covenants

2022-04-12 Thread Jeremy Rubin via bitcoin-dev
Sharing below a framework for thinking about covenants. It is most useful for modeling local covenants, that is, covenants where only one coin must be examined, and not multi-coin covenants whereby you could have issues with protocol forking requiring a more powerful stateful prover. It's the model