<oembed><type>rich</type><version>1.0</version><author_name>npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_name><author_url>https://nostr.ae/npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2022-07-11&#xA;📝 Original message:On Mon, Jul 11, 2022 at 11:12:52AM -0700, Bram Cohen via bitcoin-dev wrote:&#xA;&gt; If transaction fees came in at an even rate over time all at the exact same&#xA;&gt; level then they work fine for security, acting similarly to fixed block&#xA;&gt; rewards. Unfortunately that isn&#39;t how it works in the real world. There&#39;s a&#xA;&gt; very well established day/night cycle with fees going to zero overnight and&#xA;&gt; even longer gaps on weekends and holidays. If in the future Bitcoin is&#xA;&gt; entirely dependent on fees for security (scheduled very strongly) and this&#xA;&gt; pattern keeps up (overwhelmingly likely) then this is going to become a&#xA;&gt; serious problem.&#xA;&gt; &#xA;&gt; What&#39;s likely to happen is that at first there will simply be no or very&#xA;&gt; few blocks mined overnight. There are likely to be some, as miners at first&#xA;&gt; turn off their mining rigs completely overnight then adopt the more&#xA;&gt; sophisticated strategy of waiting until there are enough fees in the&#xA;&gt; mempool to warrant attempting to make a block and only then doing it.&#xA;&gt; Unfortunately the gaming doesn&#39;t end there. Eventually the miners with&#xA;&gt; lower costs of operation will figure out that they can collectively reorg&#xA;&gt; the last hour (or some time period) of the day overnight and this will be&#xA;&gt; profitable. That&#39;s likely to cause the miners with more expensive&#xA;&gt; operations to stop attempting mining the last hour of the day preemptively.&#xA;&gt; &#xA;&gt; What happens after that I&#39;m not sure. There are a small enough number of&#xA;&gt; miners with a quirky enough distribution of costs of operation and&#xA;&gt; profitability that the dynamic is heavily dependent on those specifics, but&#xA;&gt; the beginnings of a slippery slope to a mining cabal which reorgs everyone&#xA;&gt; else out of existence and eventually 51% attacks the whole thing have&#xA;&gt; begun. It even gets worse than that because once there&#39;s a cabal&#xA;&gt; aggressively reorging anyone else out when they make a block other miners&#xA;&gt; will shut down and rapidly lose the ability to quickly spin up again, so&#xA;&gt; the threshold needed for that 51% attack will keep going down.&#xA;&gt; &#xA;&gt; In short, relying completely on transaction fees for security is likely to&#xA;&gt; be a disaster. What we can say from existing experience is that having&#xA;&gt; transaction fees be about 10% of rewards on average works well. It&#39;s enough&#xA;&gt; to incentivize collecting fees but not so much that it makes incentives get&#xA;&gt; all weird. 90% transaction fees is probably very bad. 50% works but runs&#xA;&gt; the risk of spikes getting too high.&#xA;&gt; &#xA;&gt; There are a few possible approaches to fixes. One would be to drag most of&#xA;&gt; east asia eastward to a later time zone thus smoothing out the day/night&#xA;&gt; cycle but that&#39;s probably unrealistic. Another would be to hard fork in&#xA;&gt; fixed rewards in perpetuity, which is slightly less unrealistic but still&#xA;&gt; extremely problematic.&#xA;&gt; &#xA;&gt; Much more actionable are measures which smooth out fees over time.&#xA;&#xA;Note that a tricky thing here is that smoothing out fees is made difficult by&#xA;the fact that users can by-pass the fee system by including anyone-can-spend&#xA;outputs in their transactions. Or worse, by simply paying large miners&#xA;out-of-band to get their txs confirmed. So any smothing scheme that tries to&#xA;smooth the market-based fees we already have will fail.&#xA;&#xA;The only type of fee-smoothing scheme that is feasible is to smooth an entirely&#xA;separate category of fees that are made mandatory. For example, you could&#xA;achieve the economic impact of inflation by having a fixed value*time based fee&#xA;that goes to timelocked anyone-can-spend outputs in the coinbase to push the&#xA;fee forward to other miners.&#xA;&#xA;Doing this is of course a gigantic accounting headache, and problematic for&#xA;existing L2 protocols, because you are reducing the value of txouts as they age&#xA;(demurrage). But at least it&#39;s a soft-fork.&#xA;&#xA;Interestingly, if you look at transaction fees in blocks right now, people&#xA;regularly pay far higher transaction fees than necessary. There seem to be a&#xA;bunch of high value users, eg $1 million txs, without terrible fee estimation.&#xA;And I suspect the reason why this happens is simply that for a $1 million tx,&#xA;overpaying 100x with a $100 tx fee is irrelevant. Of course, this is also a&#xA;problem from the re-org point of view...&#xA;&#xA;&gt; Having&#xA;&gt; wallets opportunistically collect their dust during times of low&#xA;&gt; transaction fees would help and would save users on fees.&#xA;&#xA;You&#39;re assuming wallets will even have dust to collect. With widespread use of&#xA;Lightning that will likely not be true. Indeed, with sufficiently efficient L2&#xA;solutions it&#39;s really unclear as to how much demand there will be for block&#xA;space.&#xA;&#xA;-- &#xA;https://petertodd.org &#39;peter&#39;[:-1]@petertodd.org&#xA;-------------- next part --------------&#xA;A non-text attachment was scrubbed...&#xA;Name: signature.asc&#xA;Type: application/pgp-signature&#xA;Size: 833 bytes&#xA;Desc: not available&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220711/6626ac18/attachment.sig&gt;</html></oembed>