Electroneum
Loading...
Searching...
No Matches
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 126 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 135 of file cryptonote_basic.h.

136 {
137 std::stringstream ss;
138 binary_archive<true> ba(ss);
139 bool r = ::serialization::serialize(ba, const_cast<account_public_address&>(address));
140 std::string address_blob = ss.str();
141
142 if(!r) return false;
143
145
146 ar.tag("address");
147 ar.serialize_string(etn_address);
148 if (!ar.stream().good())
149 return false;
150
151 } else {
bool serialize(Archive &ar, T &v)
std::string encode_addr(uint64_t tag, const std::string &data)
Definition base58.cpp:228
cryptonote::account_public_address address
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ address

cryptonote::account_public_address cryptonote::txout_to_key_public::address

Definition at line 129 of file cryptonote_basic.h.

◆ etn_address

std::string cryptonote::txout_to_key_public::etn_address

Definition at line 131 of file cryptonote_basic.h.

◆ m_address_prefix

uint64_t cryptonote::txout_to_key_public::m_address_prefix

Definition at line 128 of file cryptonote_basic.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/cryptonote_basic/cryptonote_basic.h