Usability improvements for z_importkey

- Add height parameter to z_importkey to reduce rescan range
- Change semantics of rescan parameter, so users can explicitly force a rescan
  for existing keys.

Closes #2032
This commit is contained in:
Jack Grigg
2017-01-31 17:19:11 +01:00
parent a28b17b7b7
commit a31ba7a0cb
4 changed files with 57 additions and 17 deletions

View File

@@ -111,7 +111,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "z_sendmany", 3},
{ "z_getoperationstatus", 0},
{ "z_getoperationresult", 0},
{ "z_importkey", 1 }
{ "z_importkey", 2 },
};
class CRPCConvertTable