BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::wallet::detail::wallet_api_impl Class Reference

#include <wallet_api_impl.hpp>

Public Member Functions

 wallet_api_impl (wallet_api &s, const wallet_data &initial_data, fc::api< login_api > rapi)
 
virtual ~wallet_api_impl ()
 
void encrypt_keys ()
 
void on_block_applied (const variant &block_id)
 
bool copy_wallet_file (string destination_filename)
 make a copy of the wallet file Note: this will not overwrite. It simply adds a version suffix. More...
 
bool is_locked () const
 
template<typename ID >
graphene::db::object_downcast_t< ID > get_object (ID id) const
 
void set_operation_fees (signed_transaction &tx, const fee_schedule &s)
 
variant info () const
 
variant_object about () const
 
chain_property_object get_chain_properties () const
 
global_property_object get_global_properties () const
 
dynamic_global_property_object get_dynamic_global_properties () const
 
account_object get_account (account_id_type id) const
 
account_object get_account (string account_name_or_id) const
 
account_id_type get_account_id (string account_name_or_id) const
 
std::string asset_id_to_string (asset_id_type id) const
 
optional< extended_asset_objectfind_asset (asset_id_type id) const
 
optional< extended_asset_objectfind_asset (string asset_symbol_or_id) const
 
extended_asset_object get_asset (asset_id_type id) const
 
extended_asset_object get_asset (string asset_symbol_or_id) const
 
fc::optional< htlc_objectget_htlc (string htlc_id) const
 
asset_id_type get_asset_id (string asset_symbol_or_id) const
 
string get_wallet_filename () const
 
fc::ecc::private_key get_private_key (const public_key_type &id) const
 
fc::ecc::private_key get_private_key_for_account (const account_object &account) const
 
bool import_key (string account_name_or_id, string wif_key)
 
vector< signed_transactionimport_balance (string name_or_id, const vector< string > &wif_keys, bool broadcast)
 
bool load_wallet_file (string wallet_filename="")
 
set< public_key_typeget_owned_required_keys (signed_transaction &tx, bool erase_existing_sigs=true)
 
signed_transaction add_transaction_signature (signed_transaction tx, bool broadcast)
 
void quit ()
 
void save_wallet_file (string wallet_filename="")
 
transaction_handle_type begin_builder_transaction ()
 
void add_operation_to_builder_transaction (transaction_handle_type transaction_handle, const operation &op)
 
void replace_operation_in_builder_transaction (transaction_handle_type handle, uint32_t operation_index, const operation &new_op)
 
asset set_fees_on_builder_transaction (transaction_handle_type handle, string fee_asset=GRAPHENE_SYMBOL)
 
transaction preview_builder_transaction (transaction_handle_type handle)
 
signed_transaction sign_builder_transaction (transaction_handle_type transaction_handle, bool broadcast=true)
 
signed_transaction sign_builder_transaction2 (transaction_handle_type transaction_handle, const vector< public_key_type > &signing_keys=vector< public_key_type >(), bool broadcast=true)
 
pair< transaction_id_type, signed_transactionbroadcast_transaction (signed_transaction tx)
 
signed_transaction propose_builder_transaction (transaction_handle_type handle, time_point_sec expiration=time_point::now()+fc::minutes(1), uint32_t review_period_seconds=0, bool broadcast=true)
 
signed_transaction propose_builder_transaction2 (transaction_handle_type handle, string account_name_or_id, time_point_sec expiration=time_point::now()+fc::minutes(1), uint32_t review_period_seconds=0, bool broadcast=true)
 
void remove_builder_transaction (transaction_handle_type handle)
 
signed_transaction register_account (string name, public_key_type owner, public_key_type active, string registrar_account, string referrer_account, uint32_t referrer_percent, bool broadcast=false)
 
signed_transaction upgrade_account (string name, bool broadcast)
 
signed_transaction create_account_with_private_key (fc::ecc::private_key owner_privkey, string account_name, string registrar_account, string referrer_account, bool broadcast=false, bool save_wallet=true)
 
signed_transaction create_account_with_brain_key (string brain_key, string account_name, string registrar_account, string referrer_account, bool broadcast=false, bool save_wallet=true)
 
