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 QTC_ADDSIGNKEY.
  3. Interval: Optional, checking interval, default = 600 seconds.
  4. rpcUrl: Optional, address of wallet RPC API, default = "http://127.0.0.1:3332".
  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: QTC_ADDSIGNKEY,
      Interval: 600,
      rpcUrl: "http://127.0.0.1:3333",
      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: QTC_ADDSIGNKEY, PrivKey: "cipher-of-wallet-private-key" }
]

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

rpcuser=test
rpcpassword=test