walletRPC missing refresh() call
Closed this issue · 2 comments
burnside commented
Might I suggest making the following addition to walletRPC.php:
/**
*
* Refresh the wallet after opening
*
* @param int $start_height Block height from which to start (optional)
*
* @return object Example: {
* // TODO example
* }
*
*/
public function refresh($start_height = null)
{
$params = array('start_height' => $start_height);
return $this->_run('refresh', $params);
}
To support the refresh() RPC call as documented here: https://web.getmonero.org/resources/developer-guides/wallet-rpc.html#refresh
Cheers
serhack commented
Hey, could you open a PR to get credited? It's simple :- )
Otherwise I'll commit that
burnside commented
Sure, I'll give it a try.