BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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

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

Unpacks from a base58 string

Definition at line 152 of file confidential.cpp.

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

Definition at line 121 of file confidential.hpp.

Member Function Documentation

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

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

Definition at line 125 of file confidential.hpp.

public_key_type graphene::protocol::stealth_confirmation::one_time_key

Definition at line 123 of file confidential.hpp.

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: