Jorge Tim贸n [ARCHIVE] on Nostr: 馃搮 Original date posted:2015-07-12 馃摑 Original message:On Sat, Jul 11, 2015 at ...
馃搮 Original date posted:2015-07-12
馃摑 Original message:On Sat, Jul 11, 2015 at 12:39 PM, Tier Nolan <tier.nolan at gmail.com> wrote:
>
>
> On Sat, Jul 11, 2015 at 10:24 AM, Jorge Tim贸n <jtimon at jtimon.cc> wrote:
>>
>> I think it would be more rational for them to keep mining on top of the
>> old block until they've fully validated the new block (which shouldn't take
>> so long anyway), even if this slightly increases the orphan rate.
>
>
> Increased orphan rate means that the network is (slightly) less secure.
>
> If miners have a 5% orphan rate, then an attacker can launch a 51% attack
> with 49% of the network.
>
> It isn't a massive difference, but it is there.
If miners aren't validating the blocks they mine on top of, an
attacker can do more nasty things I think.
> As long as miners switch back to non-SPV mining after a timeout, SPV-mining
> is safe for everyone.
>
> The average cost to the miner from building on an invalid block is small, as
> long as invalid blocks only happen rarely.
>
> Miners still have an incentive to do full validation, so that they can
> include transactions and get transaction fees.
>
> SPV-mining is to prevent hashing hardware from having to waste power when it
> isn't needed.
As long as miners switch back to the new longest chain after they
validate the block, mining on top of the
non-most-work-but-surely-valid may be less risky than mining on top of
a most-work-but-potentially-invalid block.
This has risks too. In both cases, if they don't mine a block during
the block validation, everything is fine.
If they successfully SPV mine, they risk having mined on top of an
invalid block, which not only means lost coins for them but high risk
for regular SPV users.
If they successfully mine on top of the previous block, they start a
mini-race that they can win or not, but the impact to regular SPV
users is much lower.
The later may be slightly less profitable, but I bet the difference is
negligible. It would be interesting to know if miners actually did
this numbers and how (in case their model is incomplete or flawed).
It is important to note that while SPV mining requires you to produce
empty blocks, mining on the previous on top of the previous block
allows you to include transactions and earn fees.
In a future where block rewards aren't so overwhelmingly dominated by
subsidies, the numbers will run against SPV mining.
In a future without (or with negligible) subsidy, SPV mining is always
inferior to just keep mining on top of the same block you were mining
until you fully validate the next one.
> It may be less of a problem if (when?) electricity costs dominate hardware
> capital costs.
This seems correct (for both cases).
It's also less worrying the shorter the full validation time of a block is.
Published at
2023-06-07 15:41:58Event JSON
{
"id": "15b9006a08cafa8024adf68488e8c7ec3dfc56315c455b3f9edfd17383b90a59",
"pubkey": "498a711971f8a0194289aee037a4c481a99e731b5151724064973cc0e0b27c84",
"created_at": 1686152518,
"kind": 1,
"tags": [
[
"e",
"ef35253bcdea2893119795b7cc165cc128265903678b066cae13547380a0a73d",
"",
"root"
],
[
"e",
"5dfef58c42cd087376d0215031baafb8349c90e86b31d0929ae46170e989cc62",
"",
"reply"
],
[
"p",
"46986f86b97cc97829a031b03209644d134b939d0163375467f0b1363e0d875e"
]
],
"content": "馃搮 Original date posted:2015-07-12\n馃摑 Original message:On Sat, Jul 11, 2015 at 12:39 PM, Tier Nolan \u003ctier.nolan at gmail.com\u003e wrote:\n\u003e\n\u003e\n\u003e On Sat, Jul 11, 2015 at 10:24 AM, Jorge Tim贸n \u003cjtimon at jtimon.cc\u003e wrote:\n\u003e\u003e\n\u003e\u003e I think it would be more rational for them to keep mining on top of the\n\u003e\u003e old block until they've fully validated the new block (which shouldn't take\n\u003e\u003e so long anyway), even if this slightly increases the orphan rate.\n\u003e\n\u003e\n\u003e Increased orphan rate means that the network is (slightly) less secure.\n\u003e\n\u003e If miners have a 5% orphan rate, then an attacker can launch a 51% attack\n\u003e with 49% of the network.\n\u003e\n\u003e It isn't a massive difference, but it is there.\n\nIf miners aren't validating the blocks they mine on top of, an\nattacker can do more nasty things I think.\n\n\u003e As long as miners switch back to non-SPV mining after a timeout, SPV-mining\n\u003e is safe for everyone.\n\u003e\n\u003e The average cost to the miner from building on an invalid block is small, as\n\u003e long as invalid blocks only happen rarely.\n\u003e\n\u003e Miners still have an incentive to do full validation, so that they can\n\u003e include transactions and get transaction fees.\n\u003e\n\u003e SPV-mining is to prevent hashing hardware from having to waste power when it\n\u003e isn't needed.\n\nAs long as miners switch back to the new longest chain after they\nvalidate the block, mining on top of the\nnon-most-work-but-surely-valid may be less risky than mining on top of\na most-work-but-potentially-invalid block.\nThis has risks too. In both cases, if they don't mine a block during\nthe block validation, everything is fine.\nIf they successfully SPV mine, they risk having mined on top of an\ninvalid block, which not only means lost coins for them but high risk\nfor regular SPV users.\nIf they successfully mine on top of the previous block, they start a\nmini-race that they can win or not, but the impact to regular SPV\nusers is much lower.\nThe later may be slightly less profitable, but I bet the difference is\nnegligible. It would be interesting to know if miners actually did\nthis numbers and how (in case their model is incomplete or flawed).\n\nIt is important to note that while SPV mining requires you to produce\nempty blocks, mining on the previous on top of the previous block\nallows you to include transactions and earn fees.\nIn a future where block rewards aren't so overwhelmingly dominated by\nsubsidies, the numbers will run against SPV mining.\nIn a future without (or with negligible) subsidy, SPV mining is always\ninferior to just keep mining on top of the same block you were mining\nuntil you fully validate the next one.\n\n\u003e It may be less of a problem if (when?) electricity costs dominate hardware\n\u003e capital costs.\n\nThis seems correct (for both cases).\nIt's also less worrying the shorter the full validation time of a block is.",
"sig": "c93e5e32c2592ff2be2bf38ca330174fd556e0fc087c3eaaf2d64457e40f53cd089aa96a18416eccb0abb1a2e01f1b62a282c35b3acdbc2c755bb5c322a996d4"
}