Mike Hearn [ARCHIVE] on Nostr: đź“… Original date posted:2012-06-24 đź“ť Original message:I've been having a ...
đź“… Original date posted:2012-06-24
📝 Original message:I've been having a discussion with d'aniel from the forums about how
to handle the possibility of a majority-miner conspiracy to raise
inflation, if most economic actors use SPV clients.
Because of how blocks are formatted you cannot check the coinbase of a
transaction without knowing the fees in the block, and the fees can
only be calculated if you have all the input transactions for every
transaction in that block. Because the attack scenario is an attempted
takeover of the economy by miners, attempting to put hints into the
blocks won't work - we have to assume the hardest chain is in fact
wrong according to the rules signed up to by the Bitcoin user.
The most obvious goal for a cartel of miners is to change the
inflation formula, either for purely selfish reasons (they want more
money than can be obtained by fees) or due to coercion by
governments/central banks who still subscribe to the "inflation is
good" idea.
Whilst "good" nodes (still on the old ruleset) won't relay blocks that
violate the rules no matter how hard they are, in a situation where an
SPV client DOES hear about the bad best chain, it would switch to it
automatically. And who knows how the network might look in future -
perhaps most nodes would end up run by miners, or other entities that
upgrade to the new ruleset for other reasons.
d'aniel made a good proposal - having good nodes broadcast
announcements when they detect a rule that breaks the rules, along
with a proof that it did so. Checking the proof might be very
expensive, but it would only have to be done for split points,
limiting the potential for DoS. If a node announces that it has a
weaker chain and that the split point is a rule-breaker, the SPV
client would download the headers for the side chain to verify the
split, then download all the transactions in the split block along
with all their inputs, and the merkle branches linking the inputs to
the associated block headers. In this way the fee can be calculated,
the inflation formula applied and the coinbase value checked.
If the block is indeed found to be a rule-breaker, it'd be blacklisted
and chains from that point forward ignored.
Miners may decide to allow themselves to create money with
non-index-zero transactions to work around this. In that case the good
node can announce that a given tx in the rule-breaker block is
invalid. The SPV node would then challenge nodes announcing the longer
chain to provide the inputs for the bad tx all the way back to a
pre-split coinbase.
Doing these checks would be rather time consuming with huge blocks,
but it's a last resort only. In the absence of bugs, the mere presence
of the mechanism should ensure it never has to be used.
Published at
2023-06-07 10:18:56Event JSON
{
"id": "f7fdb28d835cc12de6b7086ebc1f505dc1f70c99de30a223126856be537fc9b1",
"pubkey": "f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2",
"created_at": 1686133136,
"kind": 1,
"tags": [
[
"e",
"f8342c3343db3557a450955db2f3efbd9fe235ca6d9bf012afa3ff8e356fd9dd",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2012-06-24\n📝 Original message:I've been having a discussion with d'aniel from the forums about how\nto handle the possibility of a majority-miner conspiracy to raise\ninflation, if most economic actors use SPV clients.\n\nBecause of how blocks are formatted you cannot check the coinbase of a\ntransaction without knowing the fees in the block, and the fees can\nonly be calculated if you have all the input transactions for every\ntransaction in that block. Because the attack scenario is an attempted\ntakeover of the economy by miners, attempting to put hints into the\nblocks won't work - we have to assume the hardest chain is in fact\nwrong according to the rules signed up to by the Bitcoin user.\n\nThe most obvious goal for a cartel of miners is to change the\ninflation formula, either for purely selfish reasons (they want more\nmoney than can be obtained by fees) or due to coercion by\ngovernments/central banks who still subscribe to the \"inflation is\ngood\" idea.\n\nWhilst \"good\" nodes (still on the old ruleset) won't relay blocks that\nviolate the rules no matter how hard they are, in a situation where an\nSPV client DOES hear about the bad best chain, it would switch to it\nautomatically. And who knows how the network might look in future -\nperhaps most nodes would end up run by miners, or other entities that\nupgrade to the new ruleset for other reasons.\n\nd'aniel made a good proposal - having good nodes broadcast\nannouncements when they detect a rule that breaks the rules, along\nwith a proof that it did so. Checking the proof might be very\nexpensive, but it would only have to be done for split points,\nlimiting the potential for DoS. If a node announces that it has a\nweaker chain and that the split point is a rule-breaker, the SPV\nclient would download the headers for the side chain to verify the\nsplit, then download all the transactions in the split block along\nwith all their inputs, and the merkle branches linking the inputs to\nthe associated block headers. In this way the fee can be calculated,\nthe inflation formula applied and the coinbase value checked.\n\nIf the block is indeed found to be a rule-breaker, it'd be blacklisted\nand chains from that point forward ignored.\n\nMiners may decide to allow themselves to create money with\nnon-index-zero transactions to work around this. In that case the good\nnode can announce that a given tx in the rule-breaker block is\ninvalid. The SPV node would then challenge nodes announcing the longer\nchain to provide the inputs for the bad tx all the way back to a\npre-split coinbase.\n\nDoing these checks would be rather time consuming with huge blocks,\nbut it's a last resort only. In the absence of bugs, the mere presence\nof the mechanism should ensure it never has to be used.",
"sig": "76e3066836ac19a290964a4f9bc5189c43a6fc4861038759414ca5f6244e073fc5f01778826ca1b9786ae078189274efd79252a1aae859bf73d2d7c256e439a3"
}