Check BHD mortgage amount every 10 minutes and pause mining upon insufficient mortgage. The following parameters should be added in "{ }".

  1. Enable: Optional, default = True.
  2. Exec: Mandatory, must be BTB_PAUSE.
  3. StartThreshold: Option, default = 180. Start mining when your on-chain capacity falls below this value(TB).
  4. StopThreshold: Optional, default = 256. Pause mining when your on-chain capacity reach this value(TB).
  5. rpcUrl: Optional, address of wallet RPC API, default = "http://127.0.0.1:8832".
  6. rpcUsr: Optional, username of wallet RPC API, default = "test".
  7. rpcPwd: Optional, password of wallet RPC API, default = "test".
ACTIONs: [
    { Enable: True,
      Exec: BTB_PAUSE,
      StartThreshold: 80,
      StopThreshold: 256,
      rpcUrl: "http://127.0.0.1:8832",
      rpcUsr: "test",
      rpcPwd: "test"
    }
]
Any optional parameters can be ignored to simplified as the following:
ACTIONs: [
    { Exec: BTB_PAUSE }
]

Also need to add below lines into BTB wallet's configuration file.

rpcuser=test
rpcpassword=test