BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::stealth_confirmation Struct Reference

#include <confidential.hpp>

Classes

struct  memo_data
 

Public Member Functions

 operator string () const
 
 stealth_confirmation (const std::string &base58)
 
 stealth_confirmation ()
 

Public Attributes

public_key_type one_time_key
 
optional< public_key_typeto
 
vector< char > encrypted_memo
 

Detailed Description

When sending a stealth tranfer we assume users are unable to scan the full blockchain; therefore, payments require confirmation data to be passed out of band. We assume this out-of-band channel is not secure and therefore the contents of the confirmation must be encrypted.

Definition at line 102 of file confidential.hpp.

Constructor & Destructor Documentation

◆ stealth_confirmation() [1/2]

graphene::protocol::stealth_confirmation::stealth_confirmation ( const std::string &  base58)

Unpacks from a base58 string

Definition at line 152 of file confidential.cpp.

◆ stealth_confirmation() [2/2]

graphene::protocol::stealth_confirmation::stealth_confirmation ( )
inline

Definition at line 121 of file confidential.hpp.

Member Function Documentation

◆ operator string()

graphene::protocol::stealth_confirmation::operator string ( ) const

Packs *this then encodes as base58 encoded string.

Definition at line 145 of file confidential.cpp.

Member Data Documentation

◆ encrypted_memo

vector<char> graphene::protocol::stealth_confirmation::encrypted_memo

Definition at line 125 of file confidential.hpp.

◆ one_time_key

public_key_type graphene::protocol::stealth_confirmation::one_time_key

Definition at line 123 of file confidential.hpp.

◆ to

optional<public_key_type> graphene::protocol::stealth_confirmation::to

Definition at line 124 of file confidential.hpp.


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