Skip to content

How to check that your masternode is mining fine

U-Zyn Chua edited this page Apr 12, 2021 · 2 revisions
  1. Turn on staking log. Add debug=staking at defi.conf.

  2. Restart your masternode.

  3. Check that debug.log has at least one such line every second for every single masternode that your miner is mining for:

    2021-04-12T02:36:08Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:09Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:10Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    

    If your miner is mining for 5 masternodes, you should be seeing 5 of these every second, e.g.:

    2021-04-12T02:36:08Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:08Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:08Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:08Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:08Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:09Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:09Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:09Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:09Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    2021-04-12T02:36:09Z CreateNewBlock(): block weight: 10013 txs: 7 fees: 1896778 sigops 416
    

Tips

Take note that your debug.log would get really huge really quick with staking logging turned on, you might want to set up log rotation or turn off staking logging after you are verified that your masternode is mining okay.