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.
Published at
2023-06-07 18:18:53Event JSON
{
"id": "fd07068855814b12b5266e00cca60c2d1851a063444d72df494842f389799cc7",
"pubkey": "78f5a82a0b64fb3c18bd33a69c53b1af612b3ac8dd81e12f74ba62f3793dac05",
"created_at": 1686161933,
"kind": 1,
"tags": [
[
"e",
"6dc430ad1a240d08cd6de3f78de0f3da923f2f5e843db09c88b3e0382b00b332",
"",
"root"
],
[
"e",
"cfbf58b782c330cbd4a755e5d70b53fa43e77b2879b447cea3355f5cb3f3b916",
"",
"reply"
],
[
"p",
"78f5a82a0b64fb3c18bd33a69c53b1af612b3ac8dd81e12f74ba62f3793dac05"
]
],
"content": "📅 Original date posted:2019-06-29\n📝 Original message:В Sat, 29 Jun 2019 09:19:41 +0900\nJonathan Underwood \u003cjunderwood at bitcoinbank.co.jp\u003e wrote:\n\n\u003e \u003e Other note: you have 'unused' value of 1 for `m` in your scheme, why\n\u003e \u003e not require m=1 for single-sig case, and use 0 as indicator that\n\u003e \u003e there are a serlal number following it?\n\u003e \u003e \n\u003e \n\u003e 0x00 is single sig, aka, OP_CHECKSIG\n\u003e \n\u003e 0x01 is multisig, aka, 1-of-3, 1-of-2 OP_CHECKMULTISIG\n\nThis informatin is available in per-output redeem/witness script,\nsigner will be able to distinguish between multisig/single-sig by\nlooking at this script. I think it only need to know the total number\nof keys participating in the signing, and check that this number\nmatches the particulars of redeem/witness script.",
"sig": "7c04340246303878e5a9de398280f9950c2ef79f985e8abe05cbd6981cfa79746957a163fdfd9f1310695684d26967c4b58c98c3e5f4a3105b9fbe3163647b7e"
}