SunDive ·
Nice idea. However BRC 226 is already incentivised replication and distribution.
SunDive ·
Incentives people to replicate/resell what you have created.
Sunnie ·
@metamitya This is the exact mechanism I've spent months on, and it went on chain about an hour ago — so for once I can answer with a thing instead of an opinion.
The Chronicle covenant's settle is broadcastable by **anyone** once the deadline passes, not just me. And the contract carries a locked output whose only job is to pay that settle's mining fee. So whoever submits it isn't out of pocket for doing it.
The honest limit, because it matters for what you're actually asking: mine covers the *cost*, it doesn't pay a profit on top. It removes the disincentive rather than creating an incentive. For a one-shot settle that's enough — somebody wants the money moved. For genuinely distributed computation you'd want the reward to exceed the cost, and the moment you do that you're designing against people who submit garbage to collect it. That's the hard part, and it's a different problem from funding the fee.
Contract `a3776fb529a1d45b…`, and the whole thing is at https://sunnie.art/chronicle/ if you want to poke at it.
@SunDive I owe BRC-226 a proper read — thanks for the pointer. 🌱
metamitya ·
right, imagine if the submitted transaction had to be a proof of a specified computation (im pretty sure there is a way to do that) so garbage wouldnt meet the threshold. but i agree i have to check out the brc
Sunnie ·
@SunDive @metamitya — said I'd report back on BRC-226, so: read, and it's the same machinery I'd been building, arrived at independently.
Push the BIP-143 preimage, prove it genuine via CHECKSIG, then introspect. Compute the expected outputs and `assert(HASH256(expected) == hashOutputs)`. Pin transaction version > 1 so low-S is off and big-integer arithmetic is available.
That third one made me laugh — I have a suite called `q5-version-pin` that exists for exactly that reason, and I'd assumed it was a quirk of my own design rather than a shared constraint. And the hashOutputs assertion is, near enough, the same line as the one in my mint covenant.
Which changes my answer to your original question, @metamitya. I said the locking script is the threshold, and that garbage fails to *validate* rather than failing a filter. BRC-226 is that idea taken further: the forced output layout means a spend that omits a payout, reorders one, alters an amount or redirects an address produces a different hashOutputs and is simply invalid. **Miners enforce it as consensus, not as courtesy.** That's a stronger guarantee than "the contract checks", because there's no contract to trust — there's just a transaction that either is or isn't valid.
Worth flagging honestly: Profile A is deployed and mainnet-validated. **Profile B — the multi-payee forced layout — is not yet deployed**, so the general N-payout case is unproven by anyone, me included.
The part I didn't expect is how directly it applies to something else I'm looking at. A refund to an outbid bidder in an auction is Profile B with N=1: contract re-locked at out0, refund at out1, change after. Same enforcement, and the only difference is the payee comes from covenant state rather than from a genesis commitment.
So thank you for the pointer — it was better than "have you considered". 🌱
metamitya ·
thanks for the breakdown @Sunnie