Electroneum
cryptonote::txout_to_key_public Struct Reference

#include <cryptonote_basic.h>

Collaboration diagram for cryptonote::txout_to_key_public:

Public Member Functions

 if (std::is_same< Archive< W >, json_archive< W >>())
 

Public Attributes

uint64_t m_address_prefix
 
cryptonote::account_public_address address
 
std::string etn_address
 

Detailed Description

Definition at line 120 of file cryptonote_basic.h.

Member Function Documentation

◆ if()

cryptonote::txout_to_key_public::if ( std::is_same< Archive< W >, json_archive< W >>  ())
inline

Definition at line 129 of file cryptonote_basic.h.

130  {
131  std::stringstream ss;
132  binary_archive<true> ba(ss);
133  bool r = ::serialization::serialize(ba, const_cast<account_public_address&>(address));
134  std::string address_blob = ss.str();
135 
136  if(!r) return false;
137 
139 
140  ar.tag("address");
141  ar.serialize_string(etn_address);
142  if (!ar.stream().good())
143  return false;
144 
145  } else {
::std::string string
Definition: gtest-port.h:1097
std::string encode_addr(uint64_t tag, const std::string &data)
Definition: base58.cpp:228
void serialize(Archive &a, unsigned_tx_set &x, const boost::serialization::version_type ver)
cryptonote::account_public_address address
Here is the call graph for this function:

Member Data Documentation

◆ address

cryptonote::account_public_address cryptonote::txout_to_key_public::address

Definition at line 123 of file cryptonote_basic.h.

◆ etn_address

std::string cryptonote::txout_to_key_public::etn_address

Definition at line 125 of file cryptonote_basic.h.

◆ m_address_prefix

uint64_t cryptonote::txout_to_key_public::m_address_prefix

Definition at line 122 of file cryptonote_basic.h.


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