Why Nostr? What is Njump?
2023-06-07 15:36:42
in reply to

Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2015-06-06 📝 Original message:Mark Friedenbach <mark at ...

📅 Original date posted:2015-06-06
📝 Original message:Mark Friedenbach <mark at friedenbach.org> writes:
> Rusty, this doesn't play well with SIGHASH_SINGLE which is used in
> assurance contracts among other things. Sometimes the ordering is set by
> the signing logic itself...

Ah, I forgot about that particular wart. Yech. Implies that you can
order inputs or outputs, not both.

Something like "outputs must be in order, inputs which do not
CHECK(MULTI)SIG_(VERIFY) a SIGHASH_SINGLE sig must be in order with
respect to each other". But that's much less trivial since it implies
script evaluation.

In other news, I noticed Kristov Atlas's concurrent proposal just after
I posted this (via reddit). He used far more words, but didn't note
this issue either AFAICT.

Thanks!
Rusty.
Author Public Key
npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx