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

Namespaces

 detail
 

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
 
struct  account_create_operation
 
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...
 
struct  account_name_eq_lit_predicate
 
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...
 
struct  account_options
 These are the fields which can be updated by the active authority. More...
 
class  account_referrer_index
 This secondary index will allow a reverse lookup of all accounts that have been referred by a particular account. 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...
 
struct  account_transfer_operation
 transfers the account to another account while clearing the white listIn theory an account can be transferred by simply updating the authorities, but that kind of transfer lacks semantic meaning and is more often done to rotate keys without transferring ownership. This operation is used to indicate the legal transfer of title to this account and a break in the operation history. More...
 
class  account_update_evaluator
 
struct  account_update_operation
 Update an existing account. More...
 
class  account_upgrade_evaluator
 
struct  account_upgrade_operation
 Manage an account's membership statusThis operation is used to upgrade an account to a member, or renew its subscription. If an account which is an unexpired annual subscription member publishes this operation with upgrade_to_lifetime_member set to false, the account's membership expiration date will be pushed backward one year. If a basic account publishes it with upgrade_to_lifetime_member set to false, the account will be upgraded to a subscription member with an expiration date one year after the processing time of this operation. More...
 
class  account_whitelist_evaluator
 
struct  account_whitelist_operation
 This operation is used to whitelist and blacklist accounts, primarily for transacting in whitelisted assetsAccounts can freely specify opinions about other accounts, in the form of either whitelisting or blacklisting them. This information is used in chain validation only to determine whether an account is authorized to transact in an asset type which enforces a whitelist, but third parties can use this information for other uses as well, as long as it does not conflict with the use of whitelisted assets. More...
 
class  address
 a 160 bit hash of a public key More...
 
class  assert_evaluator
 
struct  assert_operation
 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. More...
 
struct  asset
 
class  asset_bitasset_data_object
 contains properties that only apply to bitassets (market issued assets) More...
 
class  asset_claim_fees_evaluator
 
struct  asset_claim_fees_operation
 used to transfer accumulated fees back to the issuer's balance. More...
 
class  asset_claim_pool_evaluator
 
struct  asset_claim_pool_operation
 Transfers BTS from the fee pool of a specified asset back to the issuer's balance. More...
 
class  asset_create_evaluator
 
struct  asset_create_operation
 
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
 
struct  asset_fund_fee_pool_operation
 
class  asset_global_settle_evaluator
 
struct  asset_global_settle_operation
 allows global settling of bitassets (black swan or prediction markets) More...
 
class  asset_issue_evaluator
 
struct  asset_issue_operation
 
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...
 
struct  asset_options
 The asset_options struct contains options available on all assets in the network. More...
 
struct  asset_publish_feed_operation
 Publish price feeds for market-issued assetsPrice feed providers use this operation to publish their price feeds for market-issued assets. A price feed is used to tune the market for a particular market-issued asset. For each value in the feed, the median across all committee_member feeds for that asset is calculated and the market for the asset is configured with the median of that value. More...
 
class  asset_publish_feeds_evaluator
 
class  asset_reserve_evaluator
 
struct  asset_reserve_operation
 used to take an asset out of circulation, returning to the issuer More...
 
struct  asset_settle_cancel_operation
 
class  asset_settle_evaluator
 
struct  asset_settle_operation
 Schedules a market-issued asset for automatic settlementHolders of market-issued assests may request a forced settlement for some amount of their asset. This means that the specified sum will be locked by the chain and held for the settlement period, after which time the chain will choose a margin posision holder and buy the settled asset using the margin's collateral. The price of this sale will be based on the feed price for the market-issued asset being settled. The exact settlement price will be the feed price at the time of settlement with an offset in favor of the margin position, where the offset is a blockchain parameter set in the global_property_object. More...
 
struct  asset_symbol_eq_lit_predicate
 
class  asset_update_bitasset_evaluator
 
struct  asset_update_bitasset_operation
 Update options specific to BitAssetsBitAssets have some options which are not relevant to other asset types. This operation is used to update those options an an existing BitAsset. More...
 
class  asset_update_evaluator
 
class  asset_update_feed_producers_evaluator
 
struct  asset_update_feed_producers_operation
 Update the set of feed-producing accounts for a BitAssetBitAssets have price feeds selected by taking the median values of recommendations from a set of feed producers. This operation is used to specify which accounts may produce feeds for a given BitAsset. More...
 
class  asset_update_issuer_evaluator
 
struct  asset_update_issuer_operation
 Update issuer of an assetAn issuer has general administrative power of an asset and in some cases also its shares issued to individuals. Thus, changing the issuer today requires the use of a separate operation that needs to be signed by the owner authority. More...
 
struct  asset_update_operation
 Update options common to all assetsThere are a number of options which all assets in the network use. These options are enumerated in the asset_options struct. This operation is used to update these options for an existing asset. More...
 
class  authority
 Identifies a weighted set of keys and accounts that must approve operations. More...
 
class  balance_claim_evaluator
 
struct  balance_claim_operation
 Claim a balance in a balanc_object. More...
 
class  balance_object
 
struct  base_operation
 
class  bid_collateral_evaluator
 
struct  bid_collateral_operation
 
struct  bitasset_options
 The bitasset_options struct contains configurable options available only to BitAssets. More...
 
struct  bitasset_short_backing_asset_extractor
 
struct  blind_input
 
struct  blind_memo
 
class  blind_output
 Defines data required to create a new blind commitmentThe blinded output that must be proven to be greater than 0. More...
 
class  blind_transfer_evaluator
 
struct  blind_transfer_operation
 Transfers from blind to blind. More...
 
class  blinded_balance_object
 tracks a blinded balance commitment More...
 
class  block_database
 
struct  block_header
 
struct  block_id_predicate
 
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
 A budget record struct to be used in initialize_budget_record and process_budget. More...
 
struct  burn_worker_initializer
 
struct  burn_worker_type
 A worker who permanently destroys all of his pay. More...
 
struct  buyback_account_options
 
class  buyback_object
 
struct  by_expiration
 
struct  by_name
 
struct  calc_fee_visitor
 
class  call_order_object
 tracks debt and call price information More...
 
class  call_order_update_evaluator
 
struct  call_order_update_operation
 
struct  cdd_vesting_policy
 defines vesting in terms of coin-days accrued which allows for dynamic deposit/withdraw More...
 
struct  cdd_vesting_policy_initializer
 
