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>,
118 std::pair<public_key_type,fc::time_point>,
119 &blind_receipt::to_date > >,
120 ordered_non_unique< tag<by_to_asset_used>,
122 std::tuple<public_key_type,asset_id_type,bool>,
123 &blind_receipt::to_asset_used > >,
124 ordered_unique< tag<by_from>,
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))