signed_transaction create_asset (string issuer, string symbol, uint8_t precision, asset_options common, fc::optional< bitasset_options > bitasset_opts, bool broadcast=false)
 
signed_transaction update_asset (string symbol, optional< string > new_issuer, asset_options new_options, bool broadcast)
 
signed_transaction update_asset_issuer (string symbol, string new_issuer, bool broadcast)
 
signed_transaction update_bitasset (string symbol, bitasset_options new_options, bool broadcast)
 
signed_transaction update_asset_feed_producers (string symbol, flat_set< string > new_feed_producers, bool broadcast)
 
signed_transaction publish_asset_feed (string publishing_account, string symbol, price_feed feed, bool broadcast)
 
signed_transaction fund_asset_fee_pool (string from, string symbol, string amount, bool broadcast)
 
signed_transaction claim_asset_fee_pool (string symbol, string amount, bool broadcast)
 
signed_transaction reserve_asset (string from, string amount, string symbol, bool broadcast)
 
signed_transaction global_settle_asset (string symbol, price settle_price, bool broadcast)
 
signed_transaction settle_asset (string account_to_settle, string amount_to_settle, string symbol, bool broadcast)
 
signed_transaction bid_collateral (string bidder_name, string debt_amount, string debt_symbol, string additional_collateral, bool broadcast)
 
signed_transaction whitelist_account (string authorizing_account, string account_to_list, account_whitelist_operation::account_listing new_listing_status, bool broadcast)
 
signed_transaction create_committee_member (string owner_account, string url, bool broadcast)
 
witness_object get_witness (string owner_account)
 
committee_member_object get_committee_member (string owner_account)
 
signed_transaction create_witness (string owner_account, string url, bool broadcast)
 
signed_transaction update_witness (string witness_name, string url, string block_signing_key, bool broadcast)
 
signed_transaction create_worker (string owner_account, time_point_sec work_begin_date, time_point_sec work_end_date, share_type daily_pay, string name, string url, variant worker_settings, bool broadcast)
 
signed_transaction update_worker_votes (string account, worker_vote_delta delta, bool broadcast)
 
signed_transaction htlc_create (string source, string destination, string amount, string asset_symbol, string hash_algorithm, const std::string &preimage_hash, uint32_t preimage_size, const uint32_t claim_period_seconds, const std::string &memo, bool broadcast=false)
 
signed_transaction htlc_redeem (string htlc_id, string issuer, const std::vector< char > &preimage, bool broadcast)
 
signed_transaction htlc_extend (string htlc_id, string issuer, const uint32_t seconds_to_add, bool broadcast)
 
signed_transaction account_store_map (string account, string catalog, bool remove, flat_map< string, optional< string >> key_values, bool broadcast)
 
vector< vesting_balance_object_with_infoget_vesting_balances (string account_name)
 
signed_transaction withdraw_vesting (string witness_name, string amount, string asset_symbol, bool broadcast=false)
 
signed_transaction vote_for_committee_member (string voting_account, string committee_member, bool approve, bool broadcast)
 
signed_transaction vote_for_witness (string voting_account, string witness, bool approve, bool broadcast)
 
signed_transaction set_voting_proxy (string account_to_modify, optional< string > voting_account, bool broadcast)
 
signed_transaction set_desired_witness_and_committee_member_count (string account_to_modify, uint16_t desired_number_of_witnesses, uint16_t desired_number_of_committee_members, bool broadcast)
 
signed_transaction sign_transaction (signed_transaction tx, bool broadcast=false)
 
signed_transaction sign_transaction2 (signed_transaction tx, const vector< public_key_type > &signing_keys=vector< public_key_type >(), bool broadcast=false)
 
flat_set< public_key_typeget_transaction_signers (const signed_transaction &tx) const
 
vector< flat_set< account_id_type > > get_key_references (const vector< public_key_type > &keys) const
 
memo_data sign_memo (string from, string to, string memo)
 
string read_memo (const memo_data &md)
 
signed_message sign_message (string signer, string message)
 
bool verify_message (const string &message, const string &account, int block, const string &time, const compact_signature &sig)
 
