diff options
| author | JaSK <[email protected]> | 2014-04-08 17:51:04 +0200 |
|---|---|---|
| committer | JaSK <[email protected]> | 2014-07-02 15:48:39 +0200 |
| commit | d7d5d23b77e204eccd4bf8a5608c1a499d5fc42f (patch) | |
| tree | e9773ab433534248ab31c6557d889f628841dbaa /src/rpcclient.cpp | |
| parent | Showing 'involvesWatchonly' property for transactions returned by 'listtransa... (diff) | |
| download | discoin-d7d5d23b77e204eccd4bf8a5608c1a499d5fc42f.tar.xz discoin-d7d5d23b77e204eccd4bf8a5608c1a499d5fc42f.zip | |
Added argument to listtransactions and listsinceblock to include watchonly addresses
Diffstat (limited to 'src/rpcclient.cpp')
| -rw-r--r-- | src/rpcclient.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index d96b47833..f329d517b 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -48,11 +48,13 @@ static const CRPCConvertParam vRPCConvertParams[] = { "sendfrom", 3 }, { "listtransactions", 1 }, { "listtransactions", 2 }, + { "listtransactions", 3 }, { "listaccounts", 0 }, { "listaccounts", 1 }, { "walletpassphrase", 1 }, { "getblocktemplate", 0 }, { "listsinceblock", 1 }, + { "listsinceblock", 2 }, { "sendmany", 1 }, { "sendmany", 2 }, { "addmultisigaddress", 0 }, @@ -129,7 +131,6 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri throw runtime_error(string("Error parsing JSON:")+strVal); params.push_back(jVal); } - } return params; |