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 BHD_PAUSE.
  3. StartThreshold: Optional, default = 1 (1=100%, 0.5=50%). Start mining when the pledge percentage reaches this value.
  4. StopThreshold: Optional, default = 1 (1=100%, 0.5=50%). Pause mining when the pledge percentage drops below this value.
  5. rpcUrl: Optional, address of wallet RPC API, default = "http://127.0.0.1:8732".
  6. rpcUsr: Optional, username of wallet RPC API, default = "test".
  7. rpcPwd: Optional, password of wallet RPC API, default = "test".
  8. Wallet: Mandatory, wallet receving address.
ACTIONs: [
    { Enable: True,
      Exec: BHD_PAUSE,
      StartThreshold: 1,
      StopThreshold: 1,
      rpcUrl: "http://127.0.0.1:8732",
      rpcUsr: "test",
      rpcPwd: "test",
      Wallet: "wallet-receving-address"
    }
]
Any optional parameters can be ignored to simplified as the following:
ACTIONs: [
    { Exec: BHD_PAUSE, Wallet: "wallet-receving-address" }
]

Also need to add below lines into BHD wallet's configuration file(btchd.conf).

rpcuser=test
rpcpassword=test