Monero C++ Library
|
#include <monero_daemon_model.h>
Public Member Functions | |
rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
std::shared_ptr< monero_block_header > | copy (const std::shared_ptr< monero_block_header > &src, const std::shared_ptr< monero_block_header > &tgt) const |
virtual void | merge (const std::shared_ptr< monero_block_header > &self, const std::shared_ptr< monero_block_header > &other) |
Public Member Functions inherited from monero::serializable_struct | |
std::string | serialize () const |
Models a Monero block header which contains information about the block.
TODO: a header that is transmitted may have fewer fields like cryptonote::block_header; separate?
|
virtual |
Converts the struct to a rapidjson Value.
allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.