aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/json_object.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-23 22:10:03 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-09-23 22:10:03 -0500
commit298c9a357f6e57eccf28db1f3e734eb6da080d9a (patch)
treecece5d9e4c744a8c115c255b89cc3ff0c4d9b0ef /src/serialization/json_object.h
parentMerge pull request #7890 (diff)
parentRPC and ZeroMQ APIs to support p2pool (diff)
downloadmonero-298c9a357f6e57eccf28db1f3e734eb6da080d9a.tar.xz
Merge pull request #7891
dfee15e RPC and ZeroMQ APIs to support p2pool (SChernykh)
Diffstat (limited to 'src/serialization/json_object.h')
-rw-r--r--src/serialization/json_object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serialization/json_object.h b/src/serialization/json_object.h
index 35ea990b3..c858faf5a 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);