|
Monero C++ Library
|
#include <monero_daemon_model.h>
Public Member Functions | |
| monero_auxiliary_pow (const std::string &id, const std::string &hash) | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Static Public Member Functions | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_auxiliary_pow > &aux_pow) |
| static std::shared_ptr< monero_auxiliary_pow > | deserialize (const std::string &json) |
Public Attributes | |
| boost::optional< std::string > | m_id |
| boost::optional< std::string > | m_hash |
Identifies an auxiliary chain's block by id and proof-of-work hash for merge mining.
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.