|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
The proposal_create_operation creates a transaction proposal, for use in multi-sig scenarios. More...
#include <proposal.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 |
Static Public Member Functions | |
| static proposal_create_operation | committee_proposal (const chain_parameters ¶m, fc::time_point_sec head_block_time) |
Static Public Member Functions inherited from graphene::protocol::base_operation | |
| static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
Public Attributes | |
| asset | fee |
| account_id_type | fee_paying_account |
| vector< op_wrapper > | proposed_ops |
| time_point_sec | expiration_time |
| optional< uint32_t > | review_period_seconds |
| extensions_type | extensions |
The proposal_create_operation creates a transaction proposal, for use in multi-sig scenarios.
Creates a transaction proposal. The operations which compose the transaction are listed in order in proposed_ops, and expiration_time specifies the time by which the proposal must be accepted or it will fail permanently. The expiration_time cannot be farther in the future than the maximum expiration time set in the global properties object.
Definition at line 70 of file proposal.hpp.
| share_type graphene::protocol::proposal_create_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 46 of file proposal.cpp.
|
static |
Constructs a proposal_create_operation suitable for committee proposals, with expiration time and review period set appropriately. No proposed_ops are added. When used to create a proposal to change chain parameters, this method expects to receive the currently effective parameters, not the proposed parameters. (The proposed parameters will go in proposed_ops, and proposed_ops is untouched by this function.)
Definition at line 31 of file proposal.cpp.
|
inline |
Definition at line 96 of file proposal.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 40 of file proposal.cpp.
| time_point_sec graphene::protocol::proposal_create_operation::expiration_time |
Definition at line 80 of file proposal.hpp.
| extensions_type graphene::protocol::proposal_create_operation::extensions |
Definition at line 82 of file proposal.hpp.
| asset graphene::protocol::proposal_create_operation::fee |
Definition at line 77 of file proposal.hpp.
| account_id_type graphene::protocol::proposal_create_operation::fee_paying_account |
Definition at line 78 of file proposal.hpp.
| vector<op_wrapper> graphene::protocol::proposal_create_operation::proposed_ops |
Definition at line 79 of file proposal.hpp.
| optional<uint32_t> graphene::protocol::proposal_create_operation::review_period_seconds |
Definition at line 81 of file proposal.hpp.
1.8.17