Mining-Requires-Peers not working

+2 votes
When I start a single multichain node with parameters:

mining-requires-peers = true

setup-first-blocks = 5

 

The node should with my understanding stop mining after about 5 blocks.

But it does continue mining (at the moment at block 57)

 

Did I miss something?
asked Feb 6, 2017 by Alexoid

1 Answer

+4 votes
 
Best answer

This is probably because only one address has mining permissions, in which case mining-requires-peers is not applied. We made this rule because so many people were being tripped up by this setting when they were just getting started. See the documentation here:

http://www.multichain.com/developers/blockchain-parameters/

answered Feb 6, 2017 by MultiChain
selected Feb 6, 2017 by Alexoid
Thanks, maybe the params.dat comment should reflect this behaviour.
Fair comment, thanks.
...