bool verify_signed_message (const signed_message &message)
 
bool verify_encapsulated_message (const string &message)
 
signed_transaction sell_asset (string seller_account, string amount_to_sell, string symbol_to_sell, string min_to_receive, string symbol_to_receive, uint32_t timeout_sec=0, bool fill_or_kill=false, bool broadcast=false)
 
signed_transaction borrow_asset (string seller_name, string amount_to_borrow, string asset_symbol, string amount_of_collateral, bool broadcast=false)
 
signed_transaction borrow_asset_ext (string seller_name, string amount_to_borrow, string asset_symbol, string amount_of_collateral, call_order_update_operation::extensions_type extensions, bool broadcast=false)
 
signed_transaction cancel_order (limit_order_id_type order_id, bool broadcast=false)
 
signed_transaction transfer (string from, string to, string amount, string asset_symbol, string memo, bool broadcast=false)
 
signed_transaction issue_asset (string to_account, string amount, string symbol, string memo, bool broadcast=false)
 
std::map< string, std::function< string(fc::variant, const fc::variants &)> > get_result_formatters () const
 
signed_transaction propose_parameter_change (const string &proposing_account, fc::time_point_sec expiration_time, const variant_object &changed_values, bool broadcast=false)
 
signed_transaction propose_fee_change (const string &proposing_account, fc::time_point_sec expiration_time, const variant_object &changed_fees, bool broadcast=false)
 
signed_transaction approve_proposal (const string &fee_paying_account, const string &proposal_id, const approval_delta &delta, bool broadcast=false)
 
void dbg_make_uia (string creator, string symbol)
 
void dbg_make_mia (string creator, string symbol)
 
void dbg_push_blocks (const std::string &src_filename, uint32_t count)
 
void dbg_generate_blocks (const std::string &debug_wif_key, uint32_t count)
 
void dbg_stream_json_objects (const std::string &filename)
 
void dbg_update_object (const fc::variant_object &update)
 
void use_network_node_api ()
 
void use_debug_api ()
 
void network_add_nodes (const vector< string > &nodes)
 
vector< variantnetwork_get_connected_peers ()
 
void flood_network (string prefix, uint32_t number_of_transactions)
 
operation get_prototype_operation (string operation_name)
 

Public Attributes

api_documentation method_documentation
 
wallet_apiself
 
string _wallet_filename
 
wallet_data _wallet
 
map< public_key_type, string > _keys
 
fc::sha512 _checksum
 
chain_id_type _chain_id
 
fc::api< login_api_remote_api
 
fc::api< database_api_remote_db
 
fc::api< network_broadcast_api_remote_net_broadcast
 
fc::api< history_api_remote_hist
 
fc::api< custom_operations_api_custom_operations
 
optional< fc::api< network_node_api > > _remote_net_node
 
optional< fc::api< graphene::debug_witness::debug_api > > _remote_debug
 
flat_map< string, operation_prototype_ops
 
static_variant_map _operation_which_map = create_static_variant_map< operation >()
 

Detailed Description

Definition at line 94 of file wallet_api_impl.hpp.

Constructor & Destructor Documentation

graphene::wallet::detail::wallet_api_impl::wallet_api_impl ( wallet_api s,
const wallet_data initial_data,
fc::api< login_api rapi 
)

Definition at line 53 of file wallet_api_impl.cpp.

graphene::wallet::detail::wallet_api_impl::~wallet_api_impl ( )
virtual

Definition at line 88 of file wallet_api_impl.cpp.

Member Function Documentation

fc::variant_object graphene::wallet::detail::wallet_api_impl::about ( ) const

Definition at line 130 of file wallet_api_impl.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::account_store_map ( string  account,
string  catalog,
bool  remove,
flat_map< string, optional< string >>  key_values,
bool  broadcast 
)

Definition at line 118 of file wallet_account.cpp.

void graphene::wallet::detail::wallet_api_impl::add_operation_to_builder_transaction ( transaction_handle_type  transaction_handle,
const operation op 
)

Definition at line 36 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::add_transaction_signature ( signed_transaction  tx,
bool  broadcast 
)

