diff options
author | Lee Clagett <code@leeclagett.com> | 2018-10-19 22:06:03 -0400 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2018-10-23 23:46:31 -0400 |
commit | 6097472a195fe81b34c2e5ab83ff2a1786c2a5e3 (patch) | |
tree | d6f7111fb8fc7811983b6d875681130e7eb9873f /src/serialization/json_object.h | |
parent | Merge pull request #4524 (diff) | |
download | monero-6097472a195fe81b34c2e5ab83ff2a1786c2a5e3.tar.xz |
Update ZMQ fee estimate and add ZMQ output distribution
Diffstat (limited to 'src/serialization/json_object.h')
-rw-r--r-- | src/serialization/json_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serialization/json_object.h b/src/serialization/json_object.h index da3351fe3..b6384ca0d 100644 --- a/src/serialization/json_object.h +++ b/src/serialization/json_object.h @@ -281,6 +281,9 @@ void fromJsonValue(const rapidjson::Value& val, rct::mgSig& sig); void toJsonValue(rapidjson::Document& doc, const cryptonote::rpc::DaemonInfo& info, rapidjson::Value& val); void fromJsonValue(const rapidjson::Value& val, cryptonote::rpc::DaemonInfo& info); +void toJsonValue(rapidjson::Document& doc, const cryptonote::rpc::output_distribution& dist, rapidjson::Value& val); +void fromJsonValue(const rapidjson::Value& val, cryptonote::rpc::output_distribution& dist); + template <typename Map> typename std::enable_if<sfinae::is_map_like<Map>::value, void>::type toJsonValue(rapidjson::Document& doc, const Map& map, rapidjson::Value& val); |