diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-02-19 11:15:15 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-16 10:32:26 +0000 |
| commit | 41f727ce42d0fce9e40e4da7bf4abda92eef1016 (patch) | |
| tree | fec7f8482cf1fdd7e927b91dbab563e785724a5e /src/wallet/wallet_errors.h | |
| parent | 51bb7fafac50ef1b021a00069b5fc6e2f118ee78 (diff) | |
| download | monzero-core-41f727ce42d0fce9e40e4da7bf4abda92eef1016.tar.gz monzero-core-41f727ce42d0fce9e40e4da7bf4abda92eef1016.tar.xz monzero-core-41f727ce42d0fce9e40e4da7bf4abda92eef1016.zip | |
add RPC to get a histogram of outputs of a given amount
Diffstat (limited to 'src/wallet/wallet_errors.h')
| -rw-r--r-- | src/wallet/wallet_errors.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index 32a0231b1..7611d3d31 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -85,6 +85,7 @@ namespace tools // no_connection_to_daemon // is_key_image_spent_error // get_histogram_error + // get_output_distribution // wallet_files_doesnt_correspond // // * - class with protected ctor @@ -757,6 +758,14 @@ namespace tools } }; //---------------------------------------------------------------------------------------------------- + struct get_output_distribution : public wallet_rpc_error + { + explicit get_output_distribution(std::string&& loc, const std::string& request) + : wallet_rpc_error(std::move(loc), "failed to get output distribution", request) + { + } + }; + //---------------------------------------------------------------------------------------------------- struct wallet_files_doesnt_correspond : public wallet_logic_error { explicit wallet_files_doesnt_correspond(std::string&& loc, const std::string& keys_file, const std::string& wallet_file) |
