multi chain keeps generating blocks

0 votes
I've just created a multichain with the default parameters :

$ multichain-util create dockerchain

then I started the multichain master node

$ multichaind -shrinkdebugfilesize -printtoconsole docker chain

and I waited. just to make clear : i've done nothing.

after a while, I realized that it keeps generating blocks.

why ? can you help me ?

here is the log :

------------------------- begin of the log

Running MultiChainMiner with 1 transactions in block (267 bytes)

MultiChainMiner:

proof-of-work found  

  hash: 00002c8bc4bcd780b9ccc3244249ec6cf2b3609fdafdedfcf69f2d688312d2df  

target: 0000ffff00000000000000000000000000000000000000000000000000000000

CBlock(hash=00002c8bc4bcd780b9ccc3244249ec6cf2b3609fdafdedfcf69f2d688312d2df, ver=3, hashPrevBlock=00006b5e746c9451c8bdfb8aeb80102ea15261923f85387fc731c07e8fe717e5, hashMerkleRoot=ed248111b9c263ade731ade4b5fd5e87c19abd48db6913733bdc675a33e15386, nTime=1461206830, nBits=1f00ffff, nNonce=37370, vtx=1)

  CTransaction(hash=ed248111b9, ver=1, vin.size=1, vout.size=1, nLockTime=0)

    CTxIn(COutPoint(0000000000, 4294967295), coinbase 028d000101062f503253482f)

    CTxOut(nValue=0.00000000, scriptPubKey=OP_RETURN 53504b62473045022100)

 

  vMerkleTree:  ed248111b9c263ade731ade4b5fd5e87c19abd48db6913733bdc675a33e15386

 

generated 0.00

UpdateTip: new best=00002c8bc4bcd780b9ccc3244249ec6cf2b3609fdafdedfcf69f2d688312d2df  height=141  log2_work=23.149769  tx=143  date=2016-04-21 02:47:10 progress=1.000000  cache=1

Running MultiChainMiner with 1 transactions in block (267 bytes)

MultiChainMiner:

proof-of-work found  

  hash: 0000f16f19e58ef87b46824802ea74af4ee7e1710032461515ae40f7464fc7f3  

target: 0000ffff00000000000000000000000000000000000000000000000000000000

CBlock(hash=0000f16f19e58ef87b46824802ea74af4ee7e1710032461515ae40f7464fc7f3, ver=3, hashPrevBlock=00002c8bc4bcd780b9ccc3244249ec6cf2b3609fdafdedfcf69f2d688312d2df, hashMerkleRoot=004820997212e00def1d60f58fcb1800ca3e0e517ddf10408241f8aef9fb7eae, nTime=1461206851, nBits=1f00ffff, nNonce=396793, vtx=1)

  CTransaction(hash=0048209972, ver=1, vin.size=1, vout.size=1, nLockTime=0)

    CTxIn(COutPoint(0000000000, 4294967295), coinbase 028e000101062f503253482f)

    CTxOut(nValue=0.00000000, scriptPubKey=OP_RETURN 53504b62473045022100)

 

  vMerkleTree:  004820997212e00def1d60f58fcb1800ca3e0e517ddf10408241f8aef9fb7eae

 

generated 0.00

UpdateTip: new best=0000f16f19e58ef87b46824802ea74af4ee7e1710032461515ae40f7464fc7f3  height=142  log2_work=23.159893  tx=144  date=2016-04-21 02:47:31 progress=1.000000  cache=1

------------------------- end of the log
asked Apr 20, 2016 by hiro

1 Answer

0 votes
This is currently the intended behavior - blocks are created at approximately the desired interval, even if there are no new transactions. We may add an option in future to pause block generation if there are no new transactions.
answered Apr 21, 2016 by MultiChain
...