Definition at line 278 of file wallet_sign.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::approve_proposal ( const string &  fee_paying_account,
const string &  proposal_id,
const approval_delta delta,
bool  broadcast = false 
)

Definition at line 471 of file wallet_sign.cpp.

std::string graphene::wallet::detail::wallet_api_impl::asset_id_to_string ( asset_id_type  id) const

Definition at line 29 of file wallet_asset.cpp.

transaction_handle_type graphene::wallet::detail::wallet_api_impl::begin_builder_transaction ( )

Definition at line 28 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::bid_collateral ( string  bidder_name,
string  debt_amount,
string  debt_symbol,
string  additional_collateral,
bool  broadcast 
)

Definition at line 354 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::borrow_asset ( string  seller_name,
string  amount_to_borrow,
string  asset_symbol,
string  amount_of_collateral,
bool  broadcast = false 
)

Definition at line 209 of file wallet_transfer.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::borrow_asset_ext ( string  seller_name,
string  amount_to_borrow,
string  asset_symbol,
string  amount_of_collateral,
call_order_update_operation::extensions_type  extensions,
bool  broadcast = false 
)

Definition at line 230 of file wallet_transfer.cpp.

pair< transaction_id_type, signed_transaction > graphene::wallet::detail::wallet_api_impl::broadcast_transaction ( signed_transaction  tx)

Definition at line 106 of file wallet_network.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::cancel_order ( limit_order_id_type  order_id,
bool  broadcast = false 
)

Definition at line 253 of file wallet_transfer.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::claim_asset_fee_pool ( string  symbol,
string  amount,
bool  broadcast 
)

Definition at line 243 of file wallet_asset.cpp.

bool graphene::wallet::detail::wallet_api_impl::copy_wallet_file ( string  destination_filename)

make a copy of the wallet file Note: this will not overwrite. It simply adds a version suffix.

Parameters
destination_filenamethe filename to save it to

Definition at line 262 of file wallet_api_impl.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::create_account_with_brain_key ( string  brain_key,
string  account_name,
string  registrar_account,
string  referrer_account,
bool  broadcast = false,
bool  save_wallet = true 
)

Definition at line 103 of file wallet_account.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::create_account_with_private_key ( fc::ecc::private_key  owner_privkey,
string  account_name,
string  registrar_account,
string  referrer_account,
bool  broadcast = false,
bool  save_wallet = true 
)

Definition at line 224 of file wallet_account.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::create_asset ( string  issuer,
string  symbol,
uint8_t  precision,
asset_options  common,
fc::optional< bitasset_options bitasset_opts,
bool  broadcast = false 
)

Definition at line 88 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::create_committee_member ( string  owner_account,
string  url,
bool  broadcast 
)

Definition at line 105 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::create_witness ( string  owner_account,
string  url,
bool  broadcast 
)

Definition at line 195 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::create_worker ( string  owner_account,
time_point_sec  work_begin_date,
time_point_sec  work_end_date,
share_type  daily_pay,
string  name,
string  url,
variant  worker_settings,
bool  broadcast 
)

Definition at line 245 of file wallet_voting.cpp.

void graphene::wallet::detail::wallet_api_impl::dbg_generate_blocks ( const std::string &  debug_wif_key,
uint32_t  count 
)

Definition at line 54 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::dbg_make_mia ( string  creator,
string  symbol 
)

Definition at line 37 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::dbg_make_uia ( string  creator,
string  symbol 
)

Definition at line 28 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::dbg_push_blocks ( const std::string &  src_filename,
uint32_t  count 
)

Definition at line 47 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::dbg_stream_json_objects ( const std::string &  filename)

Definition at line 61 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::dbg_update_object ( const fc::variant_object update)

Definition at line 68 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::encrypt_keys ( )

Definition at line 119 of file wallet_sign.cpp.

optional< extended_asset_object > graphene::wallet::detail::wallet_api_impl::find_asset ( asset_id_type  id) const

Definition at line 37 of file wallet_asset.cpp.

optional< extended_asset_object > graphene::wallet::detail::wallet_api_impl::find_asset ( string  asset_symbol_or_id) const

Definition at line 43 of file wallet_asset.cpp.

