35 namespace graphene {
namespace wallet {
41 map<public_key_type, string>
keys;
87 std::pair<public_key_type,fc::time_point>
from_date()
const {
return std::make_pair(from_key,date); }
88 std::pair<public_key_type,fc::time_point>
to_date()
const {
return std::make_pair(to_key,date); }
90 {
return std::make_tuple(to_key,amount.asset_id,used); }
102 stealth_confirmation::memo_data
data;
109 struct by_to_asset_used;
110 struct by_commitment;
114 ordered_unique< tag<by_commitment>,
115 const_mem_fun< blind_receipt, const commitment_type&, &blind_receipt::commitment > >,
116 ordered_unique< tag<by_to>,
117 const_mem_fun< blind_receipt,
118 std::pair<public_key_type,fc::time_point>,
119 &blind_receipt::to_date > >,
120 ordered_non_unique< tag<by_to_asset_used>,
121 const_mem_fun< blind_receipt,
122 std::tuple<public_key_type,asset_id_type,bool>,
123 &blind_receipt::to_asset_used > >,
124 ordered_unique< tag<by_from>,
125 const_mem_fun< blind_receipt,
126 std::pair<public_key_type,fc::time_point>,
127 &blind_receipt::from_date > >
141 typedef multi_index_container<
144 ordered_unique< tag<by_label>, member< key_label, string, &key_label::label > >,
145 ordered_unique< tag<by_key>, member< key_label, public_key_type, &key_label::key > >
158 vector<object_id_type> ids;
159 ids.reserve(my_accounts.size());
160 std::transform(my_accounts.begin(), my_accounts.end(), std::back_inserter(ids),
168 auto& idx = my_accounts.get<by_id>();
169 auto itr = idx.find(acct.
id);
170 if( itr != idx.end() )
172 idx.replace(itr, acct);
194 string ws_server =
"ws://localhost:8090";
270 class wallet_api_impl;
290 static vector<brain_key_info> derive_owner_keys_from_brain_key(
const string& brain_key,
291 uint32_t number_of_desired_keys = 1 );
317 uint32_t total_count = 0;
318 uint32_t result_count = 0;
327 (label)(pub_key)(decrypted_memo)(confirmation)(auth)(confirmation_receipt) )
337 (pending_account_registrations)(pending_witness_registrations)
356 (date)(from_key)(from_label)(to_key)(to_label)(amount)(memo)(control_authority)(data)(used)(conf) )
359 (active_approvals_to_add)
360 (active_approvals_to_remove)
361 (owner_approvals_to_add)
362 (owner_approvals_to_remove)
363 (key_approvals_to_add)
364 (key_approvals_to_remove)
374 (block_id)(signing_key)(transaction_ids) )
377 (allowed_withdraw)(allowed_withdraw_time) )
380 (memo)(description)(op) )
383 (memo)(description)(op)(transaction_id))
386 (total_count)(result_count)(details))
map< string, vector< string > > pending_account_registrations
flat_set< worker_id_type > vote_for
public_key_type signing_key
multi_index_container< blind_receipt, indexed_by< ordered_unique< tag< by_commitment >, const_mem_fun< blind_receipt, const commitment_type &, &blind_receipt::commitment > >, ordered_unique< tag< by_to >, const_mem_fun< blind_receipt, std::pair< public_key_type, fc::time_point >, &blind_receipt::to_date > >, ordered_non_unique< tag< by_to_asset_used >, const_mem_fun< blind_receipt, std::tuple< public_key_type, asset_id_type, bool >, &blind_receipt::to_asset_used > >, ordered_unique< tag< by_from >, const_mem_fun< blind_receipt, std::pair< public_key_type, fc::time_point >, &blind_receipt::from_date > > >> blind_receipt_index_type
fc::ecc::commitment_type commitment
authority control_authority
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
std::tuple< public_key_type, asset_id_type, bool > to_asset_used() const
Identifies a weighted set of keys and accounts that must approve operations.
stealth_confirmation::memo_data decrypted_memo
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
fc::sha512 password_checksum
public_key_type to
the account this balance is logically associated with
tracks the history of all logical operations on blockchain stateAll operations and virtual operations...
vector< transaction_id_type > transaction_ids
This class represents an account on the object graphAccounts are the primary unit of authority on the...
transaction_id_type transaction_id
vector< string > key_approvals_to_remove
vector< public_key_type > public_keys
const commitment_type & commitment() const
blind_receipt_index_type blind_receipts
fc::optional< fc::ecc::compact_signature > signature
key_label_index_type labeled_keys
stealth_confirmation confirmation
std::pair< public_key_type, fc::time_point > from_date() const
map< string, string > pending_witness_registrations
vector< exported_account_keys > account_keys
provides stack-based nullable value similar to boost::optional
vector< string > owner_approvals_to_remove
vector< string > active_approvals_to_add
flat_set< worker_id_type > vote_abstain
vector< string > active_approvals_to_remove
fc::sha256 digest(const T &value)
vector< object_id_type > my_account_ids() const
fc::sha256 blinding_factor
operation_history_object op
vector< operation_detail_ex > details
bool update_account(const account_object &acct)
flat_set< worker_id_type > vote_against
vector< vector< char > > encrypted_private_keys
stealth_confirmation::memo_data data
zero_initialized_array< unsigned char, 33 > commitment_type
account_multi_index_type my_accounts
adds a signature to a transaction
public_key_type from
the account this balance came from
public_key_type one_time_key
used to derive the authority key and blinding factor
stealth_confirmation conf
typename impl::transform< List, Transformer >::type transform
Transform elements of a typelist.
multi_index_container< key_label, indexed_by< ordered_unique< tag< by_label >, member< key_label, string, &key_label::label > >, ordered_unique< tag< by_key >, member< key_label, public_key_type, &key_label::key > > >> key_label_index_type
#define FC_REFLECT_DERIVED(TYPE, INHERITS, MEMBERS)
Specializes fc::reflector for TYPE where type inherits other reflected classes.
vector< char > cipher_keys
vector< string > owner_approvals_to_add
vector< string > key_approvals_to_add
map< account_id_type, set< public_key_type > > extra_keys
operation_history_object op
uint32_t transaction_handle_type
fc::time_point_sec allowed_withdraw_time
std::pair< public_key_type, fc::time_point > to_date() const
string confirmation_receipt
zero_initialized_array< unsigned char, 72 > signature
map< public_key_type, string > keys