struct  chain_parameters
 
class  chain_property_object
 
class  collateral_bid_object
 bids of collateral for debt after a black swan More...
 
class  committee_member_create_evaluator
 
struct  committee_member_create_operation
 Create a committee_member object, as a bid to hold a committee_member seat on the network.Accounts which wish to become committee_members may use this operation to create a committee_member object which stakeholders may vote on to approve its position as a committee_member. More...
 
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
 
struct  committee_member_update_global_parameters_operation
 Used by committee_members to update the global parameters of the blockchain.This operation allows the committee_members to update the global parameters on the blockchain. These control various tunable aspects of the chain, including block and maintenance intervals, maximum data sizes, the fees charged by the network, etc. More...
 
struct  committee_member_update_operation
 Update a committee_member object.Currently the only field which can be updated is the url field. More...
 
class  custom_evaluator
 
struct  custom_operation
 provides a generic way to add higher level protocols on top of witness consensusThere 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. More...
 
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
 
struct  execute_bid_operation
 
struct  extended_private_key_type
 
struct  extended_public_key_type
 
struct  extension
 
class  fba_accumulator_object
 
struct  fba_distribute_operation
 
class  fee_helper
 
class  fee_helper< account_create_operation >
 
class  fee_helper< asset_claim_pool_operation >
 
class  fee_helper< asset_update_issuer_operation >
 
class  fee_helper< bid_collateral_operation >
 
struct  fee_schedule
 contains all of the parameters necessary to calculate the fee for any operation More...
 
struct  fee_schedule_validate_visitor
 
struct  fill_order_operation
 
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  graphene_extension_pack_count_visitor
 
struct  graphene_extension_pack_read_visitor
 
struct  graphene_extension_unpack_visitor
 
struct  hardfork_visitor_214
 
struct  immutable_chain_parameters
 
struct  index_entry
 
struct  init_policy_visitor
 
class  limit_order_cancel_evaluator
 
struct  limit_order_cancel_operation
 
class  limit_order_create_evaluator
 
class  limit_order_create_operation
 instructs the blockchain to attempt to sell one asset for anotherThe blockchain will atempt to sell amount_to_sell.asset_id for as much min_to_receive.asset_id as possible. The fee will be paid by the seller's account. Market fees will apply as specified by the issuer of both the selling asset and the receiving asset as a percentage of the amount exchanged. More...
 
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...
 
struct  linear_vesting_policy_initializer
 
struct  memo_data
 defines the keys used to derive the shared secret More...
 
struct  memo_message
 defines a message and checksum to enable validation of successful decryption More...
 
struct  no_special_authority
 
class  node_property_object
 Contains per-node database configuration. More...
 
class  op_evaluator
 
class  op_evaluator_impl
 
struct  op_wrapper
 necessary to support nested operations inside the proposal_create_operation More...
 
struct  operation_get_required_auth
 
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...
 
struct  operation_validator
 Used to validate operations in a polymorphic manner. More...
 
class  override_transfer_evaluator
 
class  override_transfer_operation
 Allows the issuer of an asset to transfer an asset from any account to any account if they have override_authority. More...
 
struct  p10
 
struct  p10< 0 >
 
struct  predicate_evaluator
 
struct  predicate_validator
 
struct  price
 The price struct stores asset prices in the Graphene system. More...
 
class  price_feed
 defines market parameters for margin positions More...
 
struct  processed_transaction
 captures the result of evaluating the operations contained in the transaction More...
 
class  proposal_create_evaluator
 
struct  proposal_create_operation
 The proposal_create_operation creates a transaction proposal, for use in multi-sig scenariosCreates 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. More...
 
class  proposal_delete_evaluator
 
struct  proposal_delete_operation
 The proposal_delete_operation deletes an existing transaction proposalThis operation allows the early veto of a proposed transaction. It may be used by any account which is a required authority on the proposed transaction, when that account's holder feels the proposal is ill-advised and he decides he will never approve of it and wishes to put an end to all discussion of the issue. Because he is a required authority, he could simply refuse to add his approval, but this would leave the topic open for debate until the proposal expires. Using this operation, he can prevent any further breath from being wasted on such an absurd proposal. More...
 
class  proposal_object
 tracks the approval of a partially approved transaction More...
 
struct  proposal_operation_hardfork_visitor
 
class  proposal_update_evaluator
 
struct  proposal_update_operation
 The proposal_update_operation updates an existing transaction proposalThis operation allows accounts to add or revoke approval of a proposed transaction. Signatures sufficient to satisfy the authority of each account in approvals are required on the transaction containing this operation. More...
 
struct  pts_address
 
struct  public_key_type
 
class  push_proposal_nesting_guard
 
struct  refund_worker_initializer
 
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  set_fee_visitor
 
struct  sign_state
 
struct  signed_block
 
struct  signed_block_header
 
struct  signed_transaction
 adds a signature to a transaction More...
 
struct  special_authority_evaluate_visitor
 
class  special_authority_object
 
struct  special_authority_validate_visitor
 
struct  stealth_confirmation
 
struct  top_holders_special_authority
 
struct  transaction
 groups operations that should be applied atomically More...
 
class  transaction_evaluation_state
 
class  transaction_object
 
class  transfer_evaluator
 
class  transfer_from_blind_evaluator
 
struct  transfer_from_blind_operation
 Converts blinded/stealth balance to a public account balance. More...
 
struct  transfer_operation
 Transfers an amount of one asset from one account to another. More...
 
class  transfer_to_blind_evaluator
 
class  transfer_to_blind_operation
 Converts public account balance to a blinded or stealth balance. More...
 
struct  transform_to_fee_parameters
 
struct  transform_to_fee_parameters< fc::static_variant< T... > >
 
class  vesting_balance_create_evaluator
 
struct  vesting_balance_create_operation
 Create a vesting balance.The chain allows a user to create a vesting balance. Normally, vesting balances are created automatically as part of cashback and worker operations. This operation allows vesting balances to be created manually as well. More...
 
class  vesting_balance_object
 
class  vesting_balance_withdraw_evaluator
 
struct  vesting_balance_withdraw_operation
 Withdraw from a vesting balance.Withdrawal from a not-completely-mature vesting balance will result in paying fees. More...
 
struct  vesting_balance_worker_initializer
 
struct  vesting_balance_worker_type
 A worker who sends his pay to a vesting balance. More...
 
struct  vesting_policy_context
 
struct  void_result
 
