BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Static Public Member Functions | List of all members
graphene::protocol::base_operation Struct Reference

#include <base.hpp>

Inheritance diagram for graphene::protocol::base_operation:
graphene::custom_operations::account_storage_map graphene::protocol::account_create_operation graphene::protocol::account_transfer_operation graphene::protocol::account_update_operation graphene::protocol::account_upgrade_operation graphene::protocol::account_whitelist_operation graphene::protocol::assert_operation graphene::protocol::asset_claim_fees_operation graphene::protocol::asset_claim_pool_operation graphene::protocol::asset_create_operation graphene::protocol::asset_fund_fee_pool_operation graphene::protocol::asset_global_settle_operation graphene::protocol::asset_issue_operation graphene::protocol::asset_publish_feed_operation graphene::protocol::asset_reserve_operation graphene::protocol::asset_settle_cancel_operation graphene::protocol::asset_settle_operation graphene::protocol::asset_update_bitasset_operation graphene::protocol::asset_update_feed_producers_operation graphene::protocol::asset_update_issuer_operation graphene::protocol::asset_update_operation graphene::protocol::balance_claim_operation graphene::protocol::bid_collateral_operation graphene::protocol::blind_transfer_operation graphene::protocol::call_order_update_operation graphene::protocol::committee_member_create_operation graphene::protocol::committee_member_update_global_parameters_operation graphene::protocol::committee_member_update_operation graphene::protocol::custom_authority_create_operation graphene::protocol::custom_authority_delete_operation graphene::protocol::custom_authority_update_operation graphene::protocol::custom_operation graphene::protocol::execute_bid_operation graphene::protocol::fba_distribute_operation graphene::protocol::fill_order_operation graphene::protocol::htlc_create_operation graphene::protocol::htlc_extend_operation graphene::protocol::htlc_redeem_operation graphene::protocol::htlc_redeemed_operation graphene::protocol::htlc_refund_operation graphene::protocol::limit_order_cancel_operation graphene::protocol::limit_order_create_operation graphene::protocol::override_transfer_operation graphene::protocol::proposal_create_operation graphene::protocol::proposal_delete_operation graphene::protocol::proposal_update_operation graphene::protocol::ticket_create_operation graphene::protocol::ticket_update_operation graphene::protocol::transfer_from_blind_operation graphene::protocol::transfer_operation graphene::protocol::transfer_to_blind_operation graphene::protocol::vesting_balance_create_operation graphene::protocol::vesting_balance_withdraw_operation graphene::protocol::withdraw_permission_claim_operation graphene::protocol::withdraw_permission_create_operation graphene::protocol::withdraw_permission_delete_operation graphene::protocol::withdraw_permission_update_operation graphene::protocol::witness_create_operation graphene::protocol::witness_update_operation graphene::protocol::worker_create_operation

Public Member Functions

template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () const
 
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) const
 

Static Public Member Functions

static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

Definition at line 97 of file base.hpp.

Member Function Documentation

uint64_t graphene::protocol::base_operation::calculate_data_fee ( uint64_t  bytes,
uint64_t  price_per_kbyte 
)
static

Definition at line 33 of file operations.cpp.

template<typename T >
share_type graphene::protocol::base_operation::calculate_fee ( const T &  params) const
inline

Definition at line 100 of file base.hpp.

void graphene::protocol::base_operation::get_required_active_authorities ( flat_set< account_id_type > &  ) const
inline

Definition at line 105 of file base.hpp.

void graphene::protocol::base_operation::get_required_authorities ( vector< authority > &  ) const
inline

Definition at line 104 of file base.hpp.

void graphene::protocol::base_operation::get_required_owner_authorities ( flat_set< account_id_type > &  ) const
inline

Definition at line 106 of file base.hpp.

void graphene::protocol::base_operation::validate ( ) const
inline

Definition at line 107 of file base.hpp.

fc::optional< fc::future< void > > graphene::protocol::base_operation::validate_parallel ( uint32_t  skip) const

Definition at line 40 of file operations.cpp.


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