<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged target-block-time</title>
<link>https://www.multichain.com/qa/tag/target-block-time</link>
<description>Powered by Question2Answer</description>
<item>
<title>Does difficulty adjustment work when anyone-can-mine=false and target-adjust-freq &gt; 0 ?</title>
<link>https://www.multichain.com/qa/23152/difficulty-adjustment-work-anyone-false-target-adjust-freq</link>
<description>if I set anyone-can-mine=false and target-adjust-freq &amp;gt; 0 ; does difficulty adjustment work to keep target block time ?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/23152/difficulty-adjustment-work-anyone-false-target-adjust-freq</guid>
<pubDate>Mon, 21 Sep 2020 08:47:15 +0000</pubDate>
</item>
<item>
<title>target-block-time parameter not working as intended</title>
<link>https://www.multichain.com/qa/8813/target-block-time-parameter-not-working-as-intended</link>
<description>&lt;p&gt;If I &lt;strong&gt;set the target-block-time to say 10 seconds&lt;/strong&gt;, and publish just one key (&quot;key123&quot;, &quot;AB);&amp;nbsp;from my understanding&amp;nbsp;this transaction s&lt;strong&gt;hould be confirmed when the block is formed after &lt;span style=&quot;color:#FF0000&quot;&gt;10&lt;/span&gt; seconds&lt;/strong&gt;. But in my case, its confirmed much earlier (varies between 3-8&amp;nbsp;seconds). If I keep publishing 3-4 keys&amp;nbsp;at a time, it decreases even further :- 1-3 seconds.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Or is there any other parameter which affects this? Cant be maximum-block-size because my publish pair is very small. Or does this parameter work differently?&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8813/target-block-time-parameter-not-working-as-intended</guid>
<pubDate>Wed, 07 Mar 2018 06:24:45 +0000</pubDate>
</item>
<item>
<title>Setting target-adjust-freq, increases the block mining rate</title>
<link>https://www.multichain.com/qa/8574/setting-target-adjust-freq-increases-the-block-mining-rate</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have created the chain, and I was checking with different parameters to adjust the mining difficulty. When I set the target-adjust-freq as &amp;gt;0, then the blocks are being mined very fast and if I set it to -1 than the speed of mining is as per the average block time parameter. I have also set min-empty-rounds as -1 and anyone-can-mine as true.&lt;br /&gt;
&lt;br /&gt;
I am not sure how to control this behavior, could you help me with this?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8574/setting-target-adjust-freq-increases-the-block-mining-rate</guid>
<pubDate>Tue, 13 Feb 2018 12:14:27 +0000</pubDate>
</item>
<item>
<title>I have a question about target-block-time.</title>
<link>https://www.multichain.com/qa/7602/i-have-a-question-about-target-block-time</link>
<description>&lt;p&gt;Below is some of the parameters.&lt;/p&gt;&lt;p&gt;target-block-time = 180&lt;/p&gt;&lt;p&gt;pow-minimum-bits = 22&lt;/p&gt;&lt;p&gt;target-adjust-freq = 86400&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am mining with one node and&amp;nbsp;Below&amp;nbsp;is the average time per 480 blocks.&lt;/p&gt;&lt;table border=&quot;1&quot; cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;No. Block&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;Average time&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;1~480&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;0min 45sec&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;481~960&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;2min 24sec&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;961~1440&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;3min 4sec&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;1441~1920&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;3min 3sec&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;1921~2400&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;2min 55sec&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;2401~2880&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;0min 48sec&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;2881~3360&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;2min 48sec&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center&quot;&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;3361~3840&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;text-align:center&quot;&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;0min 52sec&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;As you can see, the average time to 2400 is normal,&amp;nbsp;&lt;/p&gt;&lt;p&gt;but the average time between 2401 ~ 2880 and 3361 ~ 3840 is too fast.&lt;/p&gt;&lt;p&gt;I did not add nodes and did not&amp;nbsp;other tasks.&lt;/p&gt;&lt;p&gt;Why does this happen?&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/7602/i-have-a-question-about-target-block-time</guid>
<pubDate>Tue, 21 Nov 2017 16:01:40 +0000</pubDate>
</item>
<item>
<title>How multichain sync all the nodes to keep in the same pace?</title>
<link>https://www.multichain.com/qa/2660/how-multichain-sync-all-the-nodes-to-keep-in-the-same-pace</link>
<description>For Bitcoin, the block time is 10 minutes. Thus, Bitcoin has a scheme to change the difficulty of the cryptographic puzzle to keep the block time at 10 minutes. Others can easily check whether the puzzle has been solved or not. &lt;br /&gt;
&lt;br /&gt;
For multichain, I am not sure whether it can achieve like this since multichain works in a round-robin approach. For example, if I set block time to 15 seconds, one block should be generated every 15 seconds. How can you ensure every node will follow this 15 seconds interval? What if a node is controlled by a malicious user and it broadcasts its block before 15 seconds if it is eligible to propose the next block. Thanks a lot.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2660/how-multichain-sync-all-the-nodes-to-keep-in-the-same-pace</guid>
<pubDate>Wed, 14 Sep 2016 03:23:00 +0000</pubDate>
</item>
<item>
<title>Can we change the &quot;target-block-time&quot; to a new value ?</title>
<link>https://www.multichain.com/qa/1591/can-we-change-the-target-block-time-to-a-new-value</link>
<description>Can we change the &amp;quot;target-block-time&amp;quot; parameter in the params.dat of an existing chain? I understand that if thats possible it needs to be synced across all the nodes in the chain, which might be a challenge. &lt;br /&gt;
but do we have a facility if in case we want to change any of the parameter. Another possible candidate is the &amp;quot;max-std-op-return-size&amp;quot;. I was testing with private chains and the requirement of modifying the op-return-size appeared later and I had to clone the chain and modify the paramater.&lt;br /&gt;
&lt;br /&gt;
However , I wanted to check if the reload of configuration is supported.&lt;br /&gt;
&lt;br /&gt;
I tried modifying the params.dat after shutting down the node, but &amp;nbsp;multichaind threw the following error message:&lt;br /&gt;
&lt;br /&gt;
ERROR: Parameter set for blockchain &amp;lt;chain&amp;gt; is invalid.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1591/can-we-change-the-target-block-time-to-a-new-value</guid>
<pubDate>Mon, 18 Apr 2016 12:25:55 +0000</pubDate>
</item>
</channel>
</rss>