Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::chain::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 100 of file confidential.hpp.

Constructor & Destructor Documentation

◆ stealth_confirmation() [1/2]

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

Unpacks from a base58 string

Definition at line 157 of file confidential.cpp.

◆ stealth_confirmation() [2/2]

graphene::chain::stealth_confirmation::stealth_confirmation ( )
inline

Definition at line 119 of file confidential.hpp.

Member Function Documentation

◆ operator string()

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

Packs *this then encodes as base58 encoded string.

Definition at line 150 of file confidential.cpp.

Member Data Documentation

◆ encrypted_memo

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

Definition at line 123 of file confidential.hpp.

◆ one_time_key

public_key_type graphene::chain::stealth_confirmation::one_time_key

Definition at line 121 of file confidential.hpp.

◆ to

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

Definition at line 122 of file confidential.hpp.


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