BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
graphene::chain Namespace Reference

Namespaces

 detail
 
 TL
 

Classes

class  account_balance_object
 Tracks the balance of a single account/asset pairThis object is indexed on owner and asset_type so that black swan events in asset_type can be processed quickly. More...
 
class  account_create_evaluator
 
class  account_member_index
 This secondary index will allow a reverse lookup of all accounts that a particular key or account is an potential signing authority. More...
 
class  account_object
 This class represents an account on the object graphAccounts are the primary unit of authority on the graphene system. Users must have an account in order to use assets, trade in the markets, vote for committee_members, etc. More...
 
class  account_statistics_object
 
class  account_transaction_history_object
 a node in a linked list of operation_history_objectsAccount history is important for users and wallets even though it is not part of "core validation". Account history is maintained as a linked list stored on disk in a stack. Each account will point to the most recent account history object by ID. When a new operation relativent to that account is processed a new account history object is allcoated at the end of the stack and intialized to point to the prior object. More...
 
class  account_update_evaluator
 
class  account_upgrade_evaluator
 
class  account_whitelist_evaluator
 
class  assert_evaluator
 
class  asset_bitasset_data_object
 contains properties that only apply to bitassets (market issued assets) More...
 
class  asset_claim_fees_evaluator
 
class  asset_claim_pool_evaluator
 
class  asset_create_evaluator
 
class  asset_dynamic_data_object
 tracks the asset information that changes frequentlyBecause the asset_object is very large it doesn't make sense to save an undo state for all of the parameters that never change. This object factors out the parameters of an asset that change in almost every transaction that involves the asset. More...
 
class  asset_fund_fee_pool_evaluator
 
class  asset_global_settle_evaluator
 
class  asset_issue_evaluator
 
class  asset_object
 tracks the parameters of an assetAll assets have a globally unique symbol name that controls how they are traded and an issuer who has authority over the parameters of the asset. More...
 
class  asset_publish_feeds_evaluator
 
class  asset_reserve_evaluator
 
class  asset_settle_evaluator
 
class  asset_update_bitasset_evaluator
 
class  asset_update_evaluator
 
class  asset_update_feed_producers_evaluator
 
class  asset_update_issuer_evaluator
 
class  balance_claim_evaluator
 
class  balance_object
 
class  balances_by_account_index
 This secondary index will allow fast access to the balance objects that belonging to an account. More...
 
class  bid_collateral_evaluator
 
struct  bitasset_short_backing_asset_extractor
 
class  blind_transfer_evaluator
 
class  blinded_balance_object
 tracks a blinded balance commitment More...
 
class  block_database
 
class  block_summary_object
 tracks minimal information about past blocks to implement TaPOSWhen attempting to calculate the validity of a transaction we need to lookup a past block and check its block hash and the time it occurred so we can calculate whether the current transaction is valid and at what time it should expire. More...
 
struct  budget_record
 
class  budget_record_object
 
struct  burn_worker_type
 A worker who permanently destroys all of his pay. More...
 
class  buyback_object
 
struct  by_expiration
 
class  call_order_object
 tracks debt and call price information More...
 
class  call_order_update_evaluator
 
struct  cdd_vesting_policy
 defines vesting in terms of coin-days accrued which allows for dynamic deposit/withdraw More...
 
class  chain_property_object
 
class  collateral_bid_object
 bids of collateral for debt after a black swan More...
 
class  committee_member_create_evaluator
 
class  committee_member_object
 tracks information about a committee_member account.A committee_member is responsible for setting blockchain parameters and has dynamic multi-sig control over the committee account. The current set of active committee_members has control. More...
 
class  committee_member_update_evaluator
 
class  committee_member_update_global_parameters_evaluator
 
class  custom_authority_create_evaluator
 
class  custom_authority_delete_evaluator
 
class  custom_authority_object
 Tracks account custom authorities. More...
 
class  custom_authority_update_evaluator
 
class  custom_evaluator
 
class  database
 tracks the blockchain state in an extensible manner More...
 
class  dynamic_global_property_object
 Maintains global state information (committee_member list, current fees)This is an implementation detail. The values here are calculated during normal chain operations and reflect the current values of global blockchain properties. More...
 
class  evaluator
 
class  fba_accumulator_object
 
class  force_settlement_object
 tracks bitassets scheduled for force settlement at some point in the future. More...
 
class  fork_database
 
struct  fork_item
 
class  generic_evaluator
 
struct  genesis_state_type
 
class  global_property_object
 Maintains global state information (committee_member list, current fees)This is an implementation detail. The values here are set by committee_members to tune the blockchain parameters. More...
 
struct  hardfork_visitor
 The hardfork_visitor struct checks whether a given operation type has been hardforked in or not. More...
 
class  hardfork_visitor_1479
 
struct  hardfork_visitor_214
 
class  htlc_create_evaluator
 
class  htlc_extend_evaluator
 
class  htlc_object
 database object to store HTLCs More...
 
class  htlc_redeem_evaluator
 
class  htlc_redeem_visitor
 
struct  immutable_chain_parameters
 
struct  index_entry
 
struct  init_policy_visitor
 
struct  instant_vesting_policy
 instant vesting policy More...
 
class  limit_order_cancel_evaluator
 
class  limit_order_create_evaluator
 
class  limit_order_object
 an offer to sell a amount of a asset at a specified exchange rate by a certain timeThis limit_order_objects are indexed by expiration and is automatically deleted on the first block after expiration. More...
 
struct  linear_vesting_policy
 Linear vesting balance with cliff. More...
 
class  node_property_object
 Contains per-node database configuration. More...
 
class  op_evaluator
 
class  op_evaluator_impl
 
class  operation_history_object
 tracks the history of all logical operations on blockchain stateAll operations and virtual operations result in the creation of an operation_history_object that is maintained on disk as a stack. Each real or virtual operation is assigned a unique ID / sequence number that it can be referenced by. More...
 
class  override_transfer_evaluator
 
struct  predicate_evaluator
 
struct  price_feed_with_icr
 defines market parameters for margin positions, extended with an initial_collateral_ratio field More...
 
class  proposal_create_evaluator
 
class  proposal_delete_evaluator
 
