#include <monero_daemon_model.h>
|
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
| |
| std::string | serialize () const |
| |
|
|
static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_block_template > &tmplt) |
| |
|
|
boost::optional< std::string > | m_block_template_blob |
| |
|
boost::optional< std::string > | m_block_hashing_blob |
| |
|
boost::optional< std::string > | m_prev_hash |
| |
|
boost::optional< std::string > | m_seed_hash |
| |
|
boost::optional< std::string > | m_next_seed_hash |
| |
|
boost::optional< uint64_t > | m_difficulty_low |
| |
|
boost::optional< uint64_t > | m_difficulty_high |
| |
|
boost::optional< uint64_t > | m_expected_reward |
| |
|
boost::optional< uint64_t > | m_height |
| |
|
boost::optional< uint64_t > | m_reserved_offset |
| |
|
boost::optional< uint64_t > | m_seed_height |
| |
Monero block template to mine.
◆ to_rapidjson_val()
| rapidjson::Value monero::monero_block_template::to_rapidjson_val |
( |
rapidjson::Document::AllocatorType & | allocator | ) |
const |
|
overridevirtual |
Converts the struct to a rapidjson Value.
- Parameters
-
| allocator | is 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: