Why Nostr? What is Njump?
2023-06-07 18:18:53
in reply to

Dmitry Petukhov [ARCHIVE] on Nostr: 📅 Original date posted:2019-06-29 📝 Original message:В Sat, 29 Jun 2019 ...

📅 Original date posted:2019-06-29
📝 Original message:В Sat, 29 Jun 2019 09:19:41 +0900
Jonathan Underwood <junderwood at bitcoinbank.co.jp> wrote:

> > Other note: you have 'unused' value of 1 for `m` in your scheme, why
> > not require m=1 for single-sig case, and use 0 as indicator that
> > there are a serlal number following it?
> >
>
> 0x00 is single sig, aka, OP_CHECKSIG
>
> 0x01 is multisig, aka, 1-of-3, 1-of-2 OP_CHECKMULTISIG

This informatin is available in per-output redeem/witness script,
signer will be able to distinguish between multisig/single-sig by
looking at this script. I think it only need to know the total number
of keys participating in the signing, and check that this number
matches the particulars of redeem/witness script.
Author Public Key
npub10r66s2stvnancx9axwnfc5a34asjkwkgmkq7ztm5hf30x7fa4szsv9afdw