void graphene::wallet::detail::wallet_api_impl::flood_network ( string  prefix,
uint32_t  number_of_transactions 
)

Definition at line 56 of file wallet_network.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::fund_asset_fee_pool ( string  from,
string  symbol,
string  amount,
bool  broadcast 
)

Definition at line 221 of file wallet_asset.cpp.

account_object graphene::wallet::detail::wallet_api_impl::get_account ( account_id_type  id) const

Definition at line 195 of file wallet_account.cpp.

account_object graphene::wallet::detail::wallet_api_impl::get_account ( string  account_name_or_id) const

Definition at line 204 of file wallet_account.cpp.

account_id_type graphene::wallet::detail::wallet_api_impl::get_account_id ( string  account_name_or_id) const

Definition at line 219 of file wallet_account.cpp.

extended_asset_object graphene::wallet::detail::wallet_api_impl::get_asset ( asset_id_type  id) const

Definition at line 63 of file wallet_asset.cpp.

extended_asset_object graphene::wallet::detail::wallet_api_impl::get_asset ( string  asset_symbol_or_id) const

Definition at line 70 of file wallet_asset.cpp.

asset_id_type graphene::wallet::detail::wallet_api_impl::get_asset_id ( string  asset_symbol_or_id) const

Definition at line 77 of file wallet_asset.cpp.

chain_property_object graphene::wallet::detail::wallet_api_impl::get_chain_properties ( ) const

Definition at line 173 of file wallet_api_impl.cpp.

committee_member_object graphene::wallet::detail::wallet_api_impl::get_committee_member ( string  owner_account)

Definition at line 158 of file wallet_voting.cpp.

dynamic_global_property_object graphene::wallet::detail::wallet_api_impl::get_dynamic_global_properties ( ) const

Definition at line 181 of file wallet_api_impl.cpp.

global_property_object graphene::wallet::detail::wallet_api_impl::get_global_properties ( ) const

Definition at line 177 of file wallet_api_impl.cpp.

fc::optional< htlc_object > graphene::wallet::detail::wallet_api_impl::get_htlc ( string  htlc_id) const

Definition at line 175 of file wallet_transfer.cpp.

vector< flat_set< account_id_type > > graphene::wallet::detail::wallet_api_impl::get_key_references ( const vector< public_key_type > &  keys) const

Definition at line 426 of file wallet_account.cpp.

template<typename ID >
graphene::db::object_downcast_t<ID> graphene::wallet::detail::wallet_api_impl::get_object ( ID  id) const
inline

Definition at line 129 of file wallet_api_impl.hpp.

set< public_key_type > graphene::wallet::detail::wallet_api_impl::get_owned_required_keys ( signed_transaction tx,
bool  erase_existing_sigs = true 
)

Get the required public keys to sign the transaction which had been owned by us

NOTE, if erase_existing_sigs set to true, the original trasaction's signatures will be erased

Parameters
txThe transaction to be signed
erase_existing_sigsThe transaction could have been partially signed already, if set to false, the corresponding public key of existing signatures won't be returned. If set to true, the existing signatures will be erased and all required keys returned.

Definition at line 448 of file wallet_sign.cpp.

fc::ecc::private_key graphene::wallet::detail::wallet_api_impl::get_private_key ( const public_key_type id) const

Definition at line 383 of file wallet_sign.cpp.

fc::ecc::private_key graphene::wallet::detail::wallet_api_impl::get_private_key_for_account ( const account_object account) const

Definition at line 393 of file wallet_sign.cpp.

operation graphene::wallet::detail::wallet_api_impl::get_prototype_operation ( string  operation_name)

Definition at line 197 of file wallet_api_impl.cpp.

std::map< string, std::function< string(fc::variant, const fc::variants &)> > graphene::wallet::detail::wallet_api_impl::get_result_formatters ( ) const

Definition at line 30 of file wallet_results.cpp.

flat_set< public_key_type > graphene::wallet::detail::wallet_api_impl::get_transaction_signers ( const signed_transaction tx) const

Definition at line 466 of file wallet_sign.cpp.

vector< vesting_balance_object_with_info > graphene::wallet::detail::wallet_api_impl::get_vesting_balances ( string  account_name)

Definition at line 291 of file wallet_account.cpp.

string graphene::wallet::detail::wallet_api_impl::get_wallet_filename ( ) const

Definition at line 352 of file wallet_api_impl.cpp.

witness_object graphene::wallet::detail::wallet_api_impl::get_witness ( string  owner_account)

Definition at line 123 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::global_settle_asset ( string  symbol,
price  settle_price,
bool  broadcast 
)

Definition at line 285 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::htlc_create ( string  source,
string  destination,
string  amount,
string  asset_symbol,
string  hash_algorithm,
const std::string &  preimage_hash,
uint32_t  preimage_size,
const uint32_t  claim_period_seconds,
const std::string &  memo,
bool  broadcast = false 
)

Definition at line 86 of file wallet_transfer.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::htlc_extend ( string  htlc_id,
string  issuer,
const uint32_t  seconds_to_add,
bool  broadcast 
)

Definition at line 150 of file wallet_transfer.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::htlc_redeem ( string  htlc_id,
string  issuer,
const std::vector< char > &  preimage,
bool  broadcast 
)

Definition at line 125 of file wallet_transfer.cpp.

vector< signed_transaction > graphene::wallet::detail::wallet_api_impl::import_balance ( string  name_or_id,
const vector< string > &  wif_keys,
bool  broadcast 
)

Definition at line 314 of file wallet_account.cpp.

bool graphene::wallet::detail::wallet_api_impl::import_key ( string  account_name_or_id,
string  wif_key 
)

Definition at line 405 of file wallet_sign.cpp.

fc::variant graphene::wallet::detail::wallet_api_impl::info ( ) const

Definition at line 104 of file wallet_api_impl.cpp.

bool graphene::wallet::detail::wallet_api_impl::is_locked ( ) const

Definition at line 298 of file wallet_api_impl.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::issue_asset ( string  to_account,
string  amount,
string  symbol,
string  memo,
bool  broadcast = false 
)

Definition at line 324 of file wallet_asset.cpp.

bool graphene::wallet::detail::wallet_api_impl::load_wallet_file ( string  wallet_filename = "")

Definition at line 357 of file wallet_api_impl.cpp.

void graphene::wallet::detail::wallet_api_impl::network_add_nodes ( const vector< string > &  nodes)

Definition at line 32 of file wallet_network.cpp.

vector< variant > graphene::wallet::detail::wallet_api_impl::network_get_connected_peers ( )

Definition at line 41 of file wallet_network.cpp.

void graphene::wallet::detail::wallet_api_impl::on_block_applied ( const variant block_id)

Definition at line 186 of file wallet_api_impl.cpp.

transaction graphene::wallet::detail::wallet_api_impl::preview_builder_transaction ( transaction_handle_type  handle)

Definition at line 76 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_builder_transaction ( transaction_handle_type  handle,
time_point_sec  expiration = time_point::now() + fc::minutes(1),
uint32_t  review_period_seconds = 0,
bool  broadcast = true 
)

Definition at line 100 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_builder_transaction2 ( transaction_handle_type  handle,
string  account_name_or_id,
time_point_sec  expiration = time_point::now() + fc::minutes(1),
uint32_t  review_period_seconds = 0,
bool  broadcast = true 
)

Definition at line 117 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_fee_change ( const string &  proposing_account,
fc::time_point_sec  expiration_time,
const variant_object &  changed_fees,
bool  broadcast = false 
)

Definition at line 440 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::propose_parameter_change ( const string &  proposing_account,
fc::time_point_sec  expiration_time,
const variant_object &  changed_values,
bool  broadcast = false 
)

Definition at line 409 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::publish_asset_feed ( string  publishing_account,
string  symbol,
price_feed  feed,
bool  broadcast 
)

Definition at line 201 of file wallet_asset.cpp.

void graphene::wallet::detail::wallet_api_impl::quit ( )

Definition at line 166 of file wallet_api_impl.cpp.

string graphene::wallet::detail::wallet_api_impl::read_memo ( const memo_data md)

