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




class  abstract_plugin
struct  account_asset_balance
struct  api_access
struct  api_access_info
class  application
class  application_options
class  asset_api
struct  asset_holders
class  block_api
 Block api. More...
class  crypto_api
class  database_api
 The database_api class implements the RPC API for the chain database. More...
class  database_api_impl
struct  full_account
struct  get_required_fees_helper
class  history_api
 The history_api class implements the RPC API for account history. More...
struct  history_operation_detail
struct  limit_order_group
 summary data of a group of limit orders More...
class  login_api
 The login_api class implements the bottom layer of the RPC API. More...
struct  market_ticker
struct  market_trade
struct  market_volume
class  network_broadcast_api
 The network_broadcast_api class allows broadcasting of transactions. More...
class  network_node_api
 The network_node_api class allows maintenance of p2p connections. More...
struct  order
struct  order_book
class  orders_api
 the orders_api class exposes access to data processed with grouped orders plugin. More...
class  plugin
struct  verify_range_proof_rewind_result
struct  verify_range_result


typedef boost::multiprecision::uint256_t u256


void load_configuration_options (const fc::path &data_dir, const bpo::options_description &cfg_options, bpo::variables_map &options)
void load_configuration_options (const fc::path &data_dir, const boost::program_options::options_description &cfg_options, boost::program_options::variables_map &options)
u256 to256 (const fc::uint128 &t)
fc::uint128 to_capped128 (const u256 &t)
string uint128_amount_to_string (const fc::uint128 &amount, const uint8_t precision)
string price_to_string (const price &_price, const uint8_t base_precision, const uint8_t quote_precision)
string price_diff_percent_string (const price &old_price, const price &new_price)
template<typename T >
dejsonify (const string &s, uint32_t max_depth)

Typedef Documentation

◆ u256

typedef boost::multiprecision::uint256_t graphene::app::u256

Definition at line 35 of file util.hpp.

Function Documentation

◆ dejsonify()

template<typename T >
T graphene::app::dejsonify ( const string &  s,
uint32_t  max_depth 

Some useful tools for boost::program_options arguments using vectors of JSON strings

Definition at line 126 of file plugin.hpp.

◆ load_configuration_options() [1/2]

void graphene::app::load_configuration_options ( const fc::path &  data_dir,
const boost::program_options::options_description &  cfg_options,
boost::program_options::variables_map &  options 

◆ load_configuration_options() [2/2]

void graphene::app::load_configuration_options ( const fc::path &  data_dir,
const bpo::options_description &  cfg_options,
bpo::variables_map &  options 

Definition at line 307 of file config_util.cpp.

◆ price_diff_percent_string()

string graphene::app::price_diff_percent_string ( const price old_price,
const price new_price 

Definition at line 102 of file util.cpp.

◆ price_to_string()

string graphene::app::price_to_string ( const price _price,
const uint8_t  base_precision,
const uint8_t  quote_precision 

Definition at line 80 of file util.cpp.

◆ to256()

u256 graphene::app::to256 ( const fc::uint128 &  t)

Definition at line 30 of file util.cpp.

◆ to_capped128()

fc::uint128 graphene::app::to_capped128 ( const u256 t)

Definition at line 38 of file util.cpp.

◆ uint128_amount_to_string()

string graphene::app::uint128_amount_to_string ( const fc::uint128 &  amount,
const uint8_t  precision 

Definition at line 54 of file util.cpp.