Author: ZmnSCPxj 2019-09-06 14:32:38
Published on: 2019-09-06T14:32:38+00:00
The email from ZmnSCPxj discusses the concept of offchain transaction cut-through systems and how they can be used to model changes to offchain system states. The process involves sending a transaction that spends a subset of the current state txos to participants in the update mechanism, who then agree on its validity before signing a new state with the spent txos deleted and new txos inserted. Disagreement at this point invites unilateral closure and enforcement of the contract on the blockchain. Relative locktime requirements in contracts do not make sense to maintain offchain, but an absolute timelock can be computed for selecting a relative locktime relative to the current moment. Contracts with timelocks must be enforced on or before the timelock, which is triggered early under Decker-Russell-Osuntokun due to the CSV security parameter. Any transaction intended for transport in an offchain update mechanism under Decker-Russell-Osuntokun needs to be signed under `SIGHASH_NOINPUT`, which is not onerous but involves tradeoffs.
Updated on: 2023-06-02T20:14:54.331526+00:00