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::transfer_to_blind_operation Class Reference

Converts public account balance to a blinded or stealth balance. More...

#include <confidential.hpp>

Inheritance diagram for graphene::chain::transfer_to_blind_operation:


struct  fee_parameters_type

Public Member Functions

account_id_type fee_payer () const
void validate () const
share_type calculate_fee (const fee_parameters_type &) const
- Public Member Functions inherited from graphene::chain::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
void get_required_authorities (vector< authority > &) const
void get_required_active_authorities (flat_set< account_id_type > &) const
void get_required_owner_authorities (flat_set< account_id_type > &) const
void validate () const

Public Attributes

asset fee
asset amount
account_id_type from
blind_factor_type blinding_factor
vector< blind_outputoutputs

Additional Inherited Members

- Static Public Member Functions inherited from graphene::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)

Detailed Description

Converts public account balance to a blinded or stealth balance.

Definition at line 148 of file confidential.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::chain::transfer_to_blind_operation::calculate_fee ( const fee_parameters_type k) const

Definition at line 66 of file confidential.cpp.

◆ fee_payer()

account_id_type graphene::chain::transfer_to_blind_operation::fee_payer ( ) const

Definition at line 162 of file confidential.hpp.

◆ validate()

void graphene::chain::transfer_to_blind_operation::validate ( ) const

require all outputs to be sorted prevents duplicates AND prevents implementations from accidentally leaking information by how they arrange commitments.

Definition at line 34 of file confidential.cpp.

Member Data Documentation

◆ amount

asset graphene::chain::transfer_to_blind_operation::amount

Definition at line 157 of file confidential.hpp.

◆ blinding_factor

blind_factor_type graphene::chain::transfer_to_blind_operation::blinding_factor

Definition at line 159 of file confidential.hpp.

◆ fee

asset graphene::chain::transfer_to_blind_operation::fee

Definition at line 156 of file confidential.hpp.

◆ from

account_id_type graphene::chain::transfer_to_blind_operation::from

Definition at line 158 of file confidential.hpp.

◆ outputs

vector<blind_output> graphene::chain::transfer_to_blind_operation::outputs

Definition at line 160 of file confidential.hpp.

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