Check BHD mortgage amount at specified interval 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. Interval: Optional, checking interval, default = 600 seconds.
  4. StartThreshold: Option, default = 180. Start mining when your on-chain capacity falls below this value(TB).
  5. StopThreshold: Optional, default = 256. Pause mining when your on-chain capacity reach this value(TB).
  6. rpcUrl: Optional, address of wallet RPC API, default = "http://127.0.0.1:8832".
  7. rpcUsr: Optional, username of wallet RPC API, default = "test".
  8. rpcPwd: Optional, password of wallet RPC API, default = "test".
ACTIONs: [
    { Enable: true,
      Exec: BTB_PAUSE,
      Interval: 600,
      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