struct  void_t
 
struct  vote_counter
 
struct  vote_id_type
 An ID for some votable object. More...
 
class  withdraw_permission_claim_evaluator
 
struct  withdraw_permission_claim_operation
 Withdraw from an account which has published a withdrawal permissionThis operation is used to withdraw from an account which has authorized such a withdrawal. It may be executed at most once per withdrawal period for the given permission. On execution, amount_to_withdraw is transferred from withdraw_from_account to withdraw_to_account, assuming amount_to_withdraw is within the withdrawal limit. The withdrawal permission will be updated to note that the withdrawal for the current period has occurred, and further withdrawals will not be permitted until the next withdrawal period, assuming the permission has not expired. This operation may be executed at any time within the current withdrawal period. More...
 
class  withdraw_permission_create_evaluator
 
struct  withdraw_permission_create_operation
 Create a new withdrawal permissionThis operation creates a withdrawal permission, which allows some authorized account to withdraw from an authorizing account. This operation is primarily useful for scheduling recurring payments. More...
 
class  withdraw_permission_delete_evaluator
 
struct  withdraw_permission_delete_operation
 Delete an existing withdrawal permissionThis operation cancels a withdrawal permission, thus preventing any future withdrawals using that permission. More...
 
class  withdraw_permission_object
 Grants another account authority to withdraw a limited amount of funds per interval. More...
 
class  withdraw_permission_update_evaluator
 
struct  withdraw_permission_update_operation
 Update an existing withdraw permissionThis oeration is used to update the settings for an existing withdrawal permission. The accounts to withdraw to and from may never be updated. The fields which may be updated are the withdrawal limit (both amount and asset type may be updated), the withdrawal period length, the remaining number of periods until expiration, and the starting time of the new period. More...
 
class  witness_create_evaluator
 
struct  witness_create_operation
 Create a witness object, as a bid to hold a witness position on the network.Accounts which wish to become witnesses may use this operation to create a witness object which stakeholders may vote on to approve its position as a witness. More...
 
class  witness_object
 
class  witness_schedule_object
 
class  witness_update_evaluator
 
struct  witness_update_operation
 Update a witness object's URL and block signing key. More...
 
class  worker_create_evaluator
 
struct  worker_create_operation
 Create a new worker object. More...
 
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...
 
struct  zero_fee_visitor
 

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_account_asset >, composite_key< account_balance_object, member< account_balance_object, account_id_type, &account_balance_object::owner >, member< account_balance_object, asset_id_type, &account_balance_object::asset_type > > >, 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_owner >, member< account_statistics_object, account_id_type, &account_statistics_object::owner > >, 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_non_unique< tag< by_issuer >, member< asset_object, account_id_type, &asset_object::issuer > >, 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 > > > > > 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 shared_ptr< fork_itemitem_ptr
 
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< 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 static_variant< account_name_eq_lit_predicate, asset_symbol_eq_lit_predicate, block_id_predicatepredicate
 
typedef fc::static_variant< void_result, object_id_type, assetoperation_result
 
typedef static_variant< void_tfuture_extensions
 
typedef flat_set< future_extensionsextensions_type
 
typedef static_variant parameter_extension
 
typedef transform_to_fee_parameters< operation >::type fee_parameters
 
typedef fee_schedule fee_schedule_type
 
typedef fc::static_variant< transfer_operation, limit_order_create_operation, limit_order_cancel_operation, call_order_update_operation, fill_order_operation, account_create_operation, account_update_operation, account_whitelist_operation, account_upgrade_operation, account_transfer_operation, asset_create_operation, asset_update_operation, asset_update_bitasset_operation, asset_update_feed_producers_operation, asset_issue_operation, asset_reserve_operation, asset_fund_fee_pool_operation, asset_settle_operation, asset_global_settle_operation, asset_publish_feed_operation, witness_create_operation, witness_update_operation, proposal_create_operation, proposal_update_operation, proposal_delete_operation, withdraw_permission_create_operation, withdraw_permission_update_operation, withdraw_permission_claim_operation, withdraw_permission_delete_operation, committee_member_create_operation, committee_member_update_operation, committee_member_update_global_parameters_operation, vesting_balance_create_operation, vesting_balance_withdraw_operation, worker_create_operation, custom_operation, assert_operation, balance_claim_operation, override_transfer_operation, transfer_to_blind_operation, blind_transfer_operation, transfer_from_blind_operation, asset_settle_cancel_operation, asset_claim_fees_operation, fba_distribute_operation, bid_collateral_operation, execute_bid_operation, asset_claim_pool_operation, asset_update_issuer_operationoperation
 
typedef static_variant< no_special_authority, top_holders_special_authorityspecial_authority
 
typedef fc::ecc::private_key private_key_type
 
typedef fc::sha256 chain_id_type
 
typedef boost::rational< int32_t > ratio_type
 
typedef object_id< protocol_ids, account_object_type, account_objectaccount_id_type
 
typedef object_id< protocol_ids, asset_object_type, asset_objectasset_id_type
 
typedef object_id< protocol_ids, force_settlement_object_type, force_settlement_objectforce_settlement_id_type
 
typedef object_id< protocol_ids, committee_member_object_type, committee_member_objectcommittee_member_id_type
 
typedef object_id< protocol_ids, witness_object_type, witness_objectwitness_id_type
 
typedef object_id< protocol_ids, limit_order_object_type, limit_order_objectlimit_order_id_type
 
typedef object_id< protocol_ids, call_order_object_type, call_order_objectcall_order_id_type
 
typedef object_id< protocol_ids, custom_object_type, custom_object > custom_id_type
 
typedef object_id< protocol_ids, proposal_object_type, proposal_objectproposal_id_type
 
typedef object_id< protocol_ids, operation_history_object_type, operation_history_objectoperation_history_id_type
 
typedef object_id< protocol_ids, withdraw_permission_object_type, withdraw_permission_objectwithdraw_permission_id_type
 
typedef object_id< protocol_ids, vesting_balance_object_type, vesting_balance_objectvesting_balance_id_type
 
typedef object_id< protocol_ids, worker_object_type, worker_objectworker_id_type
 
typedef object_id< protocol_ids, balance_object_type, balance_objectbalance_id_type
 
typedef object_id< implementation_ids, impl_global_property_object_type, global_property_objectglobal_property_id_type
 
typedef object_id< implementation_ids, impl_dynamic_global_property_object_type, dynamic_global_property_objectdynamic_global_property_id_type
 
