Electroneum
cryptonote::tx_extra_merge_mining_tag Struct Reference

#include <tx_extra.h>

Collaboration diagram for cryptonote::tx_extra_merge_mining_tag:

Classes

struct  serialize_helper
 

Public Member Functions

template<template< bool > class Archive>
bool do_serialize (Archive< false > &ar)
 
template<template< bool > class Archive>
bool do_serialize (Archive< true > &ar)
 

Public Attributes

size_t depth
 
crypto::hash merkle_root
 

Detailed Description

Definition at line 118 of file tx_extra.h.

Member Function Documentation

◆ do_serialize() [1/2]

template<template< bool > class Archive>
bool cryptonote::tx_extra_merge_mining_tag::do_serialize ( Archive< false > &  ar)
inline

Definition at line 139 of file tx_extra.h.

140  {
141  std::string field;
142  if(!::do_serialize(ar, field))
143  return false;
144 
145  std::istringstream iss(field);
146  binary_archive<false> iar(iss);
147  serialize_helper helper(*this);
149  }
::std::string string
Definition: gtest-port.h:1097
bool do_serialize(Archive< false > &ar)
Definition: tx_extra.h:139
void serialize(Archive &a, unsigned_tx_set &x, const boost::serialization::version_type ver)
Here is the call graph for this function:

◆ do_serialize() [2/2]

template<template< bool > class Archive>
bool cryptonote::tx_extra_merge_mining_tag::do_serialize ( Archive< true > &  ar)
inline

Definition at line 153 of file tx_extra.h.

154  {
155  std::ostringstream oss;
156  binary_archive<true> oar(oss);
157  serialize_helper helper(*this);
158  if(!::do_serialize(oar, helper))
159  return false;
160 
161  std::string field = oss.str();
163  }
::std::string string
Definition: gtest-port.h:1097
bool do_serialize(Archive< false > &ar)
Definition: tx_extra.h:139
void serialize(Archive &a, unsigned_tx_set &x, const boost::serialization::version_type ver)
Here is the call graph for this function:

Member Data Documentation

◆ depth

size_t cryptonote::tx_extra_merge_mining_tag::depth

Definition at line 134 of file tx_extra.h.

◆ merkle_root

crypto::hash cryptonote::tx_extra_merge_mining_tag::merkle_root

Definition at line 135 of file tx_extra.h.


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