BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Converts public account balance to a blinded or stealth balance. More...
#include <confidential.hpp>
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 ¶ms) 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_output > | outputs |
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) |
Converts public account balance to a blinded or stealth balance.
Definition at line 150 of file confidential.hpp.
share_type graphene::protocol::transfer_to_blind_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 64 of file confidential.cpp.
|
inline |
Definition at line 164 of file confidential.hpp.
|
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.
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.