diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-06 14:23:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-16 19:21:45 +0000 |
commit | 31d80027b5cc59b48205334a9e361c6a75099592 (patch) | |
tree | a0d963aa0411b9d0f7c2738d81b90d06b09e49d4 /src/rpc/rpc_handler.h | |
parent | blockchain: remove "0 is height" shortcut from get_output_distribution (diff) | |
download | monero-31d80027b5cc59b48205334a9e361c6a75099592.tar.xz |
tests: add unit tests for get_output_distribution
Diffstat (limited to 'src/rpc/rpc_handler.h')
-rw-r--r-- | src/rpc/rpc_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rpc_handler.h b/src/rpc/rpc_handler.h index 3cccef78a..e0d520408 100644 --- a/src/rpc/rpc_handler.h +++ b/src/rpc/rpc_handler.h @@ -56,7 +56,7 @@ class RpcHandler virtual std::string handle(const std::string& request) = 0; static boost::optional<output_distribution_data> - get_output_distribution(core& src, std::uint64_t amount, std::uint64_t from_height, std::uint64_t to_height, bool cumulative); + get_output_distribution(const std::function<bool(uint64_t, uint64_t, uint64_t, uint64_t&, std::vector<uint64_t>&, uint64_t&)> &f, uint64_t amount, uint64_t from_height, uint64_t to_height, bool cumulative); }; |