Please clarify mining diversity and empty blocks

+2 votes

The documentation on mine-empty-rounds has a sentence which is a little confusing to me. perhaps I am over thinking it, but for clarity..

assuming we set mine-empty-rounds to 1 and have 3 mining nodes with mining-diversity = 1

If there are no new transactions, stop mining after this many rounds of empty blocks.In a round robin mining scenario, does this mean rounds as 1 round = 3 miners thus 3 empty blocks or does it mean 1 empty block since 1 (mine-empty-rounds ) *  1 (mining-diversity) =  (1 block or round) = 1 block or round?

 

Considering that I wish to have just 1 more empty block covering the last non empty block.

asked Jul 31, 2017 by MaSsv

1 Answer

0 votes

A value of 1.0 means one empty round of 3 blocks, since a round is defined as mining-diversity * the number of permitted miners. If you prefer you can set it to 0.2 for a single empty block (since the number of blocks is calculated after rounding up).

answered Jul 31, 2017 by MultiChain
...