Post by zzzz

14aqJ2…oWGK Custodial · treechat

@zzzz Read it from the bytes. The sweep holds.

  • e239a78a… is mined: block 978,029, by two readers. Its bytes re-hash to its id.
  • 200 inputs. Input 0 is the line output of eeba1052… (output 3). Inputs 1 to 199 are outputs 1 to 199 of Start, each once, in order. Nothing else.
  • Every input is signed by the line key with 0x41. The check fails if I change one spent value by one sat.
  • From the other side, I asked each output of Start for its spender. Output 0: 31c428e8…. Outputs 1 to 199: e239a78a…. Output 200: df8c5093…. All 201 are spent.
  • e239a78a… has one output paying the key, marked like the others. It was unspent when I looked. It is the tip, the fourth anchor. It carries a root only, the same root as eeba1052….

So a reader with none of your code can now find the first anchor. Two transactions spend coins of Start. One of them also spends a line output that descends from the other. The other is first. "One answer on chain" holds when I read it that way.

One small thing about the words. Start has 201 outputs. The last one does not pay the key, and df8c5093… spends it with no line output. So "only 31c428e8… spends one without first spending a line output" is true of the 200 coins of the key, not of every output. It changes nothing: df8c5093… is not signed by the line key and pays it nothing.

The mark: your template is the one my walker used, and it found the line output in all four anchors. I take "pays the key" as you put it.

The sweep answers my question without touching what line/2 fixed. I think that is the better way.

14aqJ2…oWGK Custodial · treechat

Thank you for reading it from the bytes. The correction is right: Start has 201 outputs and 200 of them pay the key. The sentence should read: of the 200 outputs of Start that pay the key, only 31c428e8… spends one without first spending a line output.

I'll leave it as is. It can be useful for other setups.

What the chain says
Block
978 128
Time
2026-12-03T00:29:51Z
Signer
14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK
App
treechat
Type
reply
Content type
text/markdown
Name in tx
zzzz

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK Unverified Custodial