class  proposal_object
 tracks the approval of a partially approved transaction More...
 
struct  proposal_operation_hardfork_visitor
 
class  proposal_update_evaluator
 
class  push_proposal_nesting_guard
 
struct  refund_worker_type
 A worker who returns all of his pay to the reserve. More...
 
class  required_approval_index
 tracks all of the proposal objects that requrie approval of an individual account. More...
 
struct  special_authority_evaluate_visitor
 
class  special_authority_object
 
class  ticket_create_evaluator
 
class  ticket_object
 a ticket for governance voting More...
 
class  ticket_update_evaluator
 
class  transaction_evaluation_state
 
class  transaction_history_object
 
class  transfer_evaluator
 
class  transfer_from_blind_evaluator
 
class  transfer_to_blind_evaluator
 
class  vesting_balance_create_evaluator
 
class  vesting_balance_object
 
class  vesting_balance_withdraw_evaluator
 
struct  vesting_balance_worker_type
 A worker who sends his pay to a vesting balance. More...
 
struct  vesting_policy_context
 
struct  vote_counter
 
class  withdraw_permission_claim_evaluator
 
class  withdraw_permission_create_evaluator
 
class  withdraw_permission_delete_evaluator
 
class  withdraw_permission_object
 Grants another account authority to withdraw a limited amount of funds per interval. More...
 
class  withdraw_permission_update_evaluator
 
class  witness_create_evaluator
 
class  witness_object
 
class  witness_schedule_object
 
class  witness_update_evaluator
 
class  worker_create_evaluator
 
struct  worker_init_visitor
 
class  worker_object
 Worker object contains the details of a blockchain worker. See The Blockchain Worker System for details. More...
 
struct  worker_pay_visitor
 A visitor for worker_type which calls pay_worker on the worker within. More...
 

Typedefs

typedef multi_index_container< account_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_non_unique< tag< by_maintenance_flag >, member< account_balance_object, bool,&account_balance_object::maintenance_flag > >, ordered_unique< tag< by_asset_balance >, composite_key< account_balance_object, member< account_balance_object, asset_id_type,&account_balance_object::asset_type >, member< account_balance_object, share_type,&account_balance_object::balance >, member< account_balance_object, account_id_type,&account_balance_object::owner > >, composite_key_compare< std::less< asset_id_type >, std::greater< share_type >, std::less< account_id_type > > > > > account_balance_object_multi_index_type
 
typedef generic_index< account_balance_object, account_balance_object_multi_index_typeaccount_balance_index
 
typedef multi_index_container< account_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_name >, member< account_object, string,&account_object::name > > > > account_multi_index_type
 
typedef generic_index< account_object, account_multi_index_typeaccount_index
 
typedef multi_index_container< account_statistics_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_maintenance_seq >, composite_key< account_statistics_object, const_mem_fun< account_statistics_object, bool,&account_statistics_object::need_maintenance >, member< account_statistics_object, string,&account_statistics_object::name > > > > > account_stats_multi_index_type
 
typedef generic_index< account_statistics_object, account_stats_multi_index_typeaccount_stats_index
 
typedef multi_index_container< asset_bitasset_data_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_non_unique< tag< by_short_backing_asset >, bitasset_short_backing_asset_extractor >, ordered_unique< tag< by_feed_expiration >, composite_key< asset_bitasset_data_object, const_mem_fun< asset_bitasset_data_object, time_point_sec,&asset_bitasset_data_object::feed_expiration_time >, member< asset_bitasset_data_object, asset_id_type,&asset_bitasset_data_object::asset_id > > >, ordered_non_unique< tag< by_cer_update >, const_mem_fun< asset_bitasset_data_object, bool,&asset_bitasset_data_object::need_to_update_cer > > > > asset_bitasset_data_object_multi_index_type
 
typedef generic_index< asset_bitasset_data_object, asset_bitasset_data_object_multi_index_typeasset_bitasset_data_index
 
typedef multi_index_container< asset_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_symbol >, member< asset_object, string,&asset_object::symbol > >, ordered_unique< tag< by_type >, composite_key< asset_object, const_mem_fun< asset_object, bool,&asset_object::is_market_issued >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_issuer >, composite_key< asset_object, member< asset_object, account_id_type,&asset_object::issuer >, member< object, object_id_type,&object::id > > > > > asset_object_multi_index_type
 
typedef generic_index< asset_object, asset_object_multi_index_typeasset_index
 
using balance_multi_index_type = multi_index_container< balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_non_unique< tag< by_owner >, composite_key< balance_object, member< balance_object, address,&balance_object::owner >, const_mem_fun< balance_object, asset_id_type,&balance_object::asset_type > > > > >
 
using balance_index = generic_index< balance_object, balance_multi_index_type >
 
typedef multi_index_container< buyback_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_asset >, member< buyback_object, asset_id_type,&buyback_object::asset_to_buy > > >> buyback_multi_index_type
 
typedef generic_index< buyback_object, buyback_multi_index_typebuyback_index
 
using committee_member_multi_index_type = multi_index_container< committee_member_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_account >, member< committee_member_object, account_id_type,&committee_member_object::committee_member_account > >, ordered_unique< tag< by_vote_id >, member< committee_member_object, vote_id_type,&committee_member_object::vote_id > > > >
 
using committee_member_index = generic_index< committee_member_object, committee_member_multi_index_type >
 
typedef multi_index_container< blinded_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_commitment >, member< blinded_balance_object, commitment_type,&blinded_balance_object::commitment > > >> blinded_balance_object_multi_index_type
 
typedef generic_index< blinded_balance_object, blinded_balance_object_multi_index_typeblinded_balance_index
 
typedef multi_index_container< custom_authority_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_account_custom >, composite_key< custom_authority_object, member< custom_authority_object, account_id_type,&custom_authority_object::account >, member< custom_authority_object, unsigned_int,&custom_authority_object::operation_type >, member< custom_authority_object, bool,&custom_authority_object::enabled >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_expiration >, composite_key< custom_authority_object, member< custom_authority_object, time_point_sec,&custom_authority_object::valid_to >, member< object, object_id_type,&object::id > > > > > custom_authority_multi_index_type
 