Definition at line 156 of file wallet_sign.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::register_account ( string  name,
public_key_type  owner,
public_key_type  active,
string  registrar_account,
string  referrer_account,
uint32_t  referrer_percent,
bool  broadcast = false 
)

Definition at line 46 of file wallet_account.cpp.

void graphene::wallet::detail::wallet_api_impl::remove_builder_transaction ( transaction_handle_type  handle)

Definition at line 135 of file wallet_builder.cpp.

void graphene::wallet::detail::wallet_api_impl::replace_operation_in_builder_transaction ( transaction_handle_type  handle,
uint32_t  operation_index,
const operation new_op 
)

Definition at line 42 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::reserve_asset ( string  from,
string  amount,
string  symbol,
bool  broadcast 
)

Definition at line 265 of file wallet_asset.cpp.

void graphene::wallet::detail::wallet_api_impl::save_wallet_file ( string  wallet_filename = "")

Definition at line 422 of file wallet_api_impl.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::sell_asset ( string  seller_account,
string  amount_to_sell,
string  symbol_to_sell,
string  min_to_receive,
string  symbol_to_receive,
uint32_t  timeout_sec = 0,
bool  fill_or_kill = false,
bool  broadcast = false 
)

Definition at line 187 of file wallet_transfer.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::set_desired_witness_and_committee_member_count ( string  account_to_modify,
uint16_t  desired_number_of_witnesses,
uint16_t  desired_number_of_committee_members,
bool  broadcast 
)

Definition at line 381 of file wallet_voting.cpp.

asset graphene::wallet::detail::wallet_api_impl::set_fees_on_builder_transaction ( transaction_handle_type  handle,
string  fee_asset = GRAPHENE_SYMBOL 
)

Definition at line 51 of file wallet_builder.cpp.

void graphene::wallet::detail::wallet_api_impl::set_operation_fees ( signed_transaction tx,
const fee_schedule s 
)

Definition at line 191 of file wallet_api_impl.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::set_voting_proxy ( string  account_to_modify,
optional< string >  voting_account,
bool  broadcast 
)

Definition at line 350 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::settle_asset ( string  account_to_settle,
string  amount_to_settle,
string  symbol,
bool  broadcast 
)

Definition at line 305 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::sign_builder_transaction ( transaction_handle_type  transaction_handle,
bool  broadcast = true 
)

Definition at line 82 of file wallet_builder.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::sign_builder_transaction2 ( transaction_handle_type  transaction_handle,
const vector< public_key_type > &  signing_keys = vector<public_key_type>(),
bool  broadcast = true 
)

Definition at line 91 of file wallet_builder.cpp.

memo_data graphene::wallet::detail::wallet_api_impl::sign_memo ( string  from,
string  to,
string  memo 
)

Definition at line 131 of file wallet_sign.cpp.

signed_message graphene::wallet::detail::wallet_api_impl::sign_message ( string  signer,
string  message 
)

Definition at line 183 of file wallet_sign.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::sign_transaction ( signed_transaction  tx,
bool  broadcast = false 
)

Definition at line 313 of file wallet_sign.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::sign_transaction2 ( signed_transaction  tx,
const vector< public_key_type > &  signing_keys = vector<public_key_type>(),
bool  broadcast = false 
)

Definition at line 318 of file wallet_sign.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::transfer ( string  from,
string  to,
string  amount,
string  asset_symbol,
string  memo,
bool  broadcast = false 
)

Definition at line 51 of file wallet_transfer.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::update_asset ( string  symbol,
optional< string >  new_issuer,
asset_options  new_options,
bool  broadcast 
)

Definition at line 110 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::update_asset_feed_producers ( string  symbol,
flat_set< string >  new_feed_producers,
bool  broadcast 
)

Definition at line 178 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::update_asset_issuer ( string  symbol,
string  new_issuer,
bool  broadcast 
)

Definition at line 136 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::update_bitasset ( string  symbol,
bitasset_options  new_options,
bool  broadcast 
)

Definition at line 158 of file wallet_asset.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::update_witness ( string  witness_name,
string  url,
string  block_signing_key,
bool  broadcast 
)

Definition at line 223 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::update_worker_votes ( string  account,
worker_vote_delta  delta,
bool  broadcast 
)

Definition at line 41 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::upgrade_account ( string  name,
bool  broadcast 
)

Definition at line 86 of file wallet_account.cpp.

void graphene::wallet::detail::wallet_api_impl::use_debug_api ( )

Definition at line 75 of file wallet_debug.cpp.

void graphene::wallet::detail::wallet_api_impl::use_network_node_api ( )

Definition at line 119 of file wallet_network.cpp.

bool graphene::wallet::detail::wallet_api_impl::verify_encapsulated_message ( const string &  message)

Definition at line 250 of file wallet_sign.cpp.

bool graphene::wallet::detail::wallet_api_impl::verify_message ( const string &  message,
const string &  account,
int  block,
const string &  time,
const compact_signature &  sig 
)

Definition at line 200 of file wallet_sign.cpp.

bool graphene::wallet::detail::wallet_api_impl::verify_signed_message ( const signed_message message)

Definition at line 216 of file wallet_sign.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::vote_for_committee_member ( string  voting_account,
string  committee_member,
bool  approve,
bool  broadcast 
)

Definition at line 281 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::vote_for_witness ( string  voting_account,
string  witness,
bool  approve,
bool  broadcast 
)

Definition at line 316 of file wallet_voting.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::whitelist_account ( string  authorizing_account,
string  account_to_list,
account_whitelist_operation::account_listing  new_listing_status,
bool  broadcast 
)

Definition at line 275 of file wallet_account.cpp.

signed_transaction graphene::wallet::detail::wallet_api_impl::withdraw_vesting ( string  witness_name,
string  amount,
string  asset_symbol,
bool  broadcast = false 
)

Definition at line 268 of file wallet_transfer.cpp.

Member Data Documentation

chain_id_type graphene::wallet::detail::wallet_api_impl::_chain_id

Definition at line 412 of file wallet_api_impl.hpp.

fc::sha512 graphene::wallet::detail::wallet_api_impl::_checksum

Definition at line 410 of file wallet_api_impl.hpp.

fc::api<custom_operations_api> graphene::wallet::detail::wallet_api_impl::_custom_operations

Definition at line 417 of file wallet_api_impl.hpp.

map<public_key_type,string> graphene::wallet::detail::wallet_api_impl::_keys

Definition at line 409 of file wallet_api_impl.hpp.

static_variant_map graphene::wallet::detail::wallet_api_impl::_operation_which_map = create_static_variant_map< operation >()

Definition at line 423 of file wallet_api_impl.hpp.

flat_map<string, operation> graphene::wallet::detail::wallet_api_impl::_prototype_ops

Definition at line 421 of file wallet_api_impl.hpp.

fc::api<login_api> graphene::wallet::detail::wallet_api_impl::_remote_api

Definition at line 413 of file wallet_api_impl.hpp.

fc::api<database_api> graphene::wallet::detail::wallet_api_impl::_remote_db

Definition at line 414 of file wallet_api_impl.hpp.

optional< fc::api<graphene::debug_witness::debug_api> > graphene::wallet::detail::wallet_api_impl::_remote_debug

Definition at line 419 of file wallet_api_impl.hpp.

fc::api<history_api> graphene::wallet::detail::wallet_api_impl::_remote_hist

Definition at line 416 of file wallet_api_impl.hpp.

fc::api<network_broadcast_api> graphene::wallet::detail::wallet_api_impl::_remote_net_broadcast

Definition at line 415 of file wallet_api_impl.hpp.

optional< fc::api<network_node_api> > graphene::wallet::detail::wallet_api_impl::_remote_net_node

Definition at line 418 of file wallet_api_impl.hpp.

wallet_data graphene::wallet::detail::wallet_api_impl::_wallet

Definition at line 407 of file wallet_api_impl.hpp.

string graphene::wallet::detail::wallet_api_impl::_wallet_filename

Definition at line 406 of file wallet_api_impl.hpp.

api_documentation graphene::wallet::detail::wallet_api_impl::method_documentation

Definition at line 97 of file wallet_api_impl.hpp.

wallet_api& graphene::wallet::detail::wallet_api_impl::self

Definition at line 98 of file wallet_api_impl.hpp.


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