Robert McKay [ARCHIVE] on Nostr: π
Original date posted:2012-05-24 π Original message:On Thu, 24 May 2012 ...
π
Original date posted:2012-05-24
π Original message:On Thu, 24 May 2012 12:33:12 -0400, Jeff Garzik wrote:
> There appears to be some non-trivial mining power devoted to mining
> empty blocks. Even with satoshi's key observation -- hash a fixed
> 80-byte header, not the entire block -- some miners still find it
> easier to mine empty blocks, rather than watch the network for new
> transactions.
>
> Therefore I was wondering what people thought about a client
> implementation change:
>
> - Do not store or relay empty blocks, if time since last block <
> X
> (where X = 60 minutes, perhaps)
>
> or even stronger,
>
> - Ensure latest block includes at least X percent of mempool
> unconfirmed TXs
If miners wanted to continue mining empty blocks without bothering to
monitor the Tx pool they would just switch to stuffing the empty blocks
with a dummy transaction of their own to get round your new rules. They
could also spam them to the p2p network so that they end up in the
mempool if that were necessary. This would probably still be slightly
easier than 'doing it properly'.
Once the block reward halves in a few months time then receiving
transaction fees will probably become more important to the miner's
profit and loss calculations and they'll spend the extra time to
implement proper transaction processing. I suspect if we do nothing this
particular issue will go away. Perhaps it could be helped along by
publishing some example code to make it easier for them.
The ability to refuse transactions seems like an important part of the
game theory of transaction pricing. Miners are supposed to be able to
jack up transaction costs by declining to process no fee or too low fee
(in their opinion) transactions.. the counter balance is that they are
losing money by doing that and leaving more on the table for the next
miner to score a block.
I expect that in the future there will be other instances when people
complain that the miners are being 'unfair' and that the rules should be
changed in some way to lower transaction fees (ie: increase block size).
If block sizes are increased ever larger and miners aren't allowed to
refuse to process transactions it will get rid of the financial
motivation for mining and less mining will happen. We should be very
careful when making these kinds of changes.
Setting percentage quotas of stuff in the mempool sounds dangerous..
miners that hear about a block from a rival miner soon enough could
possibly DOS the mempool on the rest of the network to get the block
rejected. I think it should be legitimate not to publish a transaction
to the p2p network at all.. in the future there will probably be lots of
networks other than the p2p network.. right now we have the IPv6 network
and the IPv4 network.. in the future there could be many other protocols
and perhaps not all transactions will make it back to the old legacy
ipv4 p2p network or into the mempool of bitcoin nodes on that network..
but they should still be able to get into the block chain.
Rob
Published at
2023-06-07 10:09:26Event JSON
{
"id": "471dd783dd53b5050259dd43d11ab200e153889fb5a6919e3b2d22ed66c79254",
"pubkey": "5ea1cbeab9d50021496bba53fd43b1c7501d58bc84cd506595942424f8dc69c3",
"created_at": 1686132566,
"kind": 1,
"tags": [
[
"e",
"bea123cfa1dde96d98089cdcf953f77564e34363cd7b11c4a3504634664d4aa2",
"",
"root"
],
[
"e",
"99ad0d80d464ab57189a5df452020578790904cfcf70a29b66ac5b4e7c78257f",
"",
"reply"
],
[
"p",
"b25e10e25d470d9b215521b50da0dfe7a209bec7fedeb53860c3e180ffdc8c11"
]
],
"content": "π
Original date posted:2012-05-24\nπ Original message:On Thu, 24 May 2012 12:33:12 -0400, Jeff Garzik wrote:\n\u003e There appears to be some non-trivial mining power devoted to mining\n\u003e empty blocks. Even with satoshi's key observation -- hash a fixed\n\u003e 80-byte header, not the entire block -- some miners still find it\n\u003e easier to mine empty blocks, rather than watch the network for new\n\u003e transactions.\n\u003e\n\u003e Therefore I was wondering what people thought about a client\n\u003e implementation change:\n\u003e\n\u003e - Do not store or relay empty blocks, if time since last block \u003c \n\u003e X\n\u003e (where X = 60 minutes, perhaps)\n\u003e\n\u003e or even stronger,\n\u003e\n\u003e - Ensure latest block includes at least X percent of mempool\n\u003e unconfirmed TXs\n\nIf miners wanted to continue mining empty blocks without bothering to \nmonitor the Tx pool they would just switch to stuffing the empty blocks \nwith a dummy transaction of their own to get round your new rules. They \ncould also spam them to the p2p network so that they end up in the \nmempool if that were necessary. This would probably still be slightly \neasier than 'doing it properly'.\n\nOnce the block reward halves in a few months time then receiving \ntransaction fees will probably become more important to the miner's \nprofit and loss calculations and they'll spend the extra time to \nimplement proper transaction processing. I suspect if we do nothing this \nparticular issue will go away. Perhaps it could be helped along by \npublishing some example code to make it easier for them.\n\nThe ability to refuse transactions seems like an important part of the \ngame theory of transaction pricing. Miners are supposed to be able to \njack up transaction costs by declining to process no fee or too low fee \n(in their opinion) transactions.. the counter balance is that they are \nlosing money by doing that and leaving more on the table for the next \nminer to score a block.\n\nI expect that in the future there will be other instances when people \ncomplain that the miners are being 'unfair' and that the rules should be \nchanged in some way to lower transaction fees (ie: increase block size).\n\nIf block sizes are increased ever larger and miners aren't allowed to \nrefuse to process transactions it will get rid of the financial \nmotivation for mining and less mining will happen. We should be very \ncareful when making these kinds of changes.\n\nSetting percentage quotas of stuff in the mempool sounds dangerous.. \nminers that hear about a block from a rival miner soon enough could \npossibly DOS the mempool on the rest of the network to get the block \nrejected. I think it should be legitimate not to publish a transaction \nto the p2p network at all.. in the future there will probably be lots of \nnetworks other than the p2p network.. right now we have the IPv6 network \nand the IPv4 network.. in the future there could be many other protocols \nand perhaps not all transactions will make it back to the old legacy \nipv4 p2p network or into the mempool of bitcoin nodes on that network.. \nbut they should still be able to get into the block chain.\n\nRob",
"sig": "febb9635eb2de26c8c5ac129aa140b217e970981807a029bfd3507d657cae3dd55fec1c40f4e45a65705a46e0904c5be79c3521c376237bf467fe2382057bbb6"
}