Monero C++ Library
Loading...
Searching...
No Matches
monero::monero_get_block_params Struct Reference
Inheritance diagram for monero::monero_get_block_params:
monero::serializable_struct

Public Member Functions

 monero_get_block_params (uint64_t height, bool fill_pow_hash=false)
 
 monero_get_block_params (const std::string &hash, bool fill_pow_hash=false)
 
 monero_get_block_params (uint64_t start_height, uint64_t end_height)
 
 monero_get_block_params (const std::string &wallet_address, const boost::optional< int > &reserve_size)
 
rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Public Attributes

boost::optional< uint64_t > m_height
 
boost::optional< std::string > m_hash
 
boost::optional< bool > m_fill_pow_hash
 
boost::optional< uint64_t > m_start_height
 
boost::optional< uint64_t > m_end_height
 
boost::optional< std::string > m_wallet_address
 
boost::optional< int > m_reserve_size
 

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_get_block_params::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: