Pieter Wuille [ARCHIVE] on Nostr: 📅 Original date posted:2015-12-16 📝 Original message:On Wed, Dec 16, 2015 at ...
📅 Original date posted:2015-12-16
📝 Original message:On Wed, Dec 16, 2015 at 9:38 PM, Jeff Garzik via bitcoin-dev
<bitcoin-dev at lists.linuxfoundation.org> wrote:
> 4.3. Observations on new block economic model
>
> SW complicates block economics by creating two separate, supply limited
> resources.
Not correct. I propose defining the virtual_block_size as base_size +
witness_size * 0.25, and limiting virtual_block_size to 1M. This
creates a single variable to optimize for. If accepted, miners are
incentived to maximize fee per virtual_block_size instead of per size.
Wallet software can individually choose whether to upgrade or not.
Once they upgrade, they get to perform 1.75x as many transactions for
the same fee (assuming non-complex transactions), and this is
independent of whether anyone else upgrades.
> 5.1. Problem: Pace of roll-out will be slow - Whole Ecosystem must be
> considered.
>
> The current apparent proposal is to roll out Segregated Witness as a soft
> fork, and keep block size at 1M.
>
> The roll-out pace cannot simply be judged by soft fork speed - which is
> months at best. Analysis must the layers above: Updating bitcoin-core (JS)
> and bitcoinj (Java), and then the timelines to roll out those updates to
> apps, and then the timeline to update those apps to create extended
> transactions.
Agree, however everyone can upgrade whenever they want, and get the
reduced fees as soon as they do. This is contrary to a hard fork,
which forces every full node to upgrade at once (though indeed, light
clients are not necessarily forced to upgrade).
> 5.2. Problem: Hard fork to bigger block size Just Works(tm) with most
> software, unlike SW.
>
> A simple hard fork such as BIP 102 is automatically compatible with the vast
> range of today's ecosystem software.
>
> SW requires merchants to upgrade almost immediately, requires wallet and
> other peripheral software upgrades to make use of. Other updates are opt-in
> and occur more slowly. BIP 70 processors need some updates.
>
> The number of LOC that must change for BIP 102 is very small, and the
> problem domain well known, versus SW.
It multiplies all current DoS vectors by a factor equal to the
capacity increase factor. SW increases capacity while leaving several
worst-case effects constant.
> 5.4. Problem: More complex economic policy, new game theory, new bidding
> structure risks.
>
> Splitting blocks into two pieces, each with separate and distinct behaviors
> and resource values, creates two fee markets.
I believe you have misunderstood the proposal in that case.
> 5.5. Problem: Current SW mining algorithm needs improvement
>
> Current SW block template maker does a reasonable job, but makes some naive
> assumptions about the fee market across an entire extended block. This is a
> mismatch with the economic reality (just described).
Again, I think you misunderstood. The proposal includes a single new
formula for block size, and optimizes for it. In case the proposal is
accepted, the mining code is automatically as optimal as it was
before.
> 6. Conclusions and recommendations
>
> A "short term bump" hard fork block size increase addresses economic and
> ecosystem risks that SW does not.
>
> Bump + SW should proceed in parallel, independent tracks, as orthogonal
> issues.
I agree here. SW is not a replacement for a scale increase. However, I
think it can be adopted much more easily, as it doesn't require the
massively pervasive consensus that a hardfork requires to perform
safely.
> 7. Appendix - Other SW comments
>
> Hard forks provide much stronger validation, and ensure the network operates
> at a fully trustless level.
>
> SW hard fork is preferred, versus soft fork. Soft forking SW places a huge
> amount of trust on miners to validate transaction signatures, versus the
> rest of the network, as the network slowly upgrades to newer clients.
But old clients may not care about the new rules, and they still
validate the old ones they chose to enforce.
Furthermore, soft forks cannot be prevented: miners can always choose
to enforce stronger rules than the network demands from them.
--
Pieter
Published at
2023-06-07 17:46:39Event JSON
{
"id": "21a01affe6676d08a52a4054701ed62a78b29e7fc9111d6e4f82db21af95c23b",
"pubkey": "5cb21bf5d7f25a9d46879713cbd32433bbc10e40ef813a3c28fe7355f49854d6",
"created_at": 1686159999,
"kind": 1,
"tags": [
[
"e",
"46b1d48aa4e00b636e8dc4e9c37e717542bb528954bcd46114dd6b14e1119e69",
"",
"root"
],
[
"e",
"f7c9da787250221203a8f9137b5d207f9c14f942aab24bec81131cac45c8ed61",
"",
"reply"
],
[
"p",
"acb285844a596699e52000de0aaf258d239adaa6a115451c0954683e7f828773"
]
],
"content": "📅 Original date posted:2015-12-16\n📝 Original message:On Wed, Dec 16, 2015 at 9:38 PM, Jeff Garzik via bitcoin-dev\n\u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\u003e 4.3. Observations on new block economic model\n\u003e\n\u003e SW complicates block economics by creating two separate, supply limited\n\u003e resources.\n\nNot correct. I propose defining the virtual_block_size as base_size +\nwitness_size * 0.25, and limiting virtual_block_size to 1M. This\ncreates a single variable to optimize for. If accepted, miners are\nincentived to maximize fee per virtual_block_size instead of per size.\n\nWallet software can individually choose whether to upgrade or not.\nOnce they upgrade, they get to perform 1.75x as many transactions for\nthe same fee (assuming non-complex transactions), and this is\nindependent of whether anyone else upgrades.\n\n\u003e 5.1. Problem: Pace of roll-out will be slow - Whole Ecosystem must be\n\u003e considered.\n\u003e\n\u003e The current apparent proposal is to roll out Segregated Witness as a soft\n\u003e fork, and keep block size at 1M.\n\u003e\n\u003e The roll-out pace cannot simply be judged by soft fork speed - which is\n\u003e months at best. Analysis must the layers above: Updating bitcoin-core (JS)\n\u003e and bitcoinj (Java), and then the timelines to roll out those updates to\n\u003e apps, and then the timeline to update those apps to create extended\n\u003e transactions.\n\nAgree, however everyone can upgrade whenever they want, and get the\nreduced fees as soon as they do. This is contrary to a hard fork,\nwhich forces every full node to upgrade at once (though indeed, light\nclients are not necessarily forced to upgrade).\n\n\u003e 5.2. Problem: Hard fork to bigger block size Just Works(tm) with most\n\u003e software, unlike SW.\n\u003e\n\u003e A simple hard fork such as BIP 102 is automatically compatible with the vast\n\u003e range of today's ecosystem software.\n\u003e\n\u003e SW requires merchants to upgrade almost immediately, requires wallet and\n\u003e other peripheral software upgrades to make use of. Other updates are opt-in\n\u003e and occur more slowly. BIP 70 processors need some updates.\n\u003e\n\u003e The number of LOC that must change for BIP 102 is very small, and the\n\u003e problem domain well known, versus SW.\n\nIt multiplies all current DoS vectors by a factor equal to the\ncapacity increase factor. SW increases capacity while leaving several\nworst-case effects constant.\n\n\u003e 5.4. Problem: More complex economic policy, new game theory, new bidding\n\u003e structure risks.\n\u003e\n\u003e Splitting blocks into two pieces, each with separate and distinct behaviors\n\u003e and resource values, creates two fee markets.\n\nI believe you have misunderstood the proposal in that case.\n\n\u003e 5.5. Problem: Current SW mining algorithm needs improvement\n\u003e\n\u003e Current SW block template maker does a reasonable job, but makes some naive\n\u003e assumptions about the fee market across an entire extended block. This is a\n\u003e mismatch with the economic reality (just described).\n\nAgain, I think you misunderstood. The proposal includes a single new\nformula for block size, and optimizes for it. In case the proposal is\naccepted, the mining code is automatically as optimal as it was\nbefore.\n\n\u003e 6. Conclusions and recommendations\n\u003e\n\u003e A \"short term bump\" hard fork block size increase addresses economic and\n\u003e ecosystem risks that SW does not.\n\u003e\n\u003e Bump + SW should proceed in parallel, independent tracks, as orthogonal\n\u003e issues.\n\nI agree here. SW is not a replacement for a scale increase. However, I\nthink it can be adopted much more easily, as it doesn't require the\nmassively pervasive consensus that a hardfork requires to perform\nsafely.\n\n\u003e 7. Appendix - Other SW comments\n\u003e\n\u003e Hard forks provide much stronger validation, and ensure the network operates\n\u003e at a fully trustless level.\n\u003e\n\u003e SW hard fork is preferred, versus soft fork. Soft forking SW places a huge\n\u003e amount of trust on miners to validate transaction signatures, versus the\n\u003e rest of the network, as the network slowly upgrades to newer clients.\n\nBut old clients may not care about the new rules, and they still\nvalidate the old ones they chose to enforce.\n\nFurthermore, soft forks cannot be prevented: miners can always choose\nto enforce stronger rules than the network demands from them.\n\n-- \nPieter",
"sig": "fd63981be16fc8c7d110918394274da45aa4876e41f7cce0b6b9d2cd01bb99bca40c7f7a895001c3cc6dc6413775cdcab7fc05778089041701a1d8e2cb6a195e"
}