diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-09-23 22:24:48 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-09-23 22:24:48 -0500 |
commit | 2243318000b8fa746a4d874ad62984d6ce25d494 (patch) | |
tree | c32f5fbf9e0b37f5e216c1fcdd12dbe8287849a8 /src/serialization/json_object.h | |
parent | Merge pull request #7961 (diff) | |
parent | RPC and ZeroMQ APIs to support p2pool (diff) | |
download | monero-2243318000b8fa746a4d874ad62984d6ce25d494.tar.xz |
Merge pull request #7964
d51e3f2 RPC and ZeroMQ APIs to support p2pool (SChernykh)
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 de14c8911..15459163b 100644 --- a/src/serialization/json_object.h +++ b/src/serialization/json_object.h @@ -304,6 +304,9 @@ void fromJsonValue(const rapidjson::Value& val, cryptonote::rpc::DaemonInfo& inf void toJsonValue(rapidjson::Writer<epee::byte_stream>& dest, const cryptonote::rpc::output_distribution& dist); void fromJsonValue(const rapidjson::Value& val, cryptonote::rpc::output_distribution& dist); +void toJsonValue(rapidjson::Writer<epee::byte_stream>& dest, const cryptonote::tx_block_template_backlog_entry& entry); +void fromJsonValue(const rapidjson::Value& val, cryptonote::tx_block_template_backlog_entry& entry); + template <typename Map> typename std::enable_if<sfinae::is_map_like<Map>::value, void>::type toJsonValue(rapidjson::Writer<epee::byte_stream>& dest, const Map& map); |