BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::transfer_to_blind_operation Class Reference

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

#include <confidential.hpp>

Inheritance diagram for graphene::protocol::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::protocol::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
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) 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::protocol::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 150 of file confidential.hpp.

Member Function Documentation

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

Definition at line 64 of file confidential.cpp.

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

Definition at line 164 of file confidential.hpp.

void graphene::protocol::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 32 of file confidential.cpp.

Member Data Documentation

asset graphene::protocol::transfer_to_blind_operation::amount

Definition at line 159 of file confidential.hpp.

blind_factor_type graphene::protocol::transfer_to_blind_operation::blinding_factor

Definition at line 161 of file confidential.hpp.

asset graphene::protocol::transfer_to_blind_operation::fee

Definition at line 158 of file confidential.hpp.

account_id_type graphene::protocol::transfer_to_blind_operation::from

Definition at line 160 of file confidential.hpp.

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

Definition at line 162 of file confidential.hpp.

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