<oembed><type>rich</type><version>1.0</version><author_name>npub1f2nvlx49er5c7sqa43src6ssyp6snd4qwvtkwm5avc2l84cs84esecrwet</author_name><author_url>https://nostr.ae/npub1f2nvlx49er5c7sqa43src6ssyp6snd4qwvtkwm5avc2l84cs84esecrwet</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-12-08&#xA;📝 Original message:On Tue, Dec 8, 2015 at 4:58 AM, Anthony Towns via bitcoin-dev&#xA;&lt;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt; Having a cost function rather than separate limits does make it easier to&#xA;&gt; build blocks (approximately) optimally, though (ie, just divide the fee by&#xA;&gt; (base_bytes+witness_bytes/4) and sort). Are there any other benefits?&#xA;&#xA;Actually being able to compute fees for your transaction: If there are&#xA;multiple limits that are &#34;at play&#34; then how you need to pay would&#xA;depend on the entire set of other candidate transactions, which is&#xA;unknown to you. Avoiding the need for a fancy solver in the miner is&#xA;also virtuous, because requiring software complexity there can make&#xA;for centralization advantages or divert development/maintenance cycles&#xA;in open source software off to other ends... The multidimensional&#xA;optimization is harder to accommodate for improved relay schemes, this&#xA;is the same as the &#34;build blocks&#34; but much more critical both because&#xA;of the need for consistency and the frequency in which you do it.&#xA;&#xA;These don&#39;t, however, apply all that strongly if only one limit is&#xA;likely to be the limiting limit... though I am unsure about counting&#xA;on that; after all if the other limits wouldn&#39;t be limiting, why have&#xA;them?&#xA;&#xA;&gt; That seems kinda backwards.&#xA;&#xA;It can seem that way, but all limiting schemes have pathological cases&#xA;where someone runs up against the limit in the most costly way.  Keep&#xA;in mind that casual pathological behavior can be suppressed via&#xA;IsStandard like rules without baking them into consensus; so long as&#xA;the candidate attacker isn&#39;t miners themselves. Doing so where&#xA;possible can help avoid cases like the current sigops limiting which&#xA;is just ... pretty broken.</html></oembed>