add keypoolrefill command.
Since we handle this automatically it is just a noop. Closes #48
This commit is contained in:
parent
e8c8823bfe
commit
f1577a1718
1 changed files with 7 additions and 1 deletions
|
@ -39,6 +39,7 @@ var rpcHandlers = map[string]cmdHandler{
|
||||||
"getbalance": GetBalance,
|
"getbalance": GetBalance,
|
||||||
"getnewaddress": GetNewAddress,
|
"getnewaddress": GetNewAddress,
|
||||||
"importprivkey": ImportPrivKey,
|
"importprivkey": ImportPrivKey,
|
||||||
|
"keypoolrefill": KeypoolRefill,
|
||||||
"listaccounts": ListAccounts,
|
"listaccounts": ListAccounts,
|
||||||
"listtransactions": ListTransactions,
|
"listtransactions": ListTransactions,
|
||||||
"sendfrom": SendFrom,
|
"sendfrom": SendFrom,
|
||||||
|
@ -61,7 +62,6 @@ var rpcHandlers = map[string]cmdHandler{
|
||||||
"gettxoutsetinfo": Unimplemented,
|
"gettxoutsetinfo": Unimplemented,
|
||||||
"getwork": Unimplemented,
|
"getwork": Unimplemented,
|
||||||
"importwallet": Unimplemented,
|
"importwallet": Unimplemented,
|
||||||
"keypoolrefill": Unimplemented,
|
|
||||||
"listaddressgroupings": Unimplemented,
|
"listaddressgroupings": Unimplemented,
|
||||||
"listlockunspent": Unimplemented,
|
"listlockunspent": Unimplemented,
|
||||||
"listreceivedbyaccount": Unimplemented,
|
"listreceivedbyaccount": Unimplemented,
|
||||||
|
@ -480,6 +480,12 @@ func ImportPrivKey(icmd btcjson.Cmd) (interface{}, *btcjson.Error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// KeypoolRefill handles the keypoolrefill command. Since we handle the keypool
|
||||||
|
// automatically this does nothing since refilling is never manually required.
|
||||||
|
func KeypoolRefill(icmd btcjson.Cmd) (interface{}, *btcjson.Error) {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
|
||||||
// NotifyBalances notifies an attached frontend of the current confirmed
|
// NotifyBalances notifies an attached frontend of the current confirmed
|
||||||
// and unconfirmed account balances.
|
// and unconfirmed account balances.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue