BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
assert that some conditions are true. More...
#include <assert.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 &k) 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 |
account_id_type | fee_paying_account |
vector< predicate > | predicates |
flat_set< account_id_type > | required_auths |
extensions_type | extensions |
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) |
assert that some conditions are true.
This operation performs no changes to the database state, but can but used to verify pre or post conditions for other operations.
Definition at line 93 of file assert.hpp.
share_type graphene::protocol::assert_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
The fee for assert operations is proportional to their size, but cheaper than a data fee because they require no storage
Definition at line 64 of file assert.cpp.
|
inline |
Definition at line 103 of file assert.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 53 of file assert.cpp.
extensions_type graphene::protocol::assert_operation::extensions |
Definition at line 101 of file assert.hpp.
asset graphene::protocol::assert_operation::fee |
Definition at line 97 of file assert.hpp.
account_id_type graphene::protocol::assert_operation::fee_paying_account |
Definition at line 98 of file assert.hpp.
vector<predicate> graphene::protocol::assert_operation::predicates |
Definition at line 99 of file assert.hpp.
flat_set<account_id_type> graphene::protocol::assert_operation::required_auths |
Definition at line 100 of file assert.hpp.