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::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:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_params_t &) const
 
- Public Member Functions inherited from graphene::protocol::base_operation
virtual ~base_operation ()=default
 
template<typename T >
share_type calculate_fee (const T &params) const
 
virtual void get_required_authorities (vector< authority > &) const
 
virtual void get_required_active_authorities (flat_set< account_id_type > &) const
 
virtual void get_required_owner_authorities (flat_set< account_id_type > &) 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

◆ calculate_fee()

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

Definition at line 64 of file confidential.cpp.

◆ fee_payer()

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

Definition at line 164 of file confidential.hpp.

◆ validate()

void graphene::protocol::transfer_to_blind_operation::validate ( ) const
virtual

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 32 of file confidential.cpp.

Member Data Documentation

◆ amount

asset graphene::protocol::transfer_to_blind_operation::amount

Definition at line 159 of file confidential.hpp.

◆ blinding_factor

blind_factor_type graphene::protocol::transfer_to_blind_operation::blinding_factor

Definition at line 161 of file confidential.hpp.

◆ fee

asset graphene::protocol::transfer_to_blind_operation::fee

Definition at line 158 of file confidential.hpp.

◆ from

account_id_type graphene::protocol::transfer_to_blind_operation::from

Definition at line 160 of file confidential.hpp.

◆ outputs

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: