mirror of
https://github.com/monero-project/monero.git
synced 2026-01-20 08:30:51 -08:00
add RPC to get a histogram of outputs of a given amount
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user