45 #include <boost/container/flat_set.hpp> 76 uint32_t total_count = 0;
89 vector<operation_history_object> get_account_history(
90 const std::string& account_name_or_id,
91 operation_history_id_type stop = operation_history_id_type(),
93 operation_history_id_type start = operation_history_id_type()
112 vector<operation_history_object> get_account_history_by_time(
113 const std::string& account_name_or_id,
129 const std::string& account_name_or_id,
130 const flat_set<uint16_t>& operation_types,
146 vector<operation_history_object> get_account_history_operations(
147 const std::string& account_name_or_id,
148 int64_t operation_type,
149 operation_history_id_type start = operation_history_id_type(),
150 operation_history_id_type stop = operation_history_id_type(),
167 vector<operation_history_object> get_relative_account_history(
168 const std::string& account_name_or_id,
171 uint64_t start = 0)
const;
186 vector<operation_history_object> get_block_operation_history(
202 vector<operation_history_object> get_block_operations_by_time(
212 vector<order_history_object> get_fill_order_history(
213 const std::string& a,
214 const std::string& b,
215 uint32_t limit )
const;
229 vector<bucket_object> get_market_history(
const std::string& a,
const std::string& b,
230 uint32_t bucket_seconds,
239 flat_set<uint32_t> get_market_history_buckets()
const;
266 vector<liquidity_pool_history_object> get_liquidity_pool_history(
267 liquidity_pool_id_type pool_id,
295 vector<liquidity_pool_history_object> get_liquidity_pool_history_by_sequence(
296 liquidity_pool_id_type pool_id,
320 vector<optional<signed_block>> get_blocks(uint32_t block_num_from, uint32_t block_num_to)
const;
352 void broadcast_transaction(
const precomputable_transaction& trx);
360 void broadcast_transaction_with_callback(
confirmation_callback cb,
const precomputable_transaction& trx);
367 fc::variant broadcast_transaction_synchronous(
const precomputable_transaction& trx);
386 map<transaction_id_type,confirmation_callback> _callbacks;
412 std::vector<net::peer_status> get_connected_peers()
const;
430 std::vector<net::potential_peer_record> get_potential_peers()
const;
477 uint32_t non_neg )
const;
488 const std::vector<commitment_type>& commits_in,
489 const std::vector<commitment_type>& neg_commits_in,
500 const std::vector<char>& proof )
const;
520 uint64_t actual_value )
const;
531 const std::vector<char>& proof )
const;
573 vector<account_asset_balance> get_asset_holders(
const std::string& asset_symbol_or_id,
574 uint32_t start, uint32_t limit )
const;
581 int64_t get_asset_holders_count(
const std::string& asset_symbol_or_id )
const;
587 vector<asset_holders> get_all_asset_holders()
const;
608 : min_price( p.
first.min_price ),
609 max_price( p.second.max_price ),
610 total_for_sale( p.second.total_for_sale )
623 flat_set<uint16_t> get_tracked_groups()
const;
636 vector< limit_order_group > get_grouped_limit_orders(
const std::string& base_asset,
637 const std::string& quote_asset,
640 uint32_t limit )
const;
683 vector<account_storage_object> get_storage_info(
684 const optional<std::string>& account_name_or_id = optional<std::string>(),
685 const optional<std::string>& catalog = optional<std::string>(),
686 const optional<std::string>& key = optional<std::string>(),
687 const optional<uint32_t>& limit = optional<uint32_t>(),
688 const optional<account_storage_id_type>& start_id = optional<account_storage_id_type>() )
const;
699 bool dummy()
const {
return false; }
714 namespace graphene {
namespace app {
749 string get_info()
const;
756 flat_set<string> get_available_api_sets()
const;
784 bool is_database_api_allowed()
const;
789 flat_set< string > _allowed_apis;
809 (
id)(block_num)(trx_num)(trx) )
812 (success)(min_val)(max_val) )
814 (success)(min_val)(max_val)(value_out)(blind_out)(message_out) )
817 (total_count)(operation_history_objs) )
820 (min_price)(max_price)(total_for_sale) )
826 (get_account_history)
827 (get_account_history_by_time)
828 (get_account_history_by_operations)
829 (get_account_history_operations)
830 (get_relative_account_history)
831 (get_block_operation_history)
832 (get_block_operations_by_time)
833 (get_fill_order_history)
835 (get_market_history_buckets)
836 (get_liquidity_pool_history)
837 (get_liquidity_pool_history_by_sequence)
843 (broadcast_transaction)
844 (broadcast_transaction_with_callback)
845 (broadcast_transaction_synchronous)
851 (get_connected_peers)
852 (get_potential_peers)
853 (get_advanced_node_parameters)
854 (set_advanced_node_parameters)
867 (get_asset_holders_count)
868 (get_all_asset_holders)
872 (get_grouped_limit_orders)
885 (get_available_api_sets)
The login_api class implements the bottom layer of the RPC API.
price min_price
possible lowest price in the group
processed_transaction trx
the orders_api class exposes access to data processed with grouped orders plugin. ...
The network_node_api class allows maintenance of p2p connections.
bool verify_range(uint64_t &min_val, uint64_t &max_val, const commitment_type &commit, const range_proof_type &proof)
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
bool verify_sum(const std::vector< commitment_type > &commits, const std::vector< commitment_type > &neg_commits, int64_t excess)
tracks the blockchain state in an extensible manner
static constexpr application_options get_default()
An order-perserving dictionary of variant's.
range_proof_info range_get_info(const range_proof_type &proof)
fc::sha256 blind_factor_type
The crypto_api class allows computations related to blinded transfers.
limit_order_group(const std::pair< limit_order_group_key, limit_order_group_data > &p)
provides stack-based nullable value similar to boost::optional
#define FC_API(CLASS, METHODS)
commitment_type blind(const blind_factor_type &blind, uint64_t value)
The custom_operations_api class exposes access to standard custom objects parsed by the custom_operat...
fc::ecc::blind_factor_type blind_out
zero_initialized_array< unsigned char, 33 > commitment_type
std::function< void(variant)> confirmation_callback
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
fc::variant_object get_config()
at< List, 0 > first
Get the type at the beginning of the list.
A dummy API class that does nothing, used when access to database_api is not allowed.
bool verify_range_proof_rewind(blind_factor_type &blind_out, uint64_t &value_out, string &message_out, const blind_factor_type &nonce, uint64_t &min_val, uint64_t &max_val, commitment_type commit, const range_proof_type &proof)
account_id_type account_id
summary data of a group of limit orders
range_proof_type range_proof_sign(uint64_t min_value, const commitment_type &commit, const blind_factor_type &commit_blind, const blind_factor_type &nonce, int8_t base10_exp, uint8_t min_bits, uint64_t actual_value)
blind_factor_type blind_sum(const std::vector< blind_factor_type > &blinds, uint32_t non_neg)
safe< int64_t > share_type
vector< operation_history_object > operation_history_objs
The history_api class implements the RPC API for account history.
The network_broadcast_api class allows broadcasting of transactions.
The asset_api class allows query of info about asset holders.
price max_price
possible highest price in the group
boost::signals2::scoped_connection scoped_connection
captures the result of evaluating the operations contained in the transaction
share_type total_for_sale
total amount of asset for sale, asset id is min_price.base.asset_id