<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mojopuzzler.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Block_Composition</id>
	<title>Block Composition - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mojopuzzler.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Block_Composition"/>
	<link rel="alternate" type="text/html" href="https://mojopuzzler.org/mediawiki/index.php?title=Block_Composition&amp;action=history"/>
	<updated>2026-06-06T03:29:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://mojopuzzler.org/mediawiki/index.php?title=Block_Composition&amp;diff=2461&amp;oldid=prev</id>
		<title>Gneale: Created page with &quot;===== Return to: Insightful Comments =====  &lt;h2&gt;Question: Is there a limit per bundle?&lt;/h2&gt; 2021-09-01 &quot;efishcent&quot; said the following on Keybase channel chialisp:   Answers from dev on your question: technically, a block is a single spend bundle (with a single aggregate signature). Right now our farmer limits the cost of included transactions to 0.5 of max (called limit_factor in the code). Presumably more to your question though, the mempool also...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mojopuzzler.org/mediawiki/index.php?title=Block_Composition&amp;diff=2461&amp;oldid=prev"/>
		<updated>2023-11-18T02:07:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===== Return to: &lt;a href=&quot;/mediawiki/index.php/Insightful_Comments&quot; title=&quot;Insightful Comments&quot;&gt;Insightful Comments&lt;/a&gt; =====  &amp;lt;h2&amp;gt;Question: Is there a limit per bundle?&amp;lt;/h2&amp;gt; 2021-09-01 &amp;quot;efishcent&amp;quot; said the following on Keybase channel chialisp:   Answers from dev on your question: technically, a block is a single spend bundle (with a single aggregate signature). Right now our farmer limits the cost of included transactions to 0.5 of max (called limit_factor in the code). Presumably more to your question though, the mempool also...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Return to: [[Insightful Comments|Insightful Comments]] =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Question: Is there a limit per bundle?&amp;lt;/h2&amp;gt;&lt;br /&gt;
2021-09-01&lt;br /&gt;
&amp;quot;efishcent&amp;quot; said the following on Keybase channel chialisp: &lt;br /&gt;
&lt;br /&gt;
Answers from dev on your question:&lt;br /&gt;
technically, a block is a single spend bundle (with a single aggregate signature). Right now our farmer limits the cost of included transactions to 0.5 of max (called limit_factor in the code). Presumably more to your question though, the mempool also accepts spend bundles of the same 50% of the max block cost. So, today you cannot make a single spend bundle/transaction that has a higher cost than 50% of the max block cost&lt;br /&gt;
As we get more comfortable with the performance of block validation, I imagine we'll crank up the limit_factor to get close to 1 (another issue at that point is that we don't have a closed-form formula to predict the exact cost, so if we set it to exactly 1, we may sometimes create blocks that exceed the max cost)&lt;br /&gt;
However, even in that case, I would think it's reasonable to have a smaller limit of what we accept into the mempool. The mempool is a bit sensitive to DoS, since anyone can ask to add spend bundles to it, so having a lower limit protects us from certain kinds of attacks&lt;br /&gt;
&lt;br /&gt;
Also, since cost is determined as a combination of size in bytes, number of output coins, number of aggsig keys and the operations executed in the chialisp program, it's possible to create a very small program that has a very high cost, and vice versa&lt;/div&gt;</summary>
		<author><name>Gneale</name></author>
	</entry>
</feed>