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_from_blind_operation Struct Reference

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

#include <confidential.hpp>

Inheritance diagram for graphene::protocol::transfer_from_blind_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
void get_required_authorities (vector< authority > &a) 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_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 to
 
blind_factor_type blinding_factor
 
vector< blind_inputinputs
 

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 blinded/stealth balance to a public account balance.

Definition at line 173 of file confidential.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 185 of file confidential.hpp.

◆ get_required_authorities()

void graphene::protocol::transfer_from_blind_operation::get_required_authorities ( vector< authority > &  a) const
inlinevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 188 of file confidential.hpp.

◆ validate()

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

by requiring all inputs to be sorted we also prevent duplicate commitments on the input

Reimplemented from graphene::protocol::base_operation.

Definition at line 70 of file confidential.cpp.

Member Data Documentation

◆ amount

asset graphene::protocol::transfer_from_blind_operation::amount

Definition at line 180 of file confidential.hpp.

◆ blinding_factor

blind_factor_type graphene::protocol::transfer_from_blind_operation::blinding_factor

Definition at line 182 of file confidential.hpp.

◆ fee

asset graphene::protocol::transfer_from_blind_operation::fee

Definition at line 179 of file confidential.hpp.

◆ inputs

vector<blind_input> graphene::protocol::transfer_from_blind_operation::inputs

Definition at line 183 of file confidential.hpp.

◆ to

account_id_type graphene::protocol::transfer_from_blind_operation::to

Definition at line 181 of file confidential.hpp.


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