typedef object_id< implementation_ids, impl_asset_dynamic_data_type, asset_dynamic_data_objectasset_dynamic_data_id_type
 
typedef object_id< implementation_ids, impl_asset_bitasset_data_type, asset_bitasset_data_objectasset_bitasset_data_id_type
 
typedef object_id< implementation_ids, impl_account_balance_object_type, account_balance_objectaccount_balance_id_type
 
typedef object_id< implementation_ids, impl_account_statistics_object_type, account_statistics_objectaccount_statistics_id_type
 
typedef object_id< implementation_ids, impl_transaction_object_type, transaction_objecttransaction_obj_id_type
 
typedef object_id< implementation_ids, impl_block_summary_object_type, block_summary_objectblock_summary_id_type
 
typedef object_id< implementation_ids, impl_account_transaction_history_object_type, account_transaction_history_objectaccount_transaction_history_id_type
 
typedef object_id< implementation_ids, impl_chain_property_object_type, chain_property_objectchain_property_id_type
 
typedef object_id< implementation_ids, impl_witness_schedule_object_type, witness_schedule_objectwitness_schedule_id_type
 
typedef object_id< implementation_ids, impl_blinded_balance_object_type, blinded_balance_objectblinded_balance_id_type
 
typedef object_id< implementation_ids, impl_special_authority_object_type, special_authority_objectspecial_authority_id_type
 
typedef object_id< implementation_ids, impl_buyback_object_type, buyback_objectbuyback_id_type
 
typedef object_id< implementation_ids, impl_fba_accumulator_object_type, fba_accumulator_objectfba_accumulator_id_type
 
typedef object_id< implementation_ids, impl_collateral_bid_object_type, collateral_bid_objectcollateral_bid_id_type
 
typedef fc::ripemd160 block_id_type
 
typedef fc::ripemd160 checksum_type
 
typedef fc::ripemd160 transaction_id_type
 
typedef fc::sha256 digest_type
 
typedef fc::ecc::compact_signature signature_type
 
typedef safe< int64_t > share_type
 
typedef uint16_t weight_type
 
typedef fc::static_variant< linear_vesting_policy_initializer, cdd_vesting_policy_initializervesting_policy_initializer
 
typedef static_variant< refund_worker_initializer, vesting_balance_worker_initializer, burn_worker_initializerworker_initializer
 
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< transaction_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_object, transaction_id_type, trx_id), std::hash< transaction_id_type > >, ordered_non_unique< tag< by_expiration >, const_mem_fun< transaction_object, time_point_sec, &transaction_object::get_expiration > > > > transaction_multi_index_type
 
typedef generic_index< transaction_object, transaction_multi_index_typetransaction_index
 
typedef fc::static_variant< linear_vesting_policy, cdd_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 > > > > 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 > > >> worker_object_multi_index_type
 
using worker_index = generic_index< worker_object, worker_object_multi_index_type >
 
typedef boost::multiprecision::uint128_t uint128_t
 
typedef boost::multiprecision::int128_t int128_t
 
typedef fc::smart_ref< fee_schedulesmart_fee_schedule
 

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  asset_issuer_permission_flags {
  charge_market_fee = 0x01, white_list = 0x02, override_authority = 0x04, transfer_restricted = 0x08,
  disable_force_settle = 0x10, global_settle = 0x20, disable_confidential = 0x40, witness_fed_asset = 0x80,
  committee_fed_asset = 0x100
}
 
enum  reserved_spaces { relative_protocol_ids = 0, protocol_ids = 1, implementation_ids = 2 }
 
enum  object_type {
  null_object_type, base_object_type, account_object_type, asset_object_type,
  force_settlement_object_type, committee_member_object_type, witness_object_type, limit_order_object_type,
  call_order_object_type, custom_object_type, proposal_object_type, operation_history_object_type,
  withdraw_permission_object_type, vesting_balance_object_type, worker_object_type, balance_object_type,
  OBJECT_TYPE_COUNT
}
 
enum  impl_object_type {
  impl_global_property_object_type, impl_dynamic_global_property_object_type, impl_reserved0_object_type, impl_asset_dynamic_data_type,
  impl_asset_bitasset_data_type, impl_account_balance_object_type, impl_account_statistics_object_type, impl_transaction_object_type,
  impl_block_summary_object_type, impl_account_transaction_history_object_type, impl_blinded_balance_object_type, impl_chain_property_object_type,
  impl_witness_schedule_object_type, impl_reserved1_object_type, impl_special_authority_object_type, impl_buyback_object_type,
  impl_fba_accumulator_object_type, impl_collateral_bid_object_type
}
 

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 (database &d, const asset_update_bitasset_operation &op, const asset_object &new_backing_asset, bool after_hf_922_931)
 
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_and_match_call_orders (database &db)
 
void process_hf_868_890 (database &db, bool skip_check_call_orders)
 
void process_hf_935 (database &db)
 
bool maybe_cull_small_order (database &db, const limit_order_object &order)
 
fc::variant_object get_config ()
 
 GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS (transfer)
 
 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)
 
 GRAPHENE_DECLARE_OP_EVALUATE_EXCEPTION (unknown_commitment, blind_transfer, 1, "Attempting to claim an unknown prior commitment")
 
void operation_get_impacted_accounts (const graphene::chain::operation &op, fc::flat_set< graphene::chain::account_id_type > &result)
 
void transaction_get_impacted_accounts (const graphene::chain::transaction &tx, fc::flat_set< graphene::chain::account_id_type > &result)
 
bool is_authorized_asset (const database &d, const account_object &acct, const asset_object &asset_obj)
 
bool is_valid_name (const string &s)
 
bool is_cheap_name (const string &n)
 
bool operator== (const address &a, const address &b)
 
bool operator!= (const address &a, const address &b)
 
bool operator< (const address &a, const address &b)
 
price operator/ (const asset &base, const asset &quote)
 
price operator~ (const price &p)
 
bool operator< (const price &a, const price &b)
 
bool operator== (const price &a, const price &b)
 
bool operator> (const price &a, const price &b)
 
bool operator<= (const price &a, const price &b)
 
bool operator>= (const price &a, const price &b)
 
bool operator!= (const price &a, const price &b)
 
asset operator* (const asset &a, const price &b)
 Multiply and round down. More...
 
price operator* (const price &p, const ratio_type &r)
 
price operator/ (const price &p, const ratio_type &r)
 
priceoperator*= (price &p, const ratio_type &r)
 
priceoperator/= (price &p, const ratio_type &r)
 
bool is_valid_symbol (const string &symbol)
 
void add_authority_accounts (flat_set< account_id_type > &result, const authority &a)
 
void operation_get_required_authorities (const operation &op, flat_set< account_id_type > &active, flat_set< account_id_type > &owner, vector< authority > &other)
 
void operation_validate (const operation &op)
 
void validate_special_authority (const special_authority &auth)
 
void verify_authority (const vector< operation > &ops, const flat_set< public_key_type > &sigs, const std::function< const authority *(account_id_type)> &get_active, const std::function< const authority *(account_id_type)> &get_owner, uint32_t max_recursion=GRAPHENE_MAX_SIG_CHECK_DEPTH, bool allow_committe=false, const flat_set< account_id_type > &active_aprovals=flat_set< account_id_type >(), const flat_set< account_id_type > &owner_approvals=flat_set< account_id_type >())
 
bool is_relative (object_id_type o)
 
vote_id_type get_next_vote_id (global_property_object &gpo, vote_id_type::vote_type type)
 
bool operator== (const pts_address &a, const pts_address &b)
 
bool operator!= (const pts_address &a, const pts_address &b)
 
bool operator< (const pts_address &a, const pts_address &b)
 
void evaluate_special_authority (const database &db, const special_authority &auth)
 
bool operator== (const public_key_type &p1, const fc::ecc::public_key &p2)
 
bool operator== (const public_key_type &p1, const public_key_type &p2)
 
bool operator!= (const public_key_type &p1, const public_key_type &p2)
 
bool operator== (const extended_public_key_type &p1, const fc::ecc::extended_public_key &p2)
 
bool operator== (const extended_public_key_type &p1, const extended_public_key_type &p2)
 
bool operator!= (const extended_public_key_type &p1, const extended_public_key_type &p2)
 
bool operator== (const extended_private_key_type &p1, const fc::ecc::extended_public_key &p2)
 
bool operator== (const extended_private_key_type &p1, const extended_private_key_type &p2)
 
bool operator!= (const extended_private_key_type &p1, const extended_private_key_type &p2)
 
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

const int64_t scaled_precision_lut []
 
const flat_set< public_key_typeempty_keyset
 

Typedef Documentation

◆ account_balance_id_type

Definition at line 222 of file types.hpp.

◆ account_balance_index

Definition at line 382 of file account_object.hpp.

◆ account_balance_object_multi_index_type

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_account_asset>, composite_key< account_balance_object, member<account_balance_object, account_id_type, &account_balance_object::owner>, member<account_balance_object, asset_id_type, &account_balance_object::asset_type> > >, 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 346 of file account_object.hpp.

◆ account_id_type

Definition at line 184 of file types.hpp.

◆ account_index

Definition at line 400 of file account_object.hpp.

◆ account_multi_index_type

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 395 of file account_object.hpp.

◆ account_statistics_id_type

Definition at line 223 of file types.hpp.

◆ account_stats_index

Definition at line 427 of file account_object.hpp.

◆ account_stats_multi_index_type

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_owner>, member< account_statistics_object, account_id_type, &account_statistics_object::owner > >, 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 403 of file account_object.hpp.

◆ account_transaction_history_id_type

Definition at line 229 of file types.hpp.

◆ account_transaction_history_index

Definition at line 139 of file operation_history_object.hpp.

◆ account_transaction_history_multi_index_type

Definition at line 115 of file operation_history_object.hpp.

◆ asset_bitasset_data_id_type

Definition at line 221 of file types.hpp.

◆ asset_bitasset_data_index

Definition at line 277 of file asset_object.hpp.

◆ asset_bitasset_data_object_multi_index_type

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 259 of file asset_object.hpp.

◆ asset_dynamic_data_id_type

Definition at line 220 of file types.hpp.

◆ asset_id_type

Definition at line 187 of file types.hpp.

◆ asset_index

Definition at line 296 of file asset_object.hpp.

◆ asset_object_multi_index_type

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_non_unique< tag<by_issuer>, member<asset_object, account_id_type, &asset_object::issuer > >, 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 > > > > > graphene::chain::asset_object_multi_index_type

Definition at line 281 of file asset_object.hpp.

◆ balance_id_type

Definition at line 199 of file types.hpp.

◆ balance_index

Definition at line 71 of file balance_object.hpp.

◆ balance_multi_index_type

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.

◆ blinded_balance_id_type

Definition at line 232 of file types.hpp.

◆ blinded_balance_index

Definition at line 67 of file confidential_object.hpp.

◆ blinded_balance_object_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> > >> graphene::chain::blinded_balance_object_multi_index_type

Definition at line 55 of file confidential_object.hpp.

◆ block_id_type

typedef fc::ripemd160 graphene::chain::block_id_type

Definition at line 238 of file types.hpp.

◆ block_summary_id_type

Definition at line 225 of file types.hpp.

◆ buyback_id_type

Definition at line 234 of file types.hpp.

◆ buyback_index

Definition at line 63 of file buyback_object.hpp.

◆ buyback_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> > >> graphene::chain::buyback_multi_index_type

Definition at line 53 of file buyback_object.hpp.

◆ call_order_id_type

Definition at line 192 of file types.hpp.

◆ call_order_index

Definition at line 257 of file market_object.hpp.

◆ call_order_multi_index_type

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 186 of file market_object.hpp.

◆ chain_id_type

typedef fc::sha256 graphene::chain::chain_id_type

Definition at line 89 of file types.hpp.

◆ chain_property_id_type

Definition at line 230 of file types.hpp.

◆ checksum_type

typedef fc::ripemd160 graphene::chain::checksum_type

Definition at line 239 of file types.hpp.

◆ collateral_bid_id_type

Definition at line 236 of file types.hpp.

◆ collateral_bid_index

Definition at line 259 of file market_object.hpp.

◆ collateral_bid_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> > > >> graphene::chain::collateral_bid_object_multi_index_type

Definition at line 255 of file market_object.hpp.

◆ committee_member_id_type

Definition at line 189 of file types.hpp.

◆ committee_member_index

Definition at line 73 of file committee_member_object.hpp.

◆ committee_member_multi_index_type

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 72 of file committee_member_object.hpp.

◆ custom_id_type

Definition at line 193 of file types.hpp.

◆ digest_type

typedef fc::sha256 graphene::chain::digest_type

