Monero C++ Library
Loading...
Searching...
No Matches
monero::monero_add_auxiliary_pow_result Struct Reference

#include <monero_daemon_model.h>

Inheritance diagram for monero::monero_add_auxiliary_pow_result:
monero::monero_rpc_payment_info monero::serializable_struct

Public Member Functions

rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override
 
- Public Member Functions inherited from monero::monero_rpc_payment_info
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_add_auxiliary_pow_result > &result)
 
static std::shared_ptr< monero_add_auxiliary_pow_resultdeserialize (const std::string &json)
 
- Static Public Member Functions inherited from monero::monero_rpc_payment_info
static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_rpc_payment_info > &rpc_payment_info)
 
static std::shared_ptr< monero_rpc_payment_infodeserialize (const std::string &json)
 

Public Attributes

boost::optional< std::string > m_block_template_blob
 
boost::optional< std::string > m_block_hashing_blob
 
boost::optional< std::string > m_merkle_root
 
boost::optional< uint32_t > m_merkle_tree_depth
 
std::vector< std::shared_ptr< monero_auxiliary_pow > > m_aux_pow
 
- Public Attributes inherited from monero::monero_rpc_payment_info
boost::optional< uint64_t > m_credits
 
boost::optional< std::string > m_top_block_hash
 

Detailed Description

Result of adding auxiliary proof-of-work to a block template for merge mining.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_add_auxiliary_pow_result::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
overridevirtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Implements monero::serializable_struct.


The documentation for this struct was generated from the following files: