Christian Decker [ARCHIVE] on Nostr: 📅 Original date posted:2016-09-22 📝 Original message:On Thu, Sep 22, 2016 at ...
📅 Original date posted:2016-09-22
📝 Original message:On Thu, Sep 22, 2016 at 10:56:31AM +0200, Tom via bitcoin-dev wrote:
> On Wednesday 21 Sep 2016 18:01:30 Gregory Maxwell via bitcoin-dev wrote:
> > On Tue, Sep 20, 2016 at 5:15 PM, Tom via bitcoin-dev
> >
> > <bitcoin-dev at lists.linuxfoundation.org> wrote:
> > > BIP number for my FT spec.
> >
> > This document does not appear to be concretely specified enough to
> > review or implement from it.
> >
> > For example, it does not specify the serialization of "integer"
>
> It refers to the external specification which is linked at the bottom.
> In that spec you'll see that "Integer" is the standard var-int that Bitcoin
> has used for years.
I think BIPs should be self-contained, or rely on previous BIPs,
whenever possible. Referencing an external formatting document should
be avoided and requiring readers to reverse engineer a reference
implementation doesn't seem too user friendly either. Publishing a BIP
with CMF would certainly help, and completing this spec with the
details that are missing, or only "defined" in the implementation,
would be better.
> > nor does it specify how the
> > presence of the optional fields are signaled
>
> How does one signals an optional field except of in the spec? Thats the job of
> a specification.
So the presence is signaled by encountering the tag, which contains
both token type and name-reference. The encoder and decoder operations
could be described better.
> > nor the cardinality of
> > the inputs or outputs.
>
> Did you miss this in the 3rd table ? I suggest clicking on the github bips
> repo link as tables are not easy to read in mediawiki plain format that the
> email contained.
Minor nit: that table is not well-formed. As was pointed out in the
normalized transaction ID BIP, your proposal only addresses
third-party malleability, since signers can simply change the
transaction and re-sign it. This is evident from the fact that inputs
and outputs do not have a canonical order and it would appear that
tokens can be re-ordered in segments. Dependencies of tokens inside a
segment are also rather alarming (TxInPrevHash <-> TxInPrevIndex,
TxOutScript <-> TxOutValue).
Finally, allowing miners to reject transactions with unknown fields
makes the OP_NOPs unusable since they'd result in forks: non-upgraded
nodes would reject blocks from upgraded nodes.
Regards,
Christian
Published at
2023-06-07 17:53:27Event JSON
{
"id": "6a2bf3a89a209a0041380539fb38bd9d4eb5c5f1aa77a4805a8d6f2983d73fef",
"pubkey": "72cd40332ec782dd0a7f63acb03e3b6fdafa6d91bd1b6125cd8b7117a1bb8057",
"created_at": 1686160407,
"kind": 1,
"tags": [
[
"e",
"1a569d98e0e6ce5c9d61181fddad681419ffdb691b73a42ccb4919035df06596",
"",
"root"
],
[
"e",
"1842a37ea167652569e90efa67e8610bb2f995bf6fd8ff70eceaefebe208b049",
"",
"reply"
],
[
"p",
"bc4b5c3c366f36f93aa3e261f5c7832ecb85137537baf5e8f00a4321e85f0477"
]
],
"content": "📅 Original date posted:2016-09-22\n📝 Original message:On Thu, Sep 22, 2016 at 10:56:31AM +0200, Tom via bitcoin-dev wrote:\n\u003e On Wednesday 21 Sep 2016 18:01:30 Gregory Maxwell via bitcoin-dev wrote:\n\u003e \u003e On Tue, Sep 20, 2016 at 5:15 PM, Tom via bitcoin-dev\n\u003e \u003e \n\u003e \u003e \u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\u003e \u003e \u003e BIP number for my FT spec.\n\u003e \u003e \n\u003e \u003e This document does not appear to be concretely specified enough to\n\u003e \u003e review or implement from it.\n\u003e \u003e \n\u003e \u003e For example, it does not specify the serialization of \"integer\"\n\u003e \n\u003e It refers to the external specification which is linked at the bottom.\n\u003e In that spec you'll see that \"Integer\" is the standard var-int that Bitcoin \n\u003e has used for years.\n\nI think BIPs should be self-contained, or rely on previous BIPs,\nwhenever possible. Referencing an external formatting document should\nbe avoided and requiring readers to reverse engineer a reference\nimplementation doesn't seem too user friendly either. Publishing a BIP\nwith CMF would certainly help, and completing this spec with the\ndetails that are missing, or only \"defined\" in the implementation,\nwould be better.\n\n\u003e \u003e nor does it specify how the\n\u003e \u003e presence of the optional fields are signaled \n\u003e \n\u003e How does one signals an optional field except of in the spec? Thats the job of \n\u003e a specification.\n\nSo the presence is signaled by encountering the tag, which contains\nboth token type and name-reference. The encoder and decoder operations\ncould be described better.\n\n\u003e \u003e nor the cardinality of\n\u003e \u003e the inputs or outputs. \n\u003e \n\u003e Did you miss this in the 3rd table ? I suggest clicking on the github bips \n\u003e repo link as tables are not easy to read in mediawiki plain format that the \n\u003e email contained.\n\nMinor nit: that table is not well-formed. As was pointed out in the\nnormalized transaction ID BIP, your proposal only addresses\nthird-party malleability, since signers can simply change the\ntransaction and re-sign it. This is evident from the fact that inputs\nand outputs do not have a canonical order and it would appear that\ntokens can be re-ordered in segments. Dependencies of tokens inside a\nsegment are also rather alarming (TxInPrevHash \u003c-\u003e TxInPrevIndex,\nTxOutScript \u003c-\u003e TxOutValue).\n\nFinally, allowing miners to reject transactions with unknown fields\nmakes the OP_NOPs unusable since they'd result in forks: non-upgraded\nnodes would reject blocks from upgraded nodes.\n\nRegards,\nChristian",
"sig": "a1d58ea0812cfbb8c56396cdc2bcd289a9cda5ba268bf7cb466c31f47ced4a8ea9bd904bc7690df8d02ce019bb1d8f6d279718f9fa9287c60b0a0e272985ae7a"
}