Closes #1746. Add rpc call z_validateaddress to validate zaddrs.

This commit is contained in:
Simon
2016-10-31 20:05:48 -07:00
parent 1feaefac51
commit 4e16a7249c
5 changed files with 116 additions and 2 deletions

View File

@@ -330,6 +330,7 @@ static const CRPCCommand vRPCCommands[] =
{ "util", "verifymessage", &verifymessage, true },
{ "util", "estimatefee", &estimatefee, true },
{ "util", "estimatepriority", &estimatepriority, true },
{ "util", "z_validateaddress", &z_validateaddress, true }, /* uses wallet if enabled */
/* Not shown in help */
{ "hidden", "invalidateblock", &invalidateblock, true },