Gregory Maxwell [ARCHIVE] on Nostr: 📅 Original date posted:2011-10-27 🗒️ Summary of this message: The author ...
đź“… Original date posted:2011-10-27
🗒️ Summary of this message: The author opposes checkmultisig as a standard transaction type due to a misunderstanding of the bijection between hash160s and public keys.
📝 Original message:(taking this a bit out of order)
On Thu, Oct 27, 2011 at 3:32 AM, Michael Grønager <gronager at ceptacle.com> wrote:
> OK, let me try to explain what I see is the problem:
[snip]
> This, I find a nice and clean setup, where cryptographic keys can be mapped to assets.
>From my perspective that clean boundary remains: Functionally the
script is part of the cryptographic key.
[snip]
> except if you also have the knowledge of the script that was used.
Which you must.
I can see no functional difference than if you said of the current
system "except if you also have knowledge of the final 32 bits of the
ECC private key".
I don't see any reason to expect clients to identify funds without
knowing the information required— it's impossible. I mean, sure, you
_could_ bruteforce the final 32 bits of your private key— or you could
attempt to try the cartesian product of every key you have with every
key seen in the block chain for finding an op_eval script. But thats
unworkable, unnecessary, equally bad for all client types, and not
being suggested. Under either system a coin is not yours unless you
know all of the right bits— knowing some is not good enough.
Could you suggest how else we could gain the advantages of op_eval
without it? How can I secure my wallet under whatever scheme I like—
create a trust that requires multiparty signoff— and securely have
senders pay into it without expecting them all to handle some rare and
complicated procedure for sending to me? (Or a burdensome address
which serializes a script and a large amount of data into hundreds of
characters, and which still may be unable to represent the rules I
wish to have govern my account— and which the sender might mutate—
e.g. twiddling the threshold counts— and cause me great
problems/confusion)
[snip]
> So far we the bitcoin addresses are (for all practical purposes) a one-to-one mapping between a pubkey and uint160. This mean that your wallet is defined solely by your privatekeys (from which you can extract pubkeys and then uint160 btc-addresses).
[snip]
> I agree that it will work and I (and bitcoin-js and blockexplorer) can of change the concept of a wallet to also include scripts, but it breaks an intrinsic logic of uint160s and transactions that has so far been quite nice and clean.
>
> So I also support checkmultisig to be the standard transaction type, but I do not appreciate the support of OP_EVAL.
On the basis of the discussion here I now oppose checkmultisig as a
standard transaction type. (Sorry, I'm not trying to be a jerk if it
came off that way, I'm not opposing it simply because you support it:)
The advantage I saw of having it was faster deployment for the
explicit escrow cases that don't need to encode the payment rules in
an address (as is needed for wallet security and trusts)... but it
seems to me that there is a serious misunderstanding that there is a
bijection between hash160s and public keys, and one between ECC
private keys and spendable transactions, and that this bijection is
desirable or even essential to bitcoin.
I'm concerned that this misunderstanding will moot the flexibility of
the script system because every script that doesn't look like a direct
mapping of hash160->pubkey->payee will be regarded as _broken_— not
just useless to one app or another which could have simply chosen not
to generate those addresses— but actually incompatible with bitcoin,
as is basically being argued here— or, keeping in mind that people can
freely mine non-standard transactions, could this result in tools
which are rendered insecure by unexpected transaction types— Will a
system that thinks HASH160 = IDENTITY recognize that a script which
also requires an additional secret key on the stack is unspendable?
Keeping checkmultisig alone as a standard transaction, when it's
functionally a redundant subset of OP_EVAL (and inferior because it
reduces the txn you can place in a block) could only further that
misunderstanding. :-/
Published at
2023-06-07 02:35:48Event JSON
{
"id": "2d6da57a4e5e4c34bc73d41787355cae9feb706958a35098bef50b51f610a1be",
"pubkey": "4aa6cf9aa5c8e98f401dac603c6a10207509b6a07317676e9d6615f3d7103d73",
"created_at": 1686105348,
"kind": 1,
"tags": [
[
"e",
"38ab95ef62f6301977f9dec6ff3b1f25746d558345bec15abbd412157a28a77b",
"",
"root"
],
[
"e",
"a4d0a82278b8e46405386491465f67104297f88362ce3a62ee74ec4a38567f10",
"",
"reply"
],
[
"p",
"a277336e95d2d0a831fff67fc80d8082322689a88ede9f877fa246a02629a43f"
]
],
"content": "📅 Original date posted:2011-10-27\n🗒️ Summary of this message: The author opposes checkmultisig as a standard transaction type due to a misunderstanding of the bijection between hash160s and public keys.\n📝 Original message:(taking this a bit out of order)\n\nOn Thu, Oct 27, 2011 at 3:32 AM, Michael Grønager \u003cgronager at ceptacle.com\u003e wrote:\n\u003e OK, let me try to explain what I see is the problem:\n[snip]\n\u003e This, I find a nice and clean setup, where cryptographic keys can be mapped to assets.\n\n\u003eFrom my perspective that clean boundary remains: Functionally the\nscript is part of the cryptographic key.\n\n[snip]\n\u003e except if you also have the knowledge of the script that was used.\n\nWhich you must.\n\nI can see no functional difference than if you said of the current\nsystem \"except if you also have knowledge of the final 32 bits of the\nECC private key\".\n\nI don't see any reason to expect clients to identify funds without\nknowing the information required— it's impossible. I mean, sure, you\n_could_ bruteforce the final 32 bits of your private key— or you could\nattempt to try the cartesian product of every key you have with every\nkey seen in the block chain for finding an op_eval script. But thats\nunworkable, unnecessary, equally bad for all client types, and not\nbeing suggested. Under either system a coin is not yours unless you\nknow all of the right bits— knowing some is not good enough.\n\nCould you suggest how else we could gain the advantages of op_eval\nwithout it? How can I secure my wallet under whatever scheme I like—\ncreate a trust that requires multiparty signoff— and securely have\nsenders pay into it without expecting them all to handle some rare and\ncomplicated procedure for sending to me? (Or a burdensome address\nwhich serializes a script and a large amount of data into hundreds of\ncharacters, and which still may be unable to represent the rules I\nwish to have govern my account— and which the sender might mutate—\ne.g. twiddling the threshold counts— and cause me great\nproblems/confusion)\n\n[snip]\n\u003e So far we the bitcoin addresses are (for all practical purposes) a one-to-one mapping between a pubkey and uint160. This mean that your wallet is defined solely by your privatekeys (from which you can extract pubkeys and then uint160 btc-addresses).\n[snip]\n\u003e I agree that it will work and I (and bitcoin-js and blockexplorer) can of change the concept of a wallet to also include scripts, but it breaks an intrinsic logic of uint160s and transactions that has so far been quite nice and clean.\n\u003e\n\u003e So I also support checkmultisig to be the standard transaction type, but I do not appreciate the support of OP_EVAL.\n\nOn the basis of the discussion here I now oppose checkmultisig as a\nstandard transaction type. (Sorry, I'm not trying to be a jerk if it\ncame off that way, I'm not opposing it simply because you support it:)\n\nThe advantage I saw of having it was faster deployment for the\nexplicit escrow cases that don't need to encode the payment rules in\nan address (as is needed for wallet security and trusts)... but it\nseems to me that there is a serious misunderstanding that there is a\nbijection between hash160s and public keys, and one between ECC\nprivate keys and spendable transactions, and that this bijection is\ndesirable or even essential to bitcoin.\n\nI'm concerned that this misunderstanding will moot the flexibility of\nthe script system because every script that doesn't look like a direct\nmapping of hash160-\u003epubkey-\u003epayee will be regarded as _broken_— not\njust useless to one app or another which could have simply chosen not\nto generate those addresses— but actually incompatible with bitcoin,\nas is basically being argued here— or, keeping in mind that people can\nfreely mine non-standard transactions, could this result in tools\nwhich are rendered insecure by unexpected transaction types— Will a\nsystem that thinks HASH160 = IDENTITY recognize that a script which\nalso requires an additional secret key on the stack is unspendable?\n\nKeeping checkmultisig alone as a standard transaction, when it's\nfunctionally a redundant subset of OP_EVAL (and inferior because it\nreduces the txn you can place in a block) could only further that\nmisunderstanding. :-/",
"sig": "3323b3bb90f9d283d0103d78707ad2c569f6c7394f10ae0587fd96729eb8567c632f62b6c2679a8b86a4ba8968c48f00525ef68280b2b20de189a451326cbd82"
}