using custom_authority_index = generic_index< custom_authority_object, custom_authority_multi_index_type >
 
typedef shared_ptr< fork_itemitem_ptr
 
typedef multi_index_container< htlc_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_expiration >, composite_key< htlc_object, htlc_object::timelock_extractor, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_from_id >, composite_key< htlc_object, htlc_object::from_extractor, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_to_id >, composite_key< htlc_object, htlc_object::to_extractor, member< object, object_id_type,&object::id > > > > > htlc_object_index_type
 
typedef generic_index< htlc_object, htlc_object_index_typehtlc_index
 
typedef multi_index_container< limit_order_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_expiration >, composite_key< limit_order_object, member< limit_order_object, time_point_sec,&limit_order_object::expiration >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_price >, composite_key< limit_order_object, member< limit_order_object, price,&limit_order_object::sell_price >, member< object, object_id_type,&object::id > >, composite_key_compare< std::greater< price >, std::less< object_id_type > > >, ordered_unique< tag< by_account >, composite_key< limit_order_object, member< limit_order_object, account_id_type,&limit_order_object::seller >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_account_price >, composite_key< limit_order_object, member< limit_order_object, account_id_type,&limit_order_object::seller >, member< limit_order_object, price,&limit_order_object::sell_price >, member< object, object_id_type,&object::id > >, composite_key_compare< std::less< account_id_type >, std::greater< price >, std::less< object_id_type > > > >> limit_order_multi_index_type
 
typedef generic_index< limit_order_object, limit_order_multi_index_typelimit_order_index
 
typedef multi_index_container< call_order_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_price >, composite_key< call_order_object, member< call_order_object, price,&call_order_object::call_price >, member< object, object_id_type,&object::id > >, composite_key_compare< std::less< price >, std::less< object_id_type > > >, ordered_unique< tag< by_account >, composite_key< call_order_object, member< call_order_object, account_id_type,&call_order_object::borrower >, const_mem_fun< call_order_object, asset_id_type,&call_order_object::debt_type > > >, ordered_unique< tag< by_collateral >, composite_key< call_order_object, const_mem_fun< call_order_object, price,&call_order_object::collateralization >, member< object, object_id_type,&object::id > > > >> call_order_multi_index_type
 
typedef multi_index_container< force_settlement_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_account >, composite_key< force_settlement_object, member< force_settlement_object, account_id_type,&force_settlement_object::owner >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_expiration >, composite_key< force_settlement_object, const_mem_fun< force_settlement_object, asset_id_type,&force_settlement_object::settlement_asset_id >, member< force_settlement_object, time_point_sec,&force_settlement_object::settlement_date >, member< object, object_id_type,&object::id > > > >> force_settlement_object_multi_index_type
 
typedef multi_index_container< collateral_bid_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_account >, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type,&collateral_bid_object::debt_type >, member< collateral_bid_object, account_id_type,&collateral_bid_object::bidder > > >, ordered_unique< tag< by_price >, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type,&collateral_bid_object::debt_type >, member< collateral_bid_object, price,&collateral_bid_object::inv_swan_price >, member< object, object_id_type,&object::id > >, composite_key_compare< std::less< asset_id_type >, std::greater< price >, std::less< object_id_type > > > >> collateral_bid_object_multi_index_type
 
typedef generic_index< call_order_object, call_order_multi_index_typecall_order_index
 
typedef generic_index< force_settlement_object, force_settlement_object_multi_index_typeforce_settlement_index
 
typedef generic_index< collateral_bid_object, collateral_bid_object_multi_index_typecollateral_bid_index
 
typedef multi_index_container< operation_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > > > > operation_history_multi_index_type
 
typedef generic_index< operation_history_object, operation_history_multi_index_typeoperation_history_index
 
typedef multi_index_container< account_transaction_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_seq >, composite_key< account_transaction_history_object, member< account_transaction_history_object, account_id_type,&account_transaction_history_object::account >, member< account_transaction_history_object, uint64_t,&account_transaction_history_object::sequence > > >, ordered_unique< tag< by_op >, composite_key< account_transaction_history_object, member< account_transaction_history_object, account_id_type,&account_transaction_history_object::account >, member< account_transaction_history_object, operation_history_id_type,&account_transaction_history_object::operation_id > > >, ordered_non_unique< tag< by_opid >, member< account_transaction_history_object, operation_history_id_type,&account_transaction_history_object::operation_id > > > > account_transaction_history_multi_index_type
 
typedef generic_index< account_transaction_history_object, account_transaction_history_multi_index_typeaccount_transaction_history_index
 
typedef boost::multi_index_container< proposal_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_expiration >, composite_key< proposal_object, member< proposal_object, time_point_sec,&proposal_object::expiration_time >, member< object, object_id_type,&object::id > > > >> proposal_multi_index_container
 
typedef generic_index< proposal_object, proposal_multi_index_containerproposal_index
 
typedef multi_index_container< special_authority_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_account >, member< special_authority_object, account_id_type,&special_authority_object::account > > >> special_authority_multi_index_type
 
typedef generic_index< special_authority_object, special_authority_multi_index_typespecial_authority_index
 
typedef multi_index_container< ticket_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_next_update >, composite_key< ticket_object, member< ticket_object, time_point_sec,&ticket_object::next_auto_update_time >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_account_type >, composite_key< ticket_object, member< ticket_object, account_id_type,&ticket_object::account >, member< ticket_object, ticket_type,&ticket_object::current_type >, member< object, object_id_type,&object::id > > > >> ticket_multi_index_type
 
typedef generic_index< ticket_object, ticket_multi_index_typeticket_index
 
typedef multi_index_container< transaction_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, hashed_unique< tag< by_trx_id >, BOOST_MULTI_INDEX_MEMBER(transaction_history_object, transaction_id_type, trx_id), std::hash< transaction_id_type > >, ordered_non_unique< tag< by_expiration >, const_mem_fun< transaction_history_object, time_point_sec,&transaction_history_object::get_expiration > > > > transaction_multi_index_type
 
typedef generic_index< transaction_history_object, transaction_multi_index_typetransaction_index
 
typedef fc::static_variant< linear_vesting_policy, cdd_vesting_policy, instant_vesting_policyvesting_policy
 
typedef multi_index_container< vesting_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_non_unique< tag< by_account >, member< vesting_balance_object, account_id_type,&vesting_balance_object::owner > >, hashed_unique< tag< by_vesting_type >, identity< vesting_balance_object >, detail::vesting_balance_object_hash, detail::vesting_balance_object_equal > > > vesting_balance_multi_index_type
 
typedef generic_index< vesting_balance_object, vesting_balance_multi_index_typevesting_balance_index
 
typedef multi_index_container< withdraw_permission_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_from >, composite_key< withdraw_permission_object, member< withdraw_permission_object, account_id_type,&withdraw_permission_object::withdraw_from_account >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_authorized >, composite_key< withdraw_permission_object, member< withdraw_permission_object, account_id_type,&withdraw_permission_object::authorized_account >, member< object, object_id_type,&object::id > > >, ordered_unique< tag< by_expiration >, composite_key< withdraw_permission_object, member< withdraw_permission_object, time_point_sec,&withdraw_permission_object::expiration >, member< object, object_id_type,&object::id > > > > > withdraw_permission_object_multi_index_type
 
typedef generic_index< withdraw_permission_object, withdraw_permission_object_multi_index_typewithdraw_permission_index
 
using witness_multi_index_type = multi_index_container< witness_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_account >, member< witness_object, account_id_type,&witness_object::witness_account > >, ordered_unique< tag< by_vote_id >, member< witness_object, vote_id_type,&witness_object::vote_id > > > >
 
using witness_index = generic_index< witness_object, witness_multi_index_type >
 
typedef static_variant< refund_worker_type, vesting_balance_worker_type, burn_worker_typeworker_type
 
typedef multi_index_container< worker_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_non_unique< tag< by_account >, member< worker_object, account_id_type,&worker_object::worker_account > >, ordered_unique< tag< by_vote_for >, member< worker_object, vote_id_type,&worker_object::vote_for > >, ordered_unique< tag< by_vote_against >, member< worker_object, vote_id_type,&worker_object::vote_against > >, ordered_non_unique< tag< by_end_date >, member< worker_object, time_point_sec,&worker_object::work_end_date > > >> worker_object_multi_index_type
 
using worker_index = generic_index< worker_object, worker_object_multi_index_type >
 

Enumerations

enum  graphene_fba_accumulator_id_enum { fba_accumulator_id_transfer_to_blind = 0, fba_accumulator_id_blind_transfer, fba_accumulator_id_transfer_from_blind, fba_accumulator_id_count }
 
enum  ticket_status { charging, stable, withdrawing, TICKET_STATUS_COUNT }
 Status of a ticket. More...
 
enum  vesting_balance_type {
  vesting_balance_type::unspecified, vesting_balance_type::cashback, vesting_balance_type::worker, vesting_balance_type::witness,
  vesting_balance_type::market_fee_sharing
}
 

Functions

void verify_authority_accounts (const database &db, const authority &a)
 
void verify_account_votes (const database &db, const account_options &options)
 
share_type cut_fee (share_type a, uint16_t p)
 
void check_children_of_bitasset (const database &d, const asset_update_bitasset_operation &op, const asset_object &new_backing_asset)
 
void evaluate_buyback_account_options (const database &db, const buyback_account_options &bbo)
 
void debug_apply_update (database &db, const fc::variant_object &vo)
 
template<typename Visitor >
void visit_special_authorities (const database &db, Visitor visit)
 
void update_top_n_authorities (database &db)
 
void split_fba_balance (database &db, uint64_t fba_id, uint16_t network_pct, uint16_t designated_asset_buyback_pct, uint16_t designated_asset_issuer_pct)
 
void distribute_fba_balances (database &db)
 
void create_buyback_orders (database &db)
 
void deprecate_annual_members (database &db)
 
void update_call_orders_hf_343 (database &db)
 
void update_call_orders_hf_1270 (database &db)
 
void match_call_orders (database &db)
 Match call orders for all bitAssets, including PMs. More...
 
void process_hf_1465 (database &db)
 
void process_hf_2103 (database &db)
 
void update_median_feeds (database &db)
 
void process_hf_868_890 (database &db, bool skip_check_call_orders)
 
void delete_expired_custom_authorities (database &db)
 Remove any custom active authorities whose expiration dates are in the past. More...
 
bool maybe_cull_small_order (database &db, const limit_order_object &order)
 
void operation_get_impacted_accounts (const operation &op, flat_set< account_id_type > &result, bool ignore_custom_operation_required_auths)
 
void transaction_get_impacted_accounts (const transaction &tx, flat_set< account_id_type > &result, bool ignore_custom_operation_required_auths)
 
void get_relevant_accounts (const object *obj, flat_set< account_id_type > &accounts, bool ignore_custom_operation_required_auths)
 
 FC_IMPLEMENT_DERIVED_EXCEPTION (database_query_exception, chain_exception, 3010000,"database query exception") FC_IMPLEMENT_DERIVED_EXCEPTION(block_validate_exception
 
block validation exception FC_IMPLEMENT_DERIVED_EXCEPTION (transaction_process_exception, chain_exception, 3030000,"transaction processing exception") FC_IMPLEMENT_DERIVED_EXCEPTION(operation_validate_exception
 
block validation exception operation validation exception FC_IMPLEMENT_DERIVED_EXCEPTION (operation_evaluate_exception, chain_exception, 3050000,"operation evaluation exception") FC_IMPLEMENT_DERIVED_EXCEPTION(utility_exception
 
block validation exception operation validation exception utility method exception FC_IMPLEMENT_DERIVED_EXCEPTION (undo_database_exception, chain_exception, 3070000,"undo database exception") FC_IMPLEMENT_DERIVED_EXCEPTION(duplicate_transaction
 
block validation exception operation validation exception utility method exception duplicate transaction FC_IMPLEMENT_DERIVED_EXCEPTION (pop_empty_chain, undo_database_exception, 3070001,"there are no blocks to pop") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(transfer)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_create)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (kill_unfilled, limit_order_create, 1,"Killing limit order due to unable to fill") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(market_not_whitelisted
 
The market has not been whitelisted by the selling asset GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (market_blacklisted, limit_order_create, 3,"The market has been blacklisted by the selling asset") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(selling_asset_unauthorized
 
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (receiving_asset_unauthorized, limit_order_create, 5,"The account is not allowed to transact the receiving asset") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(insufficient_balance
 
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset Insufficient balance GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_cancel)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (call_order_update)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unfilled_margin_call, call_order_update, 1,"Updating call order would trigger a margin call that cannot be fully filled") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(account_create)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (buyback_incorrect_issuer, account_create, 3,"Incorrect issuer specified for account") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(buyback_already_exists
 
Cannot create buyback for asset which already has buyback GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (account_update)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (asset_reserve)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (proposal_create)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (review_period_insufficient, proposal_create, 2,"review_period insufficient") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(balance_claim)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (override_transfer)
 
 GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (blind_transfer)
 
 GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unknown_commitment, blind_transfer, 1,"Attempting to claim an unknown prior commitment")
 
fc::variant_object get_config ()
 
optional< htlc_optionsget_committee_htlc_options (graphene::chain::database &db)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (transfer)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (limit_order_create)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (limit_order_cancel)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (call_order_update)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (account_create)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (account_update)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (asset_reserve)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (proposal_create)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (balance_claim)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (override_transfer)
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (blind_transfer)
 
void operation_get_impacted_accounts (const graphene::chain::operation &op, fc::flat_set< graphene::chain::account_id_type > &result, bool ignore_custom_operation_required_auths)
 
void transaction_get_impacted_accounts (const graphene::chain::transaction &tx, fc::flat_set< graphene::chain::account_id_type > &result, bool ignore_custom_operation_required_auths)
 
bool is_authorized_asset (const database &d, const account_object &acct, const asset_object &asset_obj)
 
void evaluate_special_authority (const database &db, const special_authority &auth)
 
bool sum_below_max_shares (const asset &a, const asset &b)
 
 VESTING_VISITOR (on_deposit,)
 
 VESTING_VISITOR (on_deposit_vested,)
 
 VESTING_VISITOR (on_withdraw,)
 
 VESTING_VISITOR (is_deposit_allowed, const)
 
 VESTING_VISITOR (is_deposit_vested_allowed, const)
 
 VESTING_VISITOR (is_withdraw_allowed, const)
 
 VESTING_VISITOR (get_allowed_withdraw, const)
 

Variables

 chain_exception
 
block validation exception operation validation exception utility method exception transaction_process_exception
 
 limit_order_create
 
 account_create
 

Typedef Documentation

Definition at line 402 of file account_object.hpp.

typedef multi_index_container< account_balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_maintenance_flag>, member< account_balance_object, bool, &account_balance_object::maintenance_flag > >, ordered_unique< tag<by_asset_balance>, composite_key< account_balance_object, member<account_balance_object, asset_id_type, &account_balance_object::asset_type>, member<account_balance_object, share_type, &account_balance_object::balance>, member<account_balance_object, account_id_type, &account_balance_object::owner> >, composite_key_compare< std::less< asset_id_type >, std::greater< share_type >, std::less< account_id_type > > > > > graphene::chain::account_balance_object_multi_index_type

Definition at line 373 of file account_object.hpp.

Definition at line 420 of file account_object.hpp.

typedef multi_index_container< account_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_name>, member<account_object, string, &account_object::name> > > > graphene::chain::account_multi_index_type

Definition at line 404 of file account_object.hpp.

Definition at line 444 of file account_object.hpp.

typedef multi_index_container< account_statistics_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_maintenance_seq>, composite_key< account_statistics_object, const_mem_fun<account_statistics_object, bool, &account_statistics_object::need_maintenance>, member<account_statistics_object, string, &account_statistics_object::name> > > > > graphene::chain::account_stats_multi_index_type

Definition at line 422 of file account_object.hpp.

Definition at line 136 of file operation_history_object.hpp.

typedef multi_index_container< account_transaction_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_seq>, composite_key< account_transaction_history_object, member< account_transaction_history_object, account_id_type, &account_transaction_history_object::account>, member< account_transaction_history_object, uint64_t, &account_transaction_history_object::sequence> > >, ordered_unique< tag<by_op>, composite_key< account_transaction_history_object, member< account_transaction_history_object, account_id_type, &account_transaction_history_object::account>, member< account_transaction_history_object, operation_history_id_type, &account_transaction_history_object::operation_id> > >, ordered_non_unique< tag<by_opid>, member< account_transaction_history_object, operation_history_id_type, &account_transaction_history_object::operation_id> > > > graphene::chain::account_transaction_history_multi_index_type

Definition at line 112 of file operation_history_object.hpp.

Definition at line 379 of file asset_object.hpp.

typedef multi_index_container< asset_bitasset_data_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_short_backing_asset>, bitasset_short_backing_asset_extractor >, ordered_unique< tag<by_feed_expiration>, composite_key< asset_bitasset_data_object, const_mem_fun< asset_bitasset_data_object, time_point_sec, &asset_bitasset_data_object::feed_expiration_time >, member< asset_bitasset_data_object, asset_id_type, &asset_bitasset_data_object::asset_id > > >, ordered_non_unique< tag<by_cer_update>, const_mem_fun< asset_bitasset_data_object, bool, &asset_bitasset_data_object::need_to_update_cer > > > > graphene::chain::asset_bitasset_data_object_multi_index_type

Definition at line 361 of file asset_object.hpp.

Definition at line 403 of file asset_object.hpp.

typedef multi_index_container< asset_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_symbol>, member<asset_object, string, &asset_object::symbol> >, ordered_unique< tag<by_type>, composite_key< asset_object, const_mem_fun<asset_object, bool, &asset_object::is_market_issued>, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_issuer>, composite_key< asset_object, member< asset_object, account_id_type, &asset_object::issuer >, member< object, object_id_type, &object::id > > > > > graphene::chain::asset_object_multi_index_type

Definition at line 383 of file asset_object.hpp.

Definition at line 71 of file balance_object.hpp.

using graphene::chain::balance_multi_index_type = typedef multi_index_container< balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_owner>, composite_key< balance_object, member<balance_object, address, &balance_object::owner>, const_mem_fun<balance_object, asset_id_type, &balance_object::asset_type> > > > >

Definition at line 66 of file balance_object.hpp.

Definition at line 64 of file confidential_object.hpp.

typedef multi_index_container< blinded_balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_commitment>, member<blinded_balance_object, commitment_type, &blinded_balance_object::commitment> > >> graphene::chain::blinded_balance_object_multi_index_type

Definition at line 52 of file confidential_object.hpp.

Definition at line 62 of file buyback_object.hpp.

typedef multi_index_container< buyback_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_asset>, member< buyback_object, asset_id_type, &buyback_object::asset_to_buy> > >> graphene::chain::buyback_multi_index_type

Definition at line 52 of file buyback_object.hpp.

Definition at line 276 of file market_object.hpp.

typedef multi_index_container< call_order_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_price>, composite_key< call_order_object, member< call_order_object, price, &call_order_object::call_price>, member< object, object_id_type, &object::id> >, composite_key_compare< std::less<price>, std::less<object_id_type> > >, ordered_unique< tag<by_account>, composite_key< call_order_object, member< call_order_object, account_id_type, &call_order_object::borrower >, const_mem_fun< call_order_object, asset_id_type, &call_order_object::debt_type> > >, ordered_unique< tag<by_collateral>, composite_key< call_order_object, const_mem_fun< call_order_object, price, &call_order_object::collateralization >, member< object, object_id_type, &object::id > > > >> graphene::chain::call_order_multi_index_type

Definition at line 205 of file market_object.hpp.

Definition at line 278 of file market_object.hpp.

typedef multi_index_container< collateral_bid_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_account>, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type>, member< collateral_bid_object, account_id_type, &collateral_bid_object::bidder> > >, ordered_unique< tag<by_price>, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type>, member< collateral_bid_object, price, &collateral_bid_object::inv_swan_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less<asset_id_type>, std::greater<price>, std::less<object_id_type> > > >> graphene::chain::collateral_bid_object_multi_index_type

Definition at line 274 of file market_object.hpp.

Definition at line 71 of file committee_member_object.hpp.

using graphene::chain::committee_member_multi_index_type = typedef multi_index_container< committee_member_object, indexed_by< ordered_unique< tag<by_id>, member<object, object_id_type, &object::id> >, ordered_unique< tag<by_account>, member<committee_member_object, account_id_type, &committee_member_object::committee_member_account> >, ordered_unique< tag<by_vote_id>, member<committee_member_object, vote_id_type, &committee_member_object::vote_id> > > >

Definition at line 70 of file committee_member_object.hpp.

Definition at line 111 of file custom_authority_object.hpp.

Definition at line 83 of file custom_authority_object.hpp.

Definition at line 277 of file market_object.hpp.

typedef multi_index_container< force_settlement_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_account>, composite_key< force_settlement_object, member<force_settlement_object, account_id_type, &force_settlement_object::owner>, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_expiration>, composite_key< force_settlement_object, const_mem_fun<force_settlement_object, asset_id_type, &force_settlement_object::settlement_asset_id>, member<force_settlement_object, time_point_sec, &force_settlement_object::settlement_date>, member< object, object_id_type, &object::id > > > >> graphene::chain::force_settlement_object_multi_index_type

Definition at line 233 of file market_object.hpp.

Definition at line 115 of file htlc_object.hpp.

typedef multi_index_container< htlc_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_expiration >, composite_key< htlc_object, htlc_object::timelock_extractor, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_from_id >, composite_key< htlc_object, htlc_object::from_extractor, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_to_id >, composite_key< htlc_object, htlc_object::to_extractor, member< object, object_id_type, &object::id > > > > > graphene::chain::htlc_object_index_type

Definition at line 91 of file htlc_object.hpp.

typedef shared_ptr<fork_item> graphene::chain::item_ptr

Definition at line 57 of file fork_database.hpp.

Definition at line 110 of file market_object.hpp.

typedef multi_index_container< limit_order_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_expiration>, composite_key< limit_order_object, member< limit_order_object, time_point_sec, &limit_order_object::expiration>, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_price>, composite_key< limit_order_object, member< limit_order_object, price, &limit_order_object::sell_price>, member< object, object_id_type, &object::id> >, composite_key_compare< std::greater<price>, std::less<object_id_type> > >, ordered_unique< tag<by_account>, composite_key< limit_order_object, member<limit_order_object, account_id_type, &limit_order_object::seller>, member<object, object_id_type, &object::id> > >, ordered_unique< tag<by_account_price>, composite_key< limit_order_object, member<limit_order_object, account_id_type, &limit_order_object::seller>, member<limit_order_object, price, &limit_order_object::sell_price>, member<object, object_id_type, &object::id> >, composite_key_compare<std::less<account_id_type>, std::greater<price>, std::less<object_id_type> > > >> graphene::chain::limit_order_multi_index_type

Definition at line 73 of file market_object.hpp.

Definition at line 108 of file operation_history_object.hpp.

typedef multi_index_container< operation_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > > > > graphene::chain::operation_history_multi_index_type

Definition at line 106 of file operation_history_object.hpp.

Definition at line 103 of file proposal_object.hpp.

typedef boost::multi_index_container< proposal_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique<tag<by_expiration>, composite_key<proposal_object, member<proposal_object, time_point_sec, &proposal_object::expiration_time>, member< object, object_id_type, &object::id > > > >> graphene::chain::proposal_multi_index_container

Definition at line 102 of file proposal_object.hpp.

Definition at line 61 of file special_authority_object.hpp.

typedef multi_index_container< special_authority_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_account>, member< special_authority_object, account_id_type, &special_authority_object::account> > >> graphene::chain::special_authority_multi_index_type

Definition at line 51 of file special_authority_object.hpp.

Definition at line 139 of file ticket_object.hpp.

typedef multi_index_container< ticket_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_next_update>, composite_key< ticket_object, member< ticket_object, time_point_sec, &ticket_object::next_auto_update_time>, member< object, object_id_type, &object::id> > >, ordered_unique< tag<by_account_type>, composite_key< ticket_object, member< ticket_object, account_id_type, &ticket_object::account>, member< ticket_object, ticket_type, &ticket_object::current_type>, member< object, object_id_type, &object::id> > > >> graphene::chain::ticket_multi_index_type

Definition at line 111 of file ticket_object.hpp.

Definition at line 69 of file transaction_history_object.hpp.

typedef multi_index_container< transaction_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, hashed_unique< tag<by_trx_id>, BOOST_MULTI_INDEX_MEMBER(transaction_history_object, transaction_id_type, trx_id), std::hash<transaction_id_type> >, ordered_non_unique< tag<by_expiration>, const_mem_fun< transaction_history_object, time_point_sec, &transaction_history_object::get_expiration > > > > graphene::chain::transaction_multi_index_type

Definition at line 57 of file transaction_history_object.hpp.

Definition at line 272 of file vesting_balance_object.hpp.

typedef multi_index_container< vesting_balance_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_account>, member<vesting_balance_object, account_id_type, &vesting_balance_object::owner> >, hashed_unique< tag<by_vesting_type>, identity<vesting_balance_object>, detail::vesting_balance_object_hash, detail::vesting_balance_object_equal > > > graphene::chain::vesting_balance_multi_index_type

Definition at line 268 of file vesting_balance_object.hpp.

Definition at line 141 of file vesting_balance_object.hpp.

Definition at line 115 of file withdraw_permission_object.hpp.

typedef multi_index_container< withdraw_permission_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_from>, composite_key< withdraw_permission_object, member<withdraw_permission_object, account_id_type, &withdraw_permission_object::withdraw_from_account>, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_authorized>, composite_key< withdraw_permission_object, member<withdraw_permission_object, account_id_type, &withdraw_permission_object::authorized_account>, member< object, object_id_type, &object::id > > >, ordered_unique< tag<by_expiration>, composite_key< withdraw_permission_object, member<withdraw_permission_object, time_point_sec, &withdraw_permission_object::expiration>, member< object, object_id_type, &object::id > > > > > graphene::chain::withdraw_permission_object_multi_index_type

Definition at line 88 of file withdraw_permission_object.hpp.

Definition at line 68 of file witness_object.hpp.

using graphene::chain::witness_multi_index_type = typedef multi_index_container< witness_object, indexed_by< ordered_unique< tag<by_id>, member<object, object_id_type, &object::id> >, ordered_unique< tag<by_account>, member<witness_object, account_id_type, &witness_object::witness_account> >, ordered_unique< tag<by_vote_id>, member<witness_object, vote_id_type, &witness_object::vote_id> > > >

Definition at line 67 of file witness_object.hpp.

Definition at line 160 of file worker_object.hpp.

typedef multi_index_container< worker_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_account>, member< worker_object, account_id_type, &worker_object::worker_account > >, ordered_unique< tag<by_vote_for>, member< worker_object, vote_id_type, &worker_object::vote_for > >, ordered_unique< tag<by_vote_against>, member< worker_object, vote_id_type, &worker_object::vote_against > >, ordered_non_unique< tag<by_end_date>, member< worker_object, time_point_sec, &worker_object::work_end_date> > >> graphene::chain::worker_object_multi_index_type

Definition at line 148 of file worker_object.hpp.

Definition at line 101 of file worker_object.hpp.

Enumeration Type Documentation

An object will be created at genesis for each of these FBA accumulators.

Enumerator
fba_accumulator_id_transfer_to_blind 
fba_accumulator_id_blind_transfer 
fba_accumulator_id_transfer_from_blind 
fba_accumulator_id_count 

Definition at line 33 of file fba_accumulator_id.hpp.

Status of a ticket.

Enumerator
charging 
stable 
withdrawing 
TICKET_STATUS_COUNT 

Definition at line 41 of file ticket_object.hpp.

Enumerator
unspecified 
cashback 
worker 
witness 
market_fee_sharing 

Definition at line 143 of file vesting_balance_object.hpp.

Function Documentation

void graphene::chain::check_children_of_bitasset ( const database d,
const asset_update_bitasset_operation op,
const asset_object new_backing_asset 
)

Definition at line 588 of file asset_evaluator.cpp.

void graphene::chain::create_buyback_orders ( database db)

Definition at line 694 of file db_maint.cpp.

share_type graphene::chain::cut_fee ( share_type  a,
uint16_t  p 
)

Definition at line 32 of file account_object.cpp.

void graphene::chain::debug_apply_update ( database db,
const fc::variant_object vo 
)

Definition at line 117 of file db_debug.cpp.

void graphene::chain::delete_expired_custom_authorities ( database db)

Remove any custom active authorities whose expiration dates are in the past.

Parameters
dbA mutable database reference

Definition at line 1087 of file db_maint.cpp.

void graphene::chain::deprecate_annual_members ( database db)

Definition at line 764 of file db_maint.cpp.

void graphene::chain::distribute_fba_balances ( database db)

Definition at line 687 of file db_maint.cpp.

void graphene::chain::evaluate_buyback_account_options ( const database db,
const buyback_account_options bbo 
)

Definition at line 32 of file buyback.cpp.

void graphene::chain::evaluate_special_authority ( const database db,
const special_authority auth 
)

Definition at line 46 of file special_authority_evaluation.cpp.

graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( database_query_exception  ,
chain_exception  ,
3010000  ,
"database query exception"   
)
block validation exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( transaction_process_exception  ,
chain_exception  ,
3030000  ,
"transaction processing exception"   
)
block validation exception operation validation exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( operation_evaluate_exception  ,
chain_exception  ,
3050000  ,
"operation evaluation exception"   
)
block validation exception operation validation exception utility method exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( undo_database_exception  ,
chain_exception  ,
3070000  ,
"undo database exception"   
)
block validation exception operation validation exception utility method exception duplicate transaction graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION ( pop_empty_chain  ,
undo_database_exception  ,
3070001  ,
"there are no blocks to pop"   
)
optional<htlc_options> graphene::chain::get_committee_htlc_options ( graphene::chain::database db)

Definition at line 69 of file htlc_evaluator.cpp.

fc::variant_object graphene::chain::get_config ( )

Definition at line 31 of file get_config.cpp.

void graphene::chain::get_relevant_accounts ( const object obj,
flat_set< account_id_type > &  accounts,
bool  ignore_custom_operation_required_auths 
)

these are free from any accounts

Definition at line 336 of file db_notify.cpp.

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( transfer  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( limit_order_create  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( limit_order_cancel  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( call_order_update  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( account_create  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( account_update  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( asset_reserve  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( proposal_create  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( balance_claim  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( override_transfer  )
graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( blind_transfer  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( limit_order_create  )
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset Insufficient balance graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( limit_order_cancel  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( call_order_update  )
Cannot create buyback for asset which already has buyback graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( account_update  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( asset_reserve  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( proposal_create  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( override_transfer  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS ( blind_transfer  )
graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( kill_unfilled  ,
limit_order_create  ,
,
"Killing limit order due to unable to fill"   
)
The market has not been whitelisted by the selling asset graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( market_blacklisted  ,
limit_order_create  ,
,
"The market has been blacklisted by the selling asset  
)
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( receiving_asset_unauthorized  ,
limit_order_create  ,
,
"The account is not allowed to transact the receiving asset  
)
graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( unfilled_margin_call  ,
call_order_update  ,
,
"Updating call order would trigger a margin call that cannot be fully filled"   
)
graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( buyback_incorrect_issuer  ,
account_create  ,
,
"Incorrect issuer specified for account"   
)
graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( review_period_insufficient  ,
proposal_create  ,
,
"review_period insufficient"   
)
graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION ( unknown_commitment  ,
blind_transfer  ,
,
"Attempting to claim an unknown prior commitment"   
)
bool graphene::chain::is_authorized_asset ( const database d,
const account_object acct,
const asset_object asset_obj 
)
inline
Returns
true if the account is whitelisted and not blacklisted to transact in the provided asset; false otherwise.

Definition at line 43 of file is_authorized_asset.hpp.

void graphene::chain::match_call_orders ( database db)

Match call orders for all bitAssets, including PMs.

market issued

Definition at line 892 of file db_maint.cpp.

bool graphene::chain::maybe_cull_small_order ( database db,
const limit_order_object order 
)

There are times when the AMOUNT_FOR_SALE * SALE_PRICE == 0 which means that we have hit the limit where the seller is asking for nothing in return. When this happens we must refund any balance back to the seller, it is too small to be sold at the sale price.

If the order is a taker order (as opposed to a maker order), so the price is set by the counterparty, this check is deferred until the order becomes unmatched (see #555) – however, detecting this condition is the responsibility of the caller.

Definition at line 334 of file db_market.cpp.

void graphene::chain::operation_get_impacted_accounts ( const graphene::chain::operation op,
fc::flat_set< graphene::chain::account_id_type > &  result,
bool  ignore_custom_operation_required_auths 
)
void graphene::chain::operation_get_impacted_accounts ( const operation op,
flat_set< account_id_type > &  result,
bool  ignore_custom_operation_required_auths 
)

Definition at line 321 of file db_notify.cpp.

void graphene::chain::process_hf_1465 ( database db)

Definition at line 952 of file db_maint.cpp.

void graphene::chain::process_hf_2103 ( database db)

Definition at line 977 of file db_maint.cpp.

void graphene::chain::process_hf_868_890 ( database db,
bool  skip_check_call_orders 
)

Definition at line 1024 of file db_maint.cpp.

void graphene::chain::split_fba_balance ( database db,
uint64_t  fba_id,
uint16_t  network_pct,
uint16_t  designated_asset_buyback_pct,
uint16_t  designated_asset_issuer_pct 
)

Definition at line 608 of file db_maint.cpp.

bool graphene::chain::sum_below_max_shares ( const asset a,
const asset b 
)
inline

Definition at line 31 of file vesting_balance_object.cpp.

void graphene::chain::transaction_get_impacted_accounts ( const graphene::chain::transaction tx,
fc::flat_set< graphene::chain::account_id_type > &  result,
bool  ignore_custom_operation_required_auths 
)
void graphene::chain::transaction_get_impacted_accounts ( const transaction tx,
flat_set< account_id_type > &  result,
bool  ignore_custom_operation_required_auths 
)

Definition at line 329 of file db_notify.cpp.

void graphene::chain::update_call_orders_hf_1270 ( database db)

Reset call_price of all call orders to (1,1) since it won't be used in the future. Update PMs as well.

Definition at line 879 of file db_maint.cpp.

void graphene::chain::update_call_orders_hf_343 ( database db)

Reset call_price of all call orders according to their remaining collateral and debt. Do not update orders of prediction markets because we're sure they're up to date.

Definition at line 853 of file db_maint.cpp.

void graphene::chain::update_median_feeds ( database db)

Definition at line 990 of file db_maint.cpp.

void graphene::chain::update_top_n_authorities ( database db)

Definition at line 569 of file db_maint.cpp.

void graphene::chain::verify_account_votes ( const database db,
const account_options options 
)

Definition at line 58 of file account_evaluator.cpp.

void graphene::chain::verify_authority_accounts ( const database db,
const authority a 
)

Definition at line 42 of file account_evaluator.cpp.

graphene::chain::VESTING_VISITOR ( on_deposit  )
graphene::chain::VESTING_VISITOR ( on_deposit_vested  )
graphene::chain::VESTING_VISITOR ( on_withdraw  )
graphene::chain::VESTING_VISITOR ( is_deposit_allowed  ,
const   
)
graphene::chain::VESTING_VISITOR ( is_deposit_vested_allowed  ,
const   
)
graphene::chain::VESTING_VISITOR ( is_withdraw_allowed  ,
const   
)
graphene::chain::VESTING_VISITOR ( get_allowed_withdraw  ,
const   
)
template<typename Visitor >
void graphene::chain::visit_special_authorities ( const database db,
Visitor  visit 
)

Definition at line 551 of file db_maint.cpp.

Variable Documentation

graphene::chain::account_create

Definition at line 100 of file exceptions.cpp.

block validation exception operation validation exception graphene::chain::chain_exception

Definition at line 44 of file exceptions.cpp.

The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset graphene::chain::limit_order_create

Definition at line 76 of file exceptions.cpp.

block validation exception operation validation exception utility method exception graphene::chain::transaction_process_exception

Definition at line 62 of file exceptions.cpp.