It adds wallet private key for SOLO mining. It will retry at specified interval upon failure. The following parameters should be added in "{ }".

  1. Enable: Optional, default = true.
  2. Exec: Mandatory, must be BHD_ADDSIGNKEY.
  3. Interval: Optional, checking interval, default = 600 seconds.
  4. rpcUrl: Optional, address of wallet RPC API, default = "http://127.0.0.1:8732".
  5. rpcUsr: Optional, username of wallet RPC API, default = "test".
  6. rpcPwd: Optional, password of wallet RPC API, default = "test".
  7. WalletPwd: Optional, cipher of wallet password, default is empty. It can be generated by embedded cipher-generator of ddProxy.
  8. PrivKey: Mandatory,cipher of wallet private key. It can be generated by embedded cipher-generator of ddProxy.
ACTIONs: [
    { Enable: true,
      Exec: BHD_ADDSIGNKEY,
      Interval: 600,
      rpcUrl: "http://127.0.0.1:8732",
      rpcUsr: "test",
      rpcPwd: "test",
      WalletPwd: "cipher-of-wallet-password",
      PrivKey: "cipher-of-wallet-private-key",
    }
]
Any optional parameters can be ignored to simplified as the following:
ACTIONs: [
    { Exec: BHD_ADDSIGNKEY, PrivKey: "cipher-of-wallet-private-key" }
]

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

rpcuser=test
rpcpassword=test