|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
provides a generic way to add higher level protocols on top of witness consensus More...
#include <custom.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 |
| void | get_required_active_authorities (flat_set< account_id_type > &auths) 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_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 | payer |
| flat_set< account_id_type > | required_auths |
| uint16_t | id = 0 |
| vector< char > | data |
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) |
provides a generic way to add higher level protocols on top of witness consensus
There is no validation for this operation other than that required auths are valid and a fee is paid that is appropriate for the data contained.
Definition at line 38 of file custom.hpp.
| share_type graphene::protocol::custom_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 34 of file custom.cpp.
|
inline |
Definition at line 51 of file custom.hpp.
|
inlinevirtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 54 of file custom.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 30 of file custom.cpp.
| vector<char> graphene::protocol::custom_operation::data |
Definition at line 49 of file custom.hpp.
| asset graphene::protocol::custom_operation::fee |
Definition at line 45 of file custom.hpp.
| uint16_t graphene::protocol::custom_operation::id = 0 |
Definition at line 48 of file custom.hpp.
| account_id_type graphene::protocol::custom_operation::payer |
Definition at line 46 of file custom.hpp.
| flat_set<account_id_type> graphene::protocol::custom_operation::required_auths |
Definition at line 47 of file custom.hpp.
1.8.17