Definition at line 241 of file types.hpp.

◆ dynamic_global_property_id_type

Definition at line 219 of file types.hpp.

◆ fba_accumulator_id_type

Definition at line 235 of file types.hpp.

◆ fee_parameters

Definition at line 35 of file fee_schedule.hpp.

◆ fee_schedule_type

Definition at line 151 of file fee_schedule.hpp.

◆ force_settlement_id_type

Definition at line 188 of file types.hpp.

◆ force_settlement_index

Definition at line 258 of file market_object.hpp.

◆ force_settlement_object_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 > > > >> graphene::chain::force_settlement_object_multi_index_type

Definition at line 214 of file market_object.hpp.

◆ global_property_id_type

Definition at line 216 of file types.hpp.

◆ int128_t

typedef boost::multiprecision::int128_t graphene::chain::int128_t

Definition at line 30 of file asset.cpp.

◆ item_ptr

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

Definition at line 50 of file fork_database.hpp.

◆ limit_order_id_type

Definition at line 191 of file types.hpp.

◆ limit_order_index

Definition at line 103 of file market_object.hpp.

◆ limit_order_multi_index_type

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<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 74 of file market_object.hpp.

◆ operation_history_id_type

Definition at line 195 of file types.hpp.

◆ operation_history_index

Definition at line 111 of file operation_history_object.hpp.

◆ operation_history_multi_index_type

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 102 of file operation_history_object.hpp.

◆ parameter_extension

typedef static_variant graphene::chain::parameter_extension

Definition at line 33 of file chain_parameters.hpp.

◆ predicate

When defining predicates do not make the protocol dependent upon implementation details.

Definition at line 81 of file assert.hpp.

◆ private_key_type

typedef fc::ecc::private_key graphene::chain::private_key_type

Definition at line 88 of file types.hpp.

◆ proposal_id_type

Definition at line 194 of file types.hpp.

◆ proposal_index

Definition at line 98 of file proposal_object.hpp.

◆ proposal_multi_index_container

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 97 of file proposal_object.hpp.

◆ ratio_type

typedef boost::rational< int32_t > graphene::chain::ratio_type

Definition at line 91 of file types.hpp.

◆ share_type

typedef safe<int64_t> graphene::chain::share_type

Definition at line 243 of file types.hpp.

◆ signature_type

typedef fc::ecc::compact_signature graphene::chain::signature_type

Definition at line 242 of file types.hpp.

◆ smart_fee_schedule

Definition at line 42 of file fee_schedule.cpp.

◆ special_authority

Definition at line 42 of file special_authority.hpp.

◆ special_authority_id_type

Definition at line 233 of file types.hpp.

◆ special_authority_index

Definition at line 62 of file special_authority_object.hpp.

◆ special_authority_multi_index_type

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 52 of file special_authority_object.hpp.

◆ transaction_id_type

typedef fc::ripemd160 graphene::chain::transaction_id_type

Definition at line 240 of file types.hpp.

◆ transaction_index

Definition at line 71 of file transaction_object.hpp.

◆ transaction_multi_index_type

typedef multi_index_container< transaction_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_object, transaction_id_type, trx_id), std::hash<transaction_id_type> >, ordered_non_unique< tag<by_expiration>, const_mem_fun<transaction_object, time_point_sec, &transaction_object::get_expiration > > > > graphene::chain::transaction_multi_index_type

Definition at line 61 of file transaction_object.hpp.

◆ transaction_obj_id_type

Definition at line 224 of file types.hpp.

◆ uint128_t

typedef boost::multiprecision::uint128_t graphene::chain::uint128_t

Definition at line 29 of file asset.cpp.

◆ vesting_balance_id_type

Definition at line 197 of file types.hpp.

◆ vesting_balance_index

Definition at line 186 of file vesting_balance_object.hpp.

◆ vesting_balance_multi_index_type

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> > > > graphene::chain::vesting_balance_multi_index_type

Definition at line 173 of file vesting_balance_object.hpp.

◆ vesting_policy

Definition at line 125 of file vesting_balance_object.hpp.

◆ vesting_policy_initializer

Definition at line 45 of file vesting.hpp.

◆ weight_type

typedef uint16_t graphene::chain::weight_type

Definition at line 244 of file types.hpp.

◆ withdraw_permission_id_type

Definition at line 196 of file types.hpp.

◆ withdraw_permission_index

Definition at line 111 of file withdraw_permission_object.hpp.

◆ withdraw_permission_object_multi_index_type

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 84 of file withdraw_permission_object.hpp.

◆ witness_id_type

Definition at line 190 of file types.hpp.

◆ witness_index

Definition at line 70 of file witness_object.hpp.

◆ witness_multi_index_type

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 69 of file witness_object.hpp.

◆ witness_schedule_id_type

Definition at line 231 of file types.hpp.

◆ worker_id_type

Definition at line 198 of file types.hpp.

◆ worker_index

Definition at line 156 of file worker_object.hpp.

◆ worker_object_multi_index_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 > > >> graphene::chain::worker_object_multi_index_type

Definition at line 145 of file worker_object.hpp.

◆ worker_type

Definition at line 99 of file worker_object.hpp.

Enumeration Type Documentation

◆ asset_issuer_permission_flags

Enumerator
charge_market_fee 

an issuer-specified percentage of all market trades in this asset is paid to the issuer

white_list 

accounts must be whitelisted in order to hold this asset

override_authority 

issuer may transfer asset back to himself

transfer_restricted 

require the issuer to be one party to every transfer

disable_force_settle 

disable force settling

global_settle 

allow the bitasset issuer to force a global settling – this may be set in permissions, but not flags

disable_confidential 

allow the asset to be used with confidential transactions

witness_fed_asset 

allow the asset to be fed by witnesses

committee_fed_asset 

allow the asset to be fed by the committee

Definition at line 93 of file types.hpp.

◆ graphene_fba_accumulator_id_enum

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.

◆ impl_object_type

Enumerator
impl_global_property_object_type 
impl_dynamic_global_property_object_type 
impl_reserved0_object_type 
impl_asset_dynamic_data_type 
impl_asset_bitasset_data_type 
impl_account_balance_object_type 
impl_account_statistics_object_type 
impl_transaction_object_type 
impl_block_summary_object_type 
impl_account_transaction_history_object_type 
impl_blinded_balance_object_type 
impl_chain_property_object_type 
impl_witness_schedule_object_type 
impl_reserved1_object_type 
impl_special_authority_object_type 
impl_buyback_object_type 
impl_fba_accumulator_object_type 
impl_collateral_bid_object_type 

Definition at line 146 of file types.hpp.

◆ object_type

List all object types from all namespaces here so they can be easily reflected and displayed in debug output. If a 3rd party wants to extend the core code then they will have to change the packed_object::type field from enum_type to uint16 to avoid warnings when converting packed_objects to/from json.

Enumerator
null_object_type 
base_object_type 
account_object_type 
asset_object_type 
force_settlement_object_type 
committee_member_object_type 
witness_object_type 
limit_order_object_type 
call_order_object_type 
custom_object_type 
proposal_object_type 
operation_history_object_type 
withdraw_permission_object_type 
vesting_balance_object_type 
worker_object_type 
balance_object_type 
OBJECT_TYPE_COUNT 

Sentry value which contains the number of different object types.

Definition at line 125 of file types.hpp.

◆ reserved_spaces

Enumerator
relative_protocol_ids 
protocol_ids 
implementation_ids 

Definition at line 109 of file types.hpp.

Function Documentation

◆ add_authority_accounts()

void graphene::chain::add_authority_accounts ( flat_set< account_id_type > &  result,
const authority a 
)

Add all account members of the given authority to the given flat_set.

Definition at line 29 of file authority.cpp.

◆ check_children_of_bitasset()

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

Definition at line 389 of file asset_evaluator.cpp.

◆ create_buyback_orders()

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

Definition at line 713 of file db_maint.cpp.

◆ cut_fee()

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

Definition at line 32 of file account_object.cpp.

◆ debug_apply_update()

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

Definition at line 113 of file db_debug.cpp.

◆ deprecate_annual_members()

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

Definition at line 789 of file db_maint.cpp.

◆ distribute_fba_balances()

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

Definition at line 706 of file db_maint.cpp.

◆ evaluate_buyback_account_options()

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

Definition at line 32 of file buyback.cpp.

◆ evaluate_special_authority()

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

Definition at line 64 of file special_authority.cpp.

◆ get_config()

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

Definition at line 31 of file get_config.cpp.

◆ get_next_vote_id()

vote_id_type graphene::chain::get_next_vote_id ( global_property_object gpo,
vote_id_type::vote_type  type 
)

Definition at line 31 of file vote.cpp.

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [1/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( transfer  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [2/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( call_order_update  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [3/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( account_create  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [4/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( account_update  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [5/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( asset_reserve  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [6/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( proposal_create  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [7/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( balance_claim  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [8/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( override_transfer  )

◆ GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS() [9/9]

graphene::chain::GRAPHENE_DECLARE_OP_BASE_EXCEPTIONS ( blind_transfer  )

◆ GRAPHENE_DECLARE_OP_EVALUATE_EXCEPTION()

graphene::chain::GRAPHENE_DECLARE_OP_EVALUATE_EXCEPTION ( unknown_commitment  ,
blind_transfer  ,
,
"Attempting to claim an unknown prior commitment"   
)

◆ is_authorized_asset()

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.

◆ is_cheap_name()

bool graphene::chain::is_cheap_name ( const string &  n)

Definition at line 127 of file account.cpp.

◆ is_relative()

bool graphene::chain::is_relative ( object_id_type  o)
inline

Definition at line 116 of file types.hpp.

◆ is_valid_name()

bool graphene::chain::is_valid_name ( const string &  name)

Names must comply with the following grammar (RFC 1035): <domain> ::= <subdomain> | " " <subdomain> ::= <label> | <subdomain> "." <label> <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ] <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str> <let-dig-hyp> ::= <let-dig> | "-" <let-dig> ::= <letter> | <digit>

Which is equivalent to the following:

<domain> ::= <subdomain> | " " <subdomain> ::= <label> ("." <label>)* <label> ::= <letter> [ [ <let-dig-hyp>+ ] <let-dig> ] <let-dig-hyp> ::= <let-dig> | "-" <let-dig> ::= <letter> | <digit>

I.e. a valid name consists of a dot-separated sequence of one or more labels consisting of the following rules:

  • Each label is three characters or more
  • Each label begins with a letter
  • Each label ends with a letter or digit
  • Each label contains only letters, digits or hyphens

In addition we require the following:

  • All letters are lowercase
  • Length is between (inclusive) GRAPHENE_MIN_ACCOUNT_NAME_LENGTH and GRAPHENE_MAX_ACCOUNT_NAME_LENGTH

Definition at line 58 of file account.cpp.

◆ is_valid_symbol()

bool graphene::chain::is_valid_symbol ( const string &  symbol)

Valid symbols can contain [A-Z0-9], and '.' They must start with [A, Z] They must end with [A, Z] before HF_620 or [A-Z0-9] after it They can contain a maximum of one '.'

Definition at line 36 of file asset_ops.cpp.

◆ maybe_cull_small_order()

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 301 of file db_market.cpp.

◆ operation_get_impacted_accounts()

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

◆ operation_get_required_authorities()

void graphene::chain::operation_get_required_authorities ( const operation op,
flat_set< account_id_type > &  active,
flat_set< account_id_type > &  owner,
vector< authority > &  other 
)

Appends required authorites to the result vector. The authorities appended are not the same as those returned by get_required_auth

Returns
a set of required authorities for op

Definition at line 79 of file operations.cpp.

◆ operation_validate()

void graphene::chain::operation_validate ( const operation op)

Definition at line 74 of file operations.cpp.

◆ operator!=() [1/6]

bool graphene::chain::operator!= ( const pts_address a,
const pts_address b 
)
inline

Definition at line 51 of file pts_address.hpp.

◆ operator!=() [2/6]

bool graphene::chain::operator!= ( const address a,
const address b 
)
inline

Definition at line 74 of file address.hpp.

◆ operator!=() [3/6]

bool graphene::chain::operator!= ( const public_key_type p1,
const public_key_type p2 
)

Definition at line 85 of file types.cpp.

◆ operator!=() [4/6]

bool graphene::chain::operator!= ( const extended_public_key_type p1,
const extended_public_key_type p2 
)

Definition at line 139 of file types.cpp.

◆ operator!=() [5/6]

bool graphene::chain::operator!= ( const price a,
const price b 
)
inline

Definition at line 149 of file asset.hpp.

◆ operator!=() [6/6]

bool graphene::chain::operator!= ( const extended_private_key_type p1,
const extended_private_key_type p2 
)

Definition at line 193 of file types.cpp.

◆ operator*() [1/2]

asset graphene::chain::operator* ( const asset a,
const price b 
)

Multiply and round down.

Definition at line 56 of file asset.cpp.

◆ operator*() [2/2]

price graphene::chain::operator* ( const price p,
const ratio_type r 
)

Definition at line 104 of file asset.cpp.

◆ operator*=()

price& graphene::chain::operator*= ( price p,
const ratio_type r 
)
inline

Definition at line 156 of file asset.hpp.

◆ operator/() [1/2]

price graphene::chain::operator/ ( const asset base,
const asset quote 
)

Definition at line 95 of file asset.cpp.

◆ operator/() [2/2]

price graphene::chain::operator/ ( const price p,
const ratio_type r 
)

Definition at line 186 of file asset.cpp.

◆ operator/=()

price& graphene::chain::operator/= ( price p,
const ratio_type r 
)
inline

Definition at line 158 of file asset.hpp.

◆ operator<() [1/3]

bool graphene::chain::operator< ( const pts_address a,
const pts_address b 
)
inline

Definition at line 52 of file pts_address.hpp.

◆ operator<() [2/3]

bool graphene::chain::operator< ( const address a,
const address b 
)
inline

Definition at line 75 of file address.hpp.

◆ operator<() [3/3]

bool graphene::chain::operator< ( const price a,
const price b 
)

Definition at line 43 of file asset.cpp.

◆ operator<=()

bool graphene::chain::operator<= ( const price a,
const price b 
)
inline

Definition at line 147 of file asset.hpp.

◆ operator==() [1/9]

bool graphene::chain::operator== ( const pts_address a,
const pts_address b 
)
inline

Definition at line 50 of file pts_address.hpp.

◆ operator==() [2/9]

bool graphene::chain::operator== ( const address a,
const address b 
)
inline

Definition at line 73 of file address.hpp.

◆ operator==() [3/9]

bool graphene::chain::operator== ( const public_key_type p1,
const fc::ecc::public_key &  p2 
)

Definition at line 75 of file types.cpp.

◆ operator==() [4/9]

bool graphene::chain::operator== ( const public_key_type p1,
const public_key_type p2 
)

Definition at line 80 of file types.cpp.

◆ operator==() [5/9]

bool graphene::chain::operator== ( const extended_public_key_type p1,
const fc::ecc::extended_public_key &  p2 
)

Definition at line 129 of file types.cpp.

◆ operator==() [6/9]

bool graphene::chain::operator== ( const extended_public_key_type p1,
const extended_public_key_type p2 
)

Definition at line 134 of file types.cpp.

◆ operator==() [7/9]

bool graphene::chain::operator== ( const price a,
const price b 
)

Definition at line 32 of file asset.cpp.

◆ operator==() [8/9]

bool graphene::chain::operator== ( const extended_private_key_type p1,
const fc::ecc::extended_public_key &  p2 
)

Definition at line 183 of file types.cpp.

◆ operator==() [9/9]

bool graphene::chain::operator== ( const extended_private_key_type p1,
const extended_private_key_type p2 
)

Definition at line 188 of file types.cpp.

◆ operator>()

bool graphene::chain::operator> ( const price a,
const price b 
)
inline

Definition at line 146 of file asset.hpp.

◆ operator>=()

bool graphene::chain::operator>= ( const price a,
const price b 
)
inline

Definition at line 148 of file asset.hpp.

◆ operator~()

price graphene::chain::operator~ ( const price p)
inline

Definition at line 141 of file asset.hpp.

◆ process_hf_868_890()

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

Definition at line 961 of file db_maint.cpp.

◆ process_hf_935()

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

Definition at line 1065 of file db_maint.cpp.

◆ split_fba_balance()

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 627 of file db_maint.cpp.

◆ sum_below_max_shares()

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

Definition at line 29 of file vesting_balance_object.cpp.

◆ transaction_get_impacted_accounts()

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

◆ update_and_match_call_orders()

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

market issued

Definition at line 870 of file db_maint.cpp.

◆ update_top_n_authorities()

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

Definition at line 588 of file db_maint.cpp.

◆ validate_special_authority()

void graphene::chain::validate_special_authority ( const special_authority auth)

Definition at line 42 of file special_authority.cpp.

◆ verify_account_votes()

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

Definition at line 60 of file account_evaluator.cpp.

◆ verify_authority_accounts()

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

Definition at line 44 of file account_evaluator.cpp.

◆ VESTING_VISITOR() [1/7]

graphene::chain::VESTING_VISITOR ( on_deposit  )

◆ VESTING_VISITOR() [2/7]

graphene::chain::VESTING_VISITOR ( on_deposit_vested  )

◆ VESTING_VISITOR() [3/7]

graphene::chain::VESTING_VISITOR ( on_withdraw  )

◆ VESTING_VISITOR() [4/7]

graphene::chain::VESTING_VISITOR ( is_deposit_allowed  ,
const   
)

◆ VESTING_VISITOR() [5/7]

graphene::chain::VESTING_VISITOR ( is_deposit_vested_allowed  ,
const   
)

◆ VESTING_VISITOR() [6/7]

graphene::chain::VESTING_VISITOR ( is_withdraw_allowed  ,
const   
)

◆ VESTING_VISITOR() [7/7]

graphene::chain::VESTING_VISITOR ( get_allowed_withdraw  ,
const   
)

◆ visit_special_authorities()

template<typename Visitor >
void graphene::chain::visit_special_authorities ( const database db,
Visitor  visit 
)

Definition at line 570 of file db_maint.cpp.

Variable Documentation

◆ empty_keyset

const flat_set<public_key_type> graphene::chain::empty_keyset

Definition at line 108 of file transaction.cpp.

◆ scaled_precision_lut

const int64_t graphene::chain::scaled_precision_lut
Initial value:
=
{
p10< 0 >::v, p10< 1 >::v, p10< 2 >::v, p10< 3 >::v,
p10< 4 >::v, p10< 5 >::v, p10< 6 >::v, p10< 7 >::v,
p10< 8 >::v, p10< 9 >::v, p10< 10 >::v, p10< 11 >::v,
p10< 12 >::v, p10< 13 >::v, p10< 14 >::v, p10< 15 >::v,
p10< 16 >::v, p10< 17 >::v, p10< 18 >::v
}

Definition at line 288 of file asset.cpp.