Monero
wallet_rpc_server_commands_defs.h
Go to the documentation of this file.
1 // Copyright (c) 2014-2020, The Monero Project
2 //
3 // All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without modification, are
6 // permitted provided that the following conditions are met:
7 //
8 // 1. Redistributions of source code must retain the above copyright notice, this list of
9 // conditions and the following disclaimer.
10 //
11 // 2. Redistributions in binary form must reproduce the above copyright notice, this list
12 // of conditions and the following disclaimer in the documentation and/or other
13 // materials provided with the distribution.
14 //
15 // 3. Neither the name of the copyright holder nor the names of its contributors may be
16 // used to endorse or promote products derived from this software without specific
17 // prior written permission.
18 //
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
20 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
22 // THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27 // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 //
29 // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
30 
31 #pragma once
32 #include "cryptonote_config.h"
36 #include "crypto/hash.h"
38 
39 #undef MONERO_DEFAULT_LOG_CATEGORY
40 #define MONERO_DEFAULT_LOG_CATEGORY "wallet.rpc"
41 
42 // When making *any* change here, bump minor
43 // If the change is incompatible, then bump major and set minor to 0
44 // This ensures WALLET_RPC_VERSION always increases, that every change
45 // has its own version, and that clients can just test major to see
46 // whether they can talk to a given wallet without having to know in
47 // advance which version they will stop working with
48 // Don't go over 32767 for any of these
49 #define WALLET_RPC_VERSION_MAJOR 1
50 #define WALLET_RPC_VERSION_MINOR 20
51 #define MAKE_WALLET_RPC_VERSION(major,minor) (((major)<<16)|(minor))
52 #define WALLET_RPC_VERSION MAKE_WALLET_RPC_VERSION(WALLET_RPC_VERSION_MAJOR, WALLET_RPC_VERSION_MINOR)
53 namespace tools
54 {
55 namespace wallet_rpc
56 {
57 #define WALLET_RPC_STATUS_OK "OK"
58 #define WALLET_RPC_STATUS_BUSY "BUSY"
59 
61  {
62  struct request_t
63  {
64  uint32_t account_index;
65  std::set<uint32_t> address_indices;
67  bool strict;
68  BEGIN_KV_SERIALIZE_MAP()
69  KV_SERIALIZE(account_index)
70  KV_SERIALIZE(address_indices)
73  END_KV_SERIALIZE_MAP()
74  };
75  typedef epee::misc_utils::struct_init<request_t> request;
76 
78  {
79  uint32_t account_index;
80  uint32_t address_index;
81  std::string address;
82  uint64_t balance;
83  uint64_t unlocked_balance;
84  std::string label;
86  uint64_t blocks_to_unlock;
87  uint64_t time_to_unlock;
88 
89  BEGIN_KV_SERIALIZE_MAP()
90  KV_SERIALIZE(account_index)
91  KV_SERIALIZE(address_index)
92  KV_SERIALIZE(address)
93  KV_SERIALIZE(balance)
94  KV_SERIALIZE(unlocked_balance)
95  KV_SERIALIZE(label)
96  KV_SERIALIZE(num_unspent_outputs)
97  KV_SERIALIZE(blocks_to_unlock)
98  KV_SERIALIZE(time_to_unlock)
99  END_KV_SERIALIZE_MAP()
100  };
101 
102  struct response_t
103  {
104  uint64_t balance;
107  std::vector<per_subaddress_info> per_subaddress;
109  uint64_t time_to_unlock;
110 
111  BEGIN_KV_SERIALIZE_MAP()
112  KV_SERIALIZE(balance)
113  KV_SERIALIZE(unlocked_balance)
114  KV_SERIALIZE(multisig_import_needed)
115  KV_SERIALIZE(per_subaddress)
116  KV_SERIALIZE(blocks_to_unlock)
117  KV_SERIALIZE(time_to_unlock)
118  END_KV_SERIALIZE_MAP()
119  };
120  typedef epee::misc_utils::struct_init<response_t> response;
121  };
122 
124  {
125  struct request_t
126  {
127  uint32_t account_index;
128  std::vector<uint32_t> address_index;
129  BEGIN_KV_SERIALIZE_MAP()
130  KV_SERIALIZE(account_index)
131  KV_SERIALIZE(address_index)
132  END_KV_SERIALIZE_MAP()
133  };
134  typedef epee::misc_utils::struct_init<request_t> request;
135 
137  {
138  std::string address;
139  std::string label;
140  uint32_t address_index;
141  bool used;
142 
143  BEGIN_KV_SERIALIZE_MAP()
144  KV_SERIALIZE(address)
145  KV_SERIALIZE(label)
146  KV_SERIALIZE(address_index)
147  KV_SERIALIZE(used)
148  END_KV_SERIALIZE_MAP()
149  };
150 
151  struct response_t
152  {
153  std::string address; // to remain compatible with older RPC format
154  std::vector<address_info> addresses;
155 
156  BEGIN_KV_SERIALIZE_MAP()
157  KV_SERIALIZE(address)
158  KV_SERIALIZE(addresses)
159  END_KV_SERIALIZE_MAP()
160  };
161  typedef epee::misc_utils::struct_init<response_t> response;
162  };
163 
165  {
166  struct request_t
167  {
168  std::string address;
169  BEGIN_KV_SERIALIZE_MAP()
170  KV_SERIALIZE(address)
171  END_KV_SERIALIZE_MAP()
172  };
173  typedef epee::misc_utils::struct_init<request_t> request;
174 
175  struct response_t
176  {
178  BEGIN_KV_SERIALIZE_MAP()
179  KV_SERIALIZE(index)
180  END_KV_SERIALIZE_MAP()
181  };
182  typedef epee::misc_utils::struct_init<response_t> response;
183  };
184 
186  {
187  struct request_t
188  {
189  uint32_t account_index;
190  uint32_t count;
191  std::string label;
192 
193  BEGIN_KV_SERIALIZE_MAP()
194  KV_SERIALIZE(account_index)
196  KV_SERIALIZE(label)
197  END_KV_SERIALIZE_MAP()
198  };
199  typedef epee::misc_utils::struct_init<request_t> request;
200 
201  struct response_t
202  {
203  std::string address;
204  uint32_t address_index;
205  std::vector<std::string> addresses;
206  std::vector<uint32_t> address_indices;
207 
208  BEGIN_KV_SERIALIZE_MAP()
209  KV_SERIALIZE(address)
210  KV_SERIALIZE(address_index)
211  KV_SERIALIZE(addresses)
212  KV_SERIALIZE(address_indices)
213  END_KV_SERIALIZE_MAP()
214  };
215  typedef epee::misc_utils::struct_init<response_t> response;
216  };
217 
219  {
220  struct request_t
221  {
223  std::string label;
224 
225  BEGIN_KV_SERIALIZE_MAP()
226  KV_SERIALIZE(index)
227  KV_SERIALIZE(label)
228  END_KV_SERIALIZE_MAP()
229  };
230  typedef epee::misc_utils::struct_init<request_t> request;
231 
232  struct response_t
233  {
234  BEGIN_KV_SERIALIZE_MAP()
235  END_KV_SERIALIZE_MAP()
236  };
237  typedef epee::misc_utils::struct_init<response_t> response;
238  };
239 
241  {
242  struct request_t
243  {
244  std::string tag; // all accounts if empty, otherwise those accounts with this tag
246 
247  BEGIN_KV_SERIALIZE_MAP()
248  KV_SERIALIZE(tag)
249  KV_SERIALIZE_OPT(strict_balances, false)
250  END_KV_SERIALIZE_MAP()
251  };
252  typedef epee::misc_utils::struct_init<request_t> request;
253 
255  {
256  uint32_t account_index;
257  std::string base_address;
258  uint64_t balance;
260  std::string label;
261  std::string tag;
262 
263  BEGIN_KV_SERIALIZE_MAP()
264  KV_SERIALIZE(account_index)
265  KV_SERIALIZE(base_address)
266  KV_SERIALIZE(balance)
267  KV_SERIALIZE(unlocked_balance)
268  KV_SERIALIZE(label)
269  KV_SERIALIZE(tag)
270  END_KV_SERIALIZE_MAP()
271  };
272 
273  struct response_t
274  {
275  uint64_t total_balance;
277  std::vector<subaddress_account_info> subaddress_accounts;
278 
279  BEGIN_KV_SERIALIZE_MAP()
280  KV_SERIALIZE(total_balance)
281  KV_SERIALIZE(total_unlocked_balance)
282  KV_SERIALIZE(subaddress_accounts)
283  END_KV_SERIALIZE_MAP()
284  };
285  typedef epee::misc_utils::struct_init<response_t> response;
286  };
287 
289  {
290  struct request_t
291  {
292  std::string label;
293  BEGIN_KV_SERIALIZE_MAP()
294  KV_SERIALIZE(label)
295  END_KV_SERIALIZE_MAP()
296  };
297  typedef epee::misc_utils::struct_init<request_t> request;
298 
299  struct response_t
300  {
301  uint32_t account_index;
302  std::string address; // the 0-th address for convenience
303  BEGIN_KV_SERIALIZE_MAP()
304  KV_SERIALIZE(account_index)
305  KV_SERIALIZE(address)
306  END_KV_SERIALIZE_MAP()
307  };
308  typedef epee::misc_utils::struct_init<response_t> response;
309  };
310 
312  {
313  struct request_t
314  {
315  uint32_t account_index;
316  std::string label;
317 
318  BEGIN_KV_SERIALIZE_MAP()
319  KV_SERIALIZE(account_index)
320  KV_SERIALIZE(label)
321  END_KV_SERIALIZE_MAP()
322  };
323  typedef epee::misc_utils::struct_init<request_t> request;
324 
325  struct response_t
326  {
327  BEGIN_KV_SERIALIZE_MAP()
328  END_KV_SERIALIZE_MAP()
329  };
330  typedef epee::misc_utils::struct_init<response_t> response;
331  };
332 
334  {
335  struct request_t
336  {
337  BEGIN_KV_SERIALIZE_MAP()
338  END_KV_SERIALIZE_MAP()
339  };
340  typedef epee::misc_utils::struct_init<request_t> request;
341 
343  {
344  std::string tag;
345  std::string label;
346  std::vector<uint32_t> accounts;
347 
348  BEGIN_KV_SERIALIZE_MAP()
349  KV_SERIALIZE(tag);
350  KV_SERIALIZE(label);
351  KV_SERIALIZE(accounts);
352  END_KV_SERIALIZE_MAP()
353  };
354 
355  struct response_t
356  {
357  std::vector<account_tag_info> account_tags;
358 
359  BEGIN_KV_SERIALIZE_MAP()
360  KV_SERIALIZE(account_tags)
361  END_KV_SERIALIZE_MAP()
362  };
363  typedef epee::misc_utils::struct_init<response_t> response;
364  };
365 
367  {
368  struct request_t
369  {
370  std::string tag;
371  std::set<uint32_t> accounts;
372 
373  BEGIN_KV_SERIALIZE_MAP()
374  KV_SERIALIZE(tag)
375  KV_SERIALIZE(accounts)
376  END_KV_SERIALIZE_MAP()
377  };
378  typedef epee::misc_utils::struct_init<request_t> request;
379 
380  struct response_t
381  {
382  BEGIN_KV_SERIALIZE_MAP()
383  END_KV_SERIALIZE_MAP()
384  };
385  typedef epee::misc_utils::struct_init<response_t> response;
386  };
387 
389  {
390  struct request_t
391  {
392  std::set<uint32_t> accounts;
393 
394  BEGIN_KV_SERIALIZE_MAP()
395  KV_SERIALIZE(accounts)
396  END_KV_SERIALIZE_MAP()
397  };
398  typedef epee::misc_utils::struct_init<request_t> request;
399 
400  struct response_t
401  {
402  BEGIN_KV_SERIALIZE_MAP()
403  END_KV_SERIALIZE_MAP()
404  };
405  typedef epee::misc_utils::struct_init<response_t> response;
406  };
407 
409  {
410  struct request_t
411  {
412  std::string tag;
413  std::string description;
414 
415  BEGIN_KV_SERIALIZE_MAP()
416  KV_SERIALIZE(tag)
417  KV_SERIALIZE(description)
418  END_KV_SERIALIZE_MAP()
419  };
420  typedef epee::misc_utils::struct_init<request_t> request;
421 
422  struct response_t
423  {
424  BEGIN_KV_SERIALIZE_MAP()
425  END_KV_SERIALIZE_MAP()
426  };
427  typedef epee::misc_utils::struct_init<response_t> response;
428  };
429 
431  {
432  struct request_t
433  {
434  BEGIN_KV_SERIALIZE_MAP()
435  END_KV_SERIALIZE_MAP()
436  };
437  typedef epee::misc_utils::struct_init<request_t> request;
438 
439  struct response_t
440  {
441  uint64_t height;
442  BEGIN_KV_SERIALIZE_MAP()
443  KV_SERIALIZE(height)
444  END_KV_SERIALIZE_MAP()
445  };
446  typedef epee::misc_utils::struct_init<response_t> response;
447  };
448 
450  {
451  uint64_t amount;
452  std::string address;
453  BEGIN_KV_SERIALIZE_MAP()
454  KV_SERIALIZE(amount)
455  KV_SERIALIZE(address)
456  END_KV_SERIALIZE_MAP()
457  };
458 
460  {
461  struct request_t
462  {
463  std::list<transfer_destination> destinations;
464  uint32_t account_index;
465  std::set<uint32_t> subaddr_indices;
466  uint32_t priority;
467  uint64_t ring_size;
468  uint64_t unlock_time;
469  std::string payment_id;
474 
475  BEGIN_KV_SERIALIZE_MAP()
476  KV_SERIALIZE(destinations)
477  KV_SERIALIZE(account_index)
478  KV_SERIALIZE(subaddr_indices)
479  KV_SERIALIZE(priority)
480  KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
481  KV_SERIALIZE(unlock_time)
482  KV_SERIALIZE(payment_id)
483  KV_SERIALIZE(get_tx_key)
484  KV_SERIALIZE_OPT(do_not_relay, false)
485  KV_SERIALIZE_OPT(get_tx_hex, false)
486  KV_SERIALIZE_OPT(get_tx_metadata, false)
487  END_KV_SERIALIZE_MAP()
488  };
489  typedef epee::misc_utils::struct_init<request_t> request;
490 
491  struct response_t
492  {
493  std::string tx_hash;
494  std::string tx_key;
495  uint64_t amount;
496  uint64_t fee;
497  uint64_t weight;
498  std::string tx_blob;
499  std::string tx_metadata;
500  std::string multisig_txset;
501  std::string unsigned_txset;
502 
503  BEGIN_KV_SERIALIZE_MAP()
504  KV_SERIALIZE(tx_hash)
505  KV_SERIALIZE(tx_key)
506  KV_SERIALIZE(amount)
507  KV_SERIALIZE(fee)
508  KV_SERIALIZE(weight)
509  KV_SERIALIZE(tx_blob)
510  KV_SERIALIZE(tx_metadata)
511  KV_SERIALIZE(multisig_txset)
512  KV_SERIALIZE(unsigned_txset)
513  END_KV_SERIALIZE_MAP()
514  };
515  typedef epee::misc_utils::struct_init<response_t> response;
516  };
517 
519  {
520  struct request_t
521  {
522  std::list<transfer_destination> destinations;
523  uint32_t account_index;
524  std::set<uint32_t> subaddr_indices;
525  uint32_t priority;
526  uint64_t ring_size;
527  uint64_t unlock_time;
528  std::string payment_id;
533 
534  BEGIN_KV_SERIALIZE_MAP()
535  KV_SERIALIZE(destinations)
536  KV_SERIALIZE(account_index)
537  KV_SERIALIZE(subaddr_indices)
538  KV_SERIALIZE(priority)
539  KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
540  KV_SERIALIZE(unlock_time)
541  KV_SERIALIZE(payment_id)
542  KV_SERIALIZE(get_tx_keys)
543  KV_SERIALIZE_OPT(do_not_relay, false)
544  KV_SERIALIZE_OPT(get_tx_hex, false)
545  KV_SERIALIZE_OPT(get_tx_metadata, false)
546  END_KV_SERIALIZE_MAP()
547  };
548  typedef epee::misc_utils::struct_init<request_t> request;
549 
550  struct key_list
551  {
552  std::list<std::string> keys;
553 
554  BEGIN_KV_SERIALIZE_MAP()
555  KV_SERIALIZE(keys)
556  END_KV_SERIALIZE_MAP()
557  };
558 
559  struct response_t
560  {
561  std::list<std::string> tx_hash_list;
562  std::list<std::string> tx_key_list;
563  std::list<uint64_t> amount_list;
564  std::list<uint64_t> fee_list;
565  std::list<uint64_t> weight_list;
566  std::list<std::string> tx_blob_list;
567  std::list<std::string> tx_metadata_list;
568  std::string multisig_txset;
569  std::string unsigned_txset;
570 
571  BEGIN_KV_SERIALIZE_MAP()
572  KV_SERIALIZE(tx_hash_list)
573  KV_SERIALIZE(tx_key_list)
574  KV_SERIALIZE(amount_list)
575  KV_SERIALIZE(fee_list)
576  KV_SERIALIZE(weight_list)
577  KV_SERIALIZE(tx_blob_list)
578  KV_SERIALIZE(tx_metadata_list)
579  KV_SERIALIZE(multisig_txset)
580  KV_SERIALIZE(unsigned_txset)
581  END_KV_SERIALIZE_MAP()
582  };
583  typedef epee::misc_utils::struct_init<response_t> response;
584  };
585 
587  {
588  struct recipient
589  {
590  std::string address;
591  uint64_t amount;
592 
593  BEGIN_KV_SERIALIZE_MAP()
594  KV_SERIALIZE(address)
595  KV_SERIALIZE(amount)
596  END_KV_SERIALIZE_MAP()
597  };
598 
600  {
601  uint64_t amount_in;
602  uint64_t amount_out;
603  uint32_t ring_size;
604  uint64_t unlock_time;
605  std::list<recipient> recipients;
606  std::string payment_id;
607  uint64_t change_amount;
608  std::string change_address;
609  uint64_t fee;
610  uint32_t dummy_outputs;
611  std::string extra;
612 
613  BEGIN_KV_SERIALIZE_MAP()
614  KV_SERIALIZE(amount_in)
615  KV_SERIALIZE(amount_out)
616  KV_SERIALIZE(ring_size)
617  KV_SERIALIZE(unlock_time)
618  KV_SERIALIZE(recipients)
619  KV_SERIALIZE(payment_id)
620  KV_SERIALIZE(change_amount)
621  KV_SERIALIZE(change_address)
622  KV_SERIALIZE(fee)
623  KV_SERIALIZE(dummy_outputs)
624  KV_SERIALIZE(extra)
625  END_KV_SERIALIZE_MAP()
626  };
627 
628  struct request_t
629  {
630  std::string unsigned_txset;
631  std::string multisig_txset;
632 
633  BEGIN_KV_SERIALIZE_MAP()
634  KV_SERIALIZE(unsigned_txset)
635  KV_SERIALIZE(multisig_txset)
636  END_KV_SERIALIZE_MAP()
637  };
638  typedef epee::misc_utils::struct_init<request_t> request;
639 
640  struct response_t
641  {
642  std::list<transfer_description> desc;
643 
644  BEGIN_KV_SERIALIZE_MAP()
645  KV_SERIALIZE(desc)
646  END_KV_SERIALIZE_MAP()
647  };
648  typedef epee::misc_utils::struct_init<response_t> response;
649  };
650 
652  {
653  struct request_t
654  {
655  std::string unsigned_txset;
658 
659  BEGIN_KV_SERIALIZE_MAP()
660  KV_SERIALIZE(unsigned_txset)
661  KV_SERIALIZE_OPT(export_raw, false)
662  KV_SERIALIZE_OPT(get_tx_keys, false)
663  END_KV_SERIALIZE_MAP()
664  };
665  typedef epee::misc_utils::struct_init<request_t> request;
666 
667  struct response_t
668  {
669  std::string signed_txset;
670  std::list<std::string> tx_hash_list;
671  std::list<std::string> tx_raw_list;
672  std::list<std::string> tx_key_list;
673 
674  BEGIN_KV_SERIALIZE_MAP()
675  KV_SERIALIZE(signed_txset)
676  KV_SERIALIZE(tx_hash_list)
677  KV_SERIALIZE(tx_raw_list)
678  KV_SERIALIZE(tx_key_list)
679  END_KV_SERIALIZE_MAP()
680  };
681  typedef epee::misc_utils::struct_init<response_t> response;
682  };
683 
685  {
686  struct request_t
687  {
688  std::string tx_data_hex;
689 
690  BEGIN_KV_SERIALIZE_MAP()
691  KV_SERIALIZE(tx_data_hex)
692  END_KV_SERIALIZE_MAP()
693  };
694  typedef epee::misc_utils::struct_init<request_t> request;
695 
696  struct response_t
697  {
698  std::list<std::string> tx_hash_list;
699 
700  BEGIN_KV_SERIALIZE_MAP()
701  KV_SERIALIZE(tx_hash_list)
702  END_KV_SERIALIZE_MAP()
703  };
704  typedef epee::misc_utils::struct_init<response_t> response;
705  };
706 
708  {
709  struct request_t
710  {
715 
716  BEGIN_KV_SERIALIZE_MAP()
717  KV_SERIALIZE(get_tx_keys)
718  KV_SERIALIZE_OPT(do_not_relay, false)
719  KV_SERIALIZE_OPT(get_tx_hex, false)
720  KV_SERIALIZE_OPT(get_tx_metadata, false)
721  END_KV_SERIALIZE_MAP()
722  };
723  typedef epee::misc_utils::struct_init<request_t> request;
724 
725  struct key_list
726  {
727  std::list<std::string> keys;
728 
729  BEGIN_KV_SERIALIZE_MAP()
730  KV_SERIALIZE(keys)
731  END_KV_SERIALIZE_MAP()
732  };
733 
734  struct response_t
735  {
736  std::list<std::string> tx_hash_list;
737  std::list<std::string> tx_key_list;
738  std::list<uint64_t> amount_list;
739  std::list<uint64_t> fee_list;
740  std::list<uint64_t> weight_list;
741  std::list<std::string> tx_blob_list;
742  std::list<std::string> tx_metadata_list;
743  std::string multisig_txset;
744  std::string unsigned_txset;
745 
746  BEGIN_KV_SERIALIZE_MAP()
747  KV_SERIALIZE(tx_hash_list)
748  KV_SERIALIZE(tx_key_list)
749  KV_SERIALIZE(amount_list)
750  KV_SERIALIZE(fee_list)
751  KV_SERIALIZE(weight_list)
752  KV_SERIALIZE(tx_blob_list)
753  KV_SERIALIZE(tx_metadata_list)
754  KV_SERIALIZE(multisig_txset)
755  KV_SERIALIZE(unsigned_txset)
756  END_KV_SERIALIZE_MAP()
757  };
758  typedef epee::misc_utils::struct_init<response_t> response;
759  };
760 
762  {
763  struct request_t
764  {
765  std::string address;
766  uint32_t account_index;
767  std::set<uint32_t> subaddr_indices;
769  uint32_t priority;
770  uint64_t ring_size;
771  uint64_t outputs;
772  uint64_t unlock_time;
773  std::string payment_id;
775  uint64_t below_amount;
779 
780  BEGIN_KV_SERIALIZE_MAP()
781  KV_SERIALIZE(address)
782  KV_SERIALIZE(account_index)
783  KV_SERIALIZE(subaddr_indices)
784  KV_SERIALIZE_OPT(subaddr_indices_all, false)
785  KV_SERIALIZE(priority)
786  KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
787  KV_SERIALIZE_OPT(outputs, (uint64_t)1)
788  KV_SERIALIZE(unlock_time)
789  KV_SERIALIZE(payment_id)
790  KV_SERIALIZE(get_tx_keys)
791  KV_SERIALIZE(below_amount)
792  KV_SERIALIZE_OPT(do_not_relay, false)
793  KV_SERIALIZE_OPT(get_tx_hex, false)
794  KV_SERIALIZE_OPT(get_tx_metadata, false)
795  END_KV_SERIALIZE_MAP()
796  };
797  typedef epee::misc_utils::struct_init<request_t> request;
798 
799  struct key_list
800  {
801  std::list<std::string> keys;
802 
803  BEGIN_KV_SERIALIZE_MAP()
804  KV_SERIALIZE(keys)
805  END_KV_SERIALIZE_MAP()
806  };
807 
808  struct response_t
809  {
810  std::list<std::string> tx_hash_list;
811  std::list<std::string> tx_key_list;
812  std::list<uint64_t> amount_list;
813  std::list<uint64_t> fee_list;
814  std::list<uint64_t> weight_list;
815  std::list<std::string> tx_blob_list;
816  std::list<std::string> tx_metadata_list;
817  std::string multisig_txset;
818  std::string unsigned_txset;
819 
820  BEGIN_KV_SERIALIZE_MAP()
821  KV_SERIALIZE(tx_hash_list)
822  KV_SERIALIZE(tx_key_list)
823  KV_SERIALIZE(amount_list)
824  KV_SERIALIZE(fee_list)
825  KV_SERIALIZE(weight_list)
826  KV_SERIALIZE(tx_blob_list)
827  KV_SERIALIZE(tx_metadata_list)
828  KV_SERIALIZE(multisig_txset)
829  KV_SERIALIZE(unsigned_txset)
830  END_KV_SERIALIZE_MAP()
831  };
832  typedef epee::misc_utils::struct_init<response_t> response;
833  };
834 
836  {
837  struct request_t
838  {
839  std::string address;
840  uint32_t priority;
841  uint64_t ring_size;
842  uint64_t outputs;
843  uint64_t unlock_time;
844  std::string payment_id;
846  std::string key_image;
850 
851  BEGIN_KV_SERIALIZE_MAP()
852  KV_SERIALIZE(address)
853  KV_SERIALIZE(priority)
854  KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
855  KV_SERIALIZE_OPT(outputs, (uint64_t)1)
856  KV_SERIALIZE(unlock_time)
857  KV_SERIALIZE(payment_id)
858  KV_SERIALIZE(get_tx_key)
859  KV_SERIALIZE(key_image)
860  KV_SERIALIZE_OPT(do_not_relay, false)
861  KV_SERIALIZE_OPT(get_tx_hex, false)
862  KV_SERIALIZE_OPT(get_tx_metadata, false)
863  END_KV_SERIALIZE_MAP()
864  };
865  typedef epee::misc_utils::struct_init<request_t> request;
866 
867  struct response_t
868  {
869  std::string tx_hash;
870  std::string tx_key;
871  uint64_t amount;
872  uint64_t fee;
873  uint64_t weight;
874  std::string tx_blob;
875  std::string tx_metadata;
876  std::string multisig_txset;
877  std::string unsigned_txset;
878 
879  BEGIN_KV_SERIALIZE_MAP()
880  KV_SERIALIZE(tx_hash)
881  KV_SERIALIZE(tx_key)
882  KV_SERIALIZE(amount)
883  KV_SERIALIZE(fee)
884  KV_SERIALIZE(weight)
885  KV_SERIALIZE(tx_blob)
886  KV_SERIALIZE(tx_metadata)
887  KV_SERIALIZE(multisig_txset)
888  KV_SERIALIZE(unsigned_txset)
889  END_KV_SERIALIZE_MAP()
890  };
891  typedef epee::misc_utils::struct_init<response_t> response;
892  };
893 
895  {
896  struct request_t
897  {
898  std::string hex;
899 
900  BEGIN_KV_SERIALIZE_MAP()
901  KV_SERIALIZE(hex)
902  END_KV_SERIALIZE_MAP()
903  };
904  typedef epee::misc_utils::struct_init<request_t> request;
905 
906  struct response_t
907  {
908  std::string tx_hash;
909 
910  BEGIN_KV_SERIALIZE_MAP()
911  KV_SERIALIZE(tx_hash)
912  END_KV_SERIALIZE_MAP()
913  };
914  typedef epee::misc_utils::struct_init<response_t> response;
915  };
916 
918  {
919  struct request_t
920  {
921  BEGIN_KV_SERIALIZE_MAP()
922  END_KV_SERIALIZE_MAP()
923  };
924  typedef epee::misc_utils::struct_init<request_t> request;
925 
926  struct response_t
927  {
928  BEGIN_KV_SERIALIZE_MAP()
929  END_KV_SERIALIZE_MAP()
930  };
931  typedef epee::misc_utils::struct_init<response_t> response;
932  };
933 
935  {
936  std::string payment_id;
937  std::string tx_hash;
938  uint64_t amount;
939  uint64_t block_height;
940  uint64_t unlock_time;
941  bool locked;
943  std::string address;
944 
945  BEGIN_KV_SERIALIZE_MAP()
946  KV_SERIALIZE(payment_id)
947  KV_SERIALIZE(tx_hash)
948  KV_SERIALIZE(amount)
949  KV_SERIALIZE(block_height)
950  KV_SERIALIZE(unlock_time)
951  KV_SERIALIZE(locked)
952  KV_SERIALIZE(subaddr_index)
953  KV_SERIALIZE(address)
954  END_KV_SERIALIZE_MAP()
955  };
956 
958  {
959  struct request_t
960  {
961  std::string payment_id;
962 
963  BEGIN_KV_SERIALIZE_MAP()
964  KV_SERIALIZE(payment_id)
965  END_KV_SERIALIZE_MAP()
966  };
967  typedef epee::misc_utils::struct_init<request_t> request;
968 
969  struct response_t
970  {
971  std::list<payment_details> payments;
972 
973  BEGIN_KV_SERIALIZE_MAP()
974  KV_SERIALIZE(payments)
975  END_KV_SERIALIZE_MAP()
976  };
977  typedef epee::misc_utils::struct_init<response_t> response;
978  };
979 
981  {
982  struct request_t
983  {
984  std::vector<std::string> payment_ids;
986 
987  BEGIN_KV_SERIALIZE_MAP()
988  KV_SERIALIZE(payment_ids)
989  KV_SERIALIZE(min_block_height)
990  END_KV_SERIALIZE_MAP()
991  };
992  typedef epee::misc_utils::struct_init<request_t> request;
993 
994  struct response_t
995  {
996  std::list<payment_details> payments;
997 
998  BEGIN_KV_SERIALIZE_MAP()
999  KV_SERIALIZE(payments)
1000  END_KV_SERIALIZE_MAP()
1001  };
1002  typedef epee::misc_utils::struct_init<response_t> response;
1003  };
1004 
1006  {
1007  uint64_t amount;
1008  bool spent;
1009  uint64_t global_index;
1010  std::string tx_hash;
1012  std::string key_image;
1013  uint64_t block_height;
1014  bool frozen;
1015  bool unlocked;
1016 
1017  BEGIN_KV_SERIALIZE_MAP()
1018  KV_SERIALIZE(amount)
1019  KV_SERIALIZE(spent)
1020  KV_SERIALIZE(global_index)
1021  KV_SERIALIZE(tx_hash)
1022  KV_SERIALIZE(subaddr_index)
1023  KV_SERIALIZE(key_image)
1024  KV_SERIALIZE(block_height)
1025  KV_SERIALIZE(frozen)
1026  KV_SERIALIZE(unlocked)
1027  END_KV_SERIALIZE_MAP()
1028  };
1029 
1031  {
1032  struct request_t
1033  {
1034  std::string transfer_type;
1035  uint32_t account_index;
1036  std::set<uint32_t> subaddr_indices;
1037 
1038  BEGIN_KV_SERIALIZE_MAP()
1039  KV_SERIALIZE(transfer_type)
1040  KV_SERIALIZE(account_index)
1041  KV_SERIALIZE(subaddr_indices)
1042  END_KV_SERIALIZE_MAP()
1043  };
1044  typedef epee::misc_utils::struct_init<request_t> request;
1045 
1046  struct response_t
1047  {
1048  std::list<transfer_details> transfers;
1049 
1050  BEGIN_KV_SERIALIZE_MAP()
1051  KV_SERIALIZE(transfers)
1052  END_KV_SERIALIZE_MAP()
1053  };
1054  typedef epee::misc_utils::struct_init<response_t> response;
1055  };
1056 
1057  //JSON RPC V2
1059  {
1060  struct request_t
1061  {
1062  std::string key_type;
1063 
1064  BEGIN_KV_SERIALIZE_MAP()
1065  KV_SERIALIZE(key_type)
1066  END_KV_SERIALIZE_MAP()
1067  };
1068  typedef epee::misc_utils::struct_init<request_t> request;
1069 
1070  struct response_t
1071  {
1072  std::string key;
1073 
1074  BEGIN_KV_SERIALIZE_MAP()
1075  KV_SERIALIZE(key)
1076  END_KV_SERIALIZE_MAP()
1077  };
1078  typedef epee::misc_utils::struct_init<response_t> response;
1079  };
1080 
1082  {
1083  struct request_t
1084  {
1085  std::string standard_address;
1086  std::string payment_id;
1087 
1088  BEGIN_KV_SERIALIZE_MAP()
1089  KV_SERIALIZE(standard_address)
1090  KV_SERIALIZE(payment_id)
1091  END_KV_SERIALIZE_MAP()
1092  };
1093  typedef epee::misc_utils::struct_init<request_t> request;
1094 
1095  struct response_t
1096  {
1097  std::string integrated_address;
1098  std::string payment_id;
1099 
1100  BEGIN_KV_SERIALIZE_MAP()
1101  KV_SERIALIZE(integrated_address)
1102  KV_SERIALIZE(payment_id)
1103  END_KV_SERIALIZE_MAP()
1104  };
1105  typedef epee::misc_utils::struct_init<response_t> response;
1106  };
1107 
1109  {
1110  struct request_t
1111  {
1112  std::string integrated_address;
1113 
1114  BEGIN_KV_SERIALIZE_MAP()
1115  KV_SERIALIZE(integrated_address)
1116  END_KV_SERIALIZE_MAP()
1117  };
1118  typedef epee::misc_utils::struct_init<request_t> request;
1119 
1120  struct response_t
1121  {
1122  std::string standard_address;
1123  std::string payment_id;
1125 
1126  BEGIN_KV_SERIALIZE_MAP()
1127  KV_SERIALIZE(standard_address)
1128  KV_SERIALIZE(payment_id)
1129  KV_SERIALIZE(is_subaddress)
1130  END_KV_SERIALIZE_MAP()
1131  };
1132  typedef epee::misc_utils::struct_init<response_t> response;
1133  };
1134 
1136  {
1137  struct request_t
1138  {
1139  BEGIN_KV_SERIALIZE_MAP()
1140  END_KV_SERIALIZE_MAP()
1141  };
1142  typedef epee::misc_utils::struct_init<request_t> request;
1143 
1144  struct response_t
1145  {
1146  BEGIN_KV_SERIALIZE_MAP()
1147  END_KV_SERIALIZE_MAP()
1148  };
1149  typedef epee::misc_utils::struct_init<response_t> response;
1150  };
1151 
1153  {
1154  struct request_t
1155  {
1156  bool hard;
1157 
1158  BEGIN_KV_SERIALIZE_MAP()
1160  END_KV_SERIALIZE_MAP()
1161  };
1162  typedef epee::misc_utils::struct_init<request_t> request;
1163 
1164  struct response_t
1165  {
1166  BEGIN_KV_SERIALIZE_MAP()
1167  END_KV_SERIALIZE_MAP()
1168  };
1169  typedef epee::misc_utils::struct_init<response_t> response;
1170  };
1171 
1173  {
1174  struct request_t
1175  {
1176  std::list<std::string> txids;
1177  std::list<std::string> notes;
1178 
1179  BEGIN_KV_SERIALIZE_MAP()
1180  KV_SERIALIZE(txids)
1181  KV_SERIALIZE(notes)
1182  END_KV_SERIALIZE_MAP()
1183  };
1184  typedef epee::misc_utils::struct_init<request_t> request;
1185 
1186  struct response_t
1187  {
1188  BEGIN_KV_SERIALIZE_MAP()
1189  END_KV_SERIALIZE_MAP()
1190  };
1191  typedef epee::misc_utils::struct_init<response_t> response;
1192  };
1193 
1195  {
1196  struct request_t
1197  {
1198  std::list<std::string> txids;
1199 
1200  BEGIN_KV_SERIALIZE_MAP()
1201  KV_SERIALIZE(txids)
1202  END_KV_SERIALIZE_MAP()
1203  };
1204  typedef epee::misc_utils::struct_init<request_t> request;
1205 
1206  struct response_t
1207  {
1208  std::list<std::string> notes;
1209 
1210  BEGIN_KV_SERIALIZE_MAP()
1211  KV_SERIALIZE(notes)
1212  END_KV_SERIALIZE_MAP()
1213  };
1214  typedef epee::misc_utils::struct_init<response_t> response;
1215  };
1216 
1218  {
1219  struct request_t
1220  {
1221  std::string key;
1222  std::string value;
1223 
1224  BEGIN_KV_SERIALIZE_MAP()
1225  KV_SERIALIZE(key)
1226  KV_SERIALIZE(value)
1227  END_KV_SERIALIZE_MAP()
1228  };
1229  typedef epee::misc_utils::struct_init<request_t> request;
1230 
1231  struct response_t
1232  {
1233  BEGIN_KV_SERIALIZE_MAP()
1234  END_KV_SERIALIZE_MAP()
1235  };
1236  typedef epee::misc_utils::struct_init<response_t> response;
1237  };
1238 
1240  {
1241  struct request_t
1242  {
1243 
1244  std::string key;
1245 
1246  BEGIN_KV_SERIALIZE_MAP()
1247  KV_SERIALIZE(key)
1248  END_KV_SERIALIZE_MAP()
1249  };
1250  typedef epee::misc_utils::struct_init<request_t> request;
1251 
1252  struct response_t
1253  {
1254  std::string value;
1255 
1256  BEGIN_KV_SERIALIZE_MAP()
1257  KV_SERIALIZE(value)
1258  END_KV_SERIALIZE_MAP()
1259  };
1260  typedef epee::misc_utils::struct_init<response_t> response;
1261  };
1262 
1264  {
1265  struct request_t
1266  {
1267  std::string txid;
1268 
1269  BEGIN_KV_SERIALIZE_MAP()
1270  KV_SERIALIZE(txid)
1271  END_KV_SERIALIZE_MAP()
1272  };
1273  typedef epee::misc_utils::struct_init<request_t> request;
1274 
1275  struct response_t
1276  {
1277  std::string tx_key;
1278 
1279  BEGIN_KV_SERIALIZE_MAP()
1280  KV_SERIALIZE(tx_key)
1281  END_KV_SERIALIZE_MAP()
1282  };
1283  typedef epee::misc_utils::struct_init<response_t> response;
1284  };
1285 
1287  {
1288  struct request_t
1289  {
1290  std::string txid;
1291  std::string tx_key;
1292  std::string address;
1293 
1294  BEGIN_KV_SERIALIZE_MAP()
1295  KV_SERIALIZE(txid)
1296  KV_SERIALIZE(tx_key)
1297  KV_SERIALIZE(address)
1298  END_KV_SERIALIZE_MAP()
1299  };
1300  typedef epee::misc_utils::struct_init<request_t> request;
1301 
1302  struct response_t
1303  {
1304  uint64_t received;
1305  bool in_pool;
1306  uint64_t confirmations;
1307 
1308  BEGIN_KV_SERIALIZE_MAP()
1309  KV_SERIALIZE(received)
1310  KV_SERIALIZE(in_pool)
1311  KV_SERIALIZE(confirmations)
1312  END_KV_SERIALIZE_MAP()
1313  };
1314  typedef epee::misc_utils::struct_init<response_t> response;
1315  };
1316 
1318  {
1319  struct request_t
1320  {
1321  std::string txid;
1322  std::string address;
1323  std::string message;
1324 
1325  BEGIN_KV_SERIALIZE_MAP()
1326  KV_SERIALIZE(txid)
1327  KV_SERIALIZE(address)
1328  KV_SERIALIZE(message)
1329  END_KV_SERIALIZE_MAP()
1330  };
1331  typedef epee::misc_utils::struct_init<request_t> request;
1332 
1333  struct response_t
1334  {
1335  std::string signature;
1336 
1337  BEGIN_KV_SERIALIZE_MAP()
1338  KV_SERIALIZE(signature)
1339  END_KV_SERIALIZE_MAP()
1340  };
1341  typedef epee::misc_utils::struct_init<response_t> response;
1342  };
1343 
1345  {
1346  struct request_t
1347  {
1348  std::string txid;
1349  std::string address;
1350  std::string message;
1351  std::string signature;
1352 
1353  BEGIN_KV_SERIALIZE_MAP()
1354  KV_SERIALIZE(txid)
1355  KV_SERIALIZE(address)
1356  KV_SERIALIZE(message)
1357  KV_SERIALIZE(signature)
1358  END_KV_SERIALIZE_MAP()
1359  };
1360  typedef epee::misc_utils::struct_init<request_t> request;
1361 
1362  struct response_t
1363  {
1364  bool good;
1365  uint64_t received;
1366  bool in_pool;
1367  uint64_t confirmations;
1368 
1369  BEGIN_KV_SERIALIZE_MAP()
1370  KV_SERIALIZE(good)
1371  KV_SERIALIZE(received)
1372  KV_SERIALIZE(in_pool)
1373  KV_SERIALIZE(confirmations)
1374  END_KV_SERIALIZE_MAP()
1375  };
1376  typedef epee::misc_utils::struct_init<response_t> response;
1377  };
1378 
1379  typedef std::vector<uint64_t> amounts_container;
1381  {
1382  std::string txid;
1383  std::string payment_id;
1384  uint64_t height;
1385  uint64_t timestamp;
1386  uint64_t amount;
1388  uint64_t fee;
1389  std::string note;
1390  std::list<transfer_destination> destinations;
1391  std::string type;
1392  uint64_t unlock_time;
1393  bool locked;
1395  std::vector<cryptonote::subaddress_index> subaddr_indices;
1396  std::string address;
1398  uint64_t confirmations;
1400 
1401  BEGIN_KV_SERIALIZE_MAP()
1402  KV_SERIALIZE(txid);
1403  KV_SERIALIZE(payment_id);
1404  KV_SERIALIZE(height);
1405  KV_SERIALIZE(timestamp);
1406  KV_SERIALIZE(amount);
1407  KV_SERIALIZE(amounts);
1408  KV_SERIALIZE(fee);
1409  KV_SERIALIZE(note);
1410  KV_SERIALIZE(destinations);
1411  KV_SERIALIZE(type);
1412  KV_SERIALIZE(unlock_time)
1413  KV_SERIALIZE(locked)
1414  KV_SERIALIZE(subaddr_index);
1415  KV_SERIALIZE(subaddr_indices);
1416  KV_SERIALIZE(address);
1417  KV_SERIALIZE(double_spend_seen)
1418  KV_SERIALIZE_OPT(confirmations, (uint64_t)0)
1419  KV_SERIALIZE_OPT(suggested_confirmations_threshold, (uint64_t)0)
1420  END_KV_SERIALIZE_MAP()
1421  };
1422 
1424  {
1425  struct request_t
1426  {
1427  std::string txid;
1428  std::string message;
1429 
1430  BEGIN_KV_SERIALIZE_MAP()
1431  KV_SERIALIZE(txid)
1432  KV_SERIALIZE(message)
1433  END_KV_SERIALIZE_MAP()
1434  };
1435  typedef epee::misc_utils::struct_init<request_t> request;
1436 
1437  struct response_t
1438  {
1439  std::string signature;
1440 
1441  BEGIN_KV_SERIALIZE_MAP()
1442  KV_SERIALIZE(signature)
1443  END_KV_SERIALIZE_MAP()
1444  };
1445  typedef epee::misc_utils::struct_init<response_t> response;
1446  };
1447 
1449  {
1450  struct request_t
1451  {
1452  std::string txid;
1453  std::string message;
1454  std::string signature;
1455 
1456  BEGIN_KV_SERIALIZE_MAP()
1457  KV_SERIALIZE(txid)
1458  KV_SERIALIZE(message)
1459  KV_SERIALIZE(signature)
1460  END_KV_SERIALIZE_MAP()
1461  };
1462  typedef epee::misc_utils::struct_init<request_t> request;
1463 
1464  struct response_t
1465  {
1466  bool good;
1467 
1468  BEGIN_KV_SERIALIZE_MAP()
1469  KV_SERIALIZE(good)
1470  END_KV_SERIALIZE_MAP()
1471  };
1472  typedef epee::misc_utils::struct_init<response_t> response;
1473  };
1474 
1476  {
1477  struct request_t
1478  {
1479  bool all;
1480  uint32_t account_index; // ignored when `all` is true
1481  uint64_t amount; // ignored when `all` is true
1482  std::string message;
1483 
1484  BEGIN_KV_SERIALIZE_MAP()
1485  KV_SERIALIZE(all)
1486  KV_SERIALIZE(account_index)
1487  KV_SERIALIZE(amount)
1488  KV_SERIALIZE(message)
1489  END_KV_SERIALIZE_MAP()
1490  };
1491  typedef epee::misc_utils::struct_init<request_t> request;
1492 
1493  struct response_t
1494  {
1495  std::string signature;
1496 
1497  BEGIN_KV_SERIALIZE_MAP()
1498  KV_SERIALIZE(signature)
1499  END_KV_SERIALIZE_MAP()
1500  };
1501  typedef epee::misc_utils::struct_init<response_t> response;
1502  };
1503 
1505  {
1506  struct request_t
1507  {
1508  std::string address;
1509  std::string message;
1510  std::string signature;
1511 
1512  BEGIN_KV_SERIALIZE_MAP()
1513  KV_SERIALIZE(address)
1514  KV_SERIALIZE(message)
1515  KV_SERIALIZE(signature)
1516  END_KV_SERIALIZE_MAP()
1517  };
1518  typedef epee::misc_utils::struct_init<request_t> request;
1519 
1520  struct response_t
1521  {
1522  bool good;
1523  uint64_t total;
1524  uint64_t spent;
1525 
1526  BEGIN_KV_SERIALIZE_MAP()
1527  KV_SERIALIZE(good)
1528  KV_SERIALIZE(total)
1529  KV_SERIALIZE(spent)
1530  END_KV_SERIALIZE_MAP()
1531  };
1532  typedef epee::misc_utils::struct_init<response_t> response;
1533  };
1534 
1536  {
1537  struct request_t
1538  {
1539  bool in;
1540  bool out;
1541  bool pending;
1542  bool failed;
1543  bool pool;
1544 
1546  uint64_t min_height;
1547  uint64_t max_height;
1548  uint32_t account_index;
1549  std::set<uint32_t> subaddr_indices;
1551 
1552  BEGIN_KV_SERIALIZE_MAP()
1553  KV_SERIALIZE(in);
1554  KV_SERIALIZE(out);
1555  KV_SERIALIZE(pending);
1556  KV_SERIALIZE(failed);
1557  KV_SERIALIZE(pool);
1558  KV_SERIALIZE(filter_by_height);
1559  KV_SERIALIZE(min_height);
1561  KV_SERIALIZE(account_index);
1562  KV_SERIALIZE(subaddr_indices);
1564  END_KV_SERIALIZE_MAP()
1565  };
1566  typedef epee::misc_utils::struct_init<request_t> request;
1567 
1568  struct response_t
1569  {
1570  std::list<transfer_entry> in;
1571  std::list<transfer_entry> out;
1572  std::list<transfer_entry> pending;
1573  std::list<transfer_entry> failed;
1574  std::list<transfer_entry> pool;
1575 
1576  BEGIN_KV_SERIALIZE_MAP()
1577  KV_SERIALIZE(in);
1578  KV_SERIALIZE(out);
1579  KV_SERIALIZE(pending);
1580  KV_SERIALIZE(failed);
1581  KV_SERIALIZE(pool);
1582  END_KV_SERIALIZE_MAP()
1583  };
1584  typedef epee::misc_utils::struct_init<response_t> response;
1585  };
1586 
1588  {
1589  struct request_t
1590  {
1591  std::string txid;
1592  uint32_t account_index;
1593 
1594  BEGIN_KV_SERIALIZE_MAP()
1595  KV_SERIALIZE(txid);
1596  KV_SERIALIZE_OPT(account_index, (uint32_t)0)
1597  END_KV_SERIALIZE_MAP()
1598  };
1599  typedef epee::misc_utils::struct_init<request_t> request;
1600 
1601  struct response_t
1602  {
1604  std::list<transfer_entry> transfers;
1605 
1606  BEGIN_KV_SERIALIZE_MAP()
1607  KV_SERIALIZE(transfer);
1608  KV_SERIALIZE(transfers);
1609  END_KV_SERIALIZE_MAP()
1610  };
1611  typedef epee::misc_utils::struct_init<response_t> response;
1612  };
1613 
1615  {
1616  struct request_t
1617  {
1618  std::string data;
1619  uint32_t account_index;
1620  uint32_t address_index;
1621  std::string signature_type;
1622 
1623  BEGIN_KV_SERIALIZE_MAP()
1624  KV_SERIALIZE(data)
1626  KV_SERIALIZE_OPT(address_index, 0u)
1627  KV_SERIALIZE(signature_type)
1628  END_KV_SERIALIZE_MAP()
1629  };
1630  typedef epee::misc_utils::struct_init<request_t> request;
1631 
1632  struct response_t
1633  {
1634  std::string signature;
1635 
1636  BEGIN_KV_SERIALIZE_MAP()
1637  KV_SERIALIZE(signature);
1638  END_KV_SERIALIZE_MAP()
1639  };
1640  typedef epee::misc_utils::struct_init<response_t> response;
1641  };
1642 
1644  {
1645  struct request_t
1646  {
1647  std::string data;
1648  std::string address;
1649  std::string signature;
1650 
1651  BEGIN_KV_SERIALIZE_MAP()
1652  KV_SERIALIZE(data);
1653  KV_SERIALIZE(address);
1654  KV_SERIALIZE(signature);
1655  END_KV_SERIALIZE_MAP()
1656  };
1657  typedef epee::misc_utils::struct_init<request_t> request;
1658 
1659  struct response_t
1660  {
1661  bool good;
1662  unsigned version;
1663  bool old;
1664  std::string signature_type;
1665 
1666  BEGIN_KV_SERIALIZE_MAP()
1667  KV_SERIALIZE(good);
1668  KV_SERIALIZE(version);
1669  KV_SERIALIZE(old);
1670  KV_SERIALIZE(signature_type);
1671  END_KV_SERIALIZE_MAP()
1672  };
1673  typedef epee::misc_utils::struct_init<response_t> response;
1674  };
1675 
1677  {
1678  struct request_t
1679  {
1680  bool all;
1681 
1682  BEGIN_KV_SERIALIZE_MAP()
1683  KV_SERIALIZE(all)
1684  END_KV_SERIALIZE_MAP()
1685  };
1686  typedef epee::misc_utils::struct_init<request_t> request;
1687 
1688  struct response_t
1689  {
1690  std::string outputs_data_hex;
1691 
1692  BEGIN_KV_SERIALIZE_MAP()
1693  KV_SERIALIZE(outputs_data_hex);
1694  END_KV_SERIALIZE_MAP()
1695  };
1696  typedef epee::misc_utils::struct_init<response_t> response;
1697  };
1698 
1700  {
1701  struct request_t
1702  {
1703  std::string outputs_data_hex;
1704 
1705  BEGIN_KV_SERIALIZE_MAP()
1706  KV_SERIALIZE(outputs_data_hex);
1707  END_KV_SERIALIZE_MAP()
1708  };
1709  typedef epee::misc_utils::struct_init<request_t> request;
1710 
1711  struct response_t
1712  {
1713  uint64_t num_imported;
1714 
1715  BEGIN_KV_SERIALIZE_MAP()
1716  KV_SERIALIZE(num_imported);
1717  END_KV_SERIALIZE_MAP()
1718  };
1719  typedef epee::misc_utils::struct_init<response_t> response;
1720  };
1721 
1723  {
1724  struct request_t
1725  {
1726  bool all;
1727 
1728  BEGIN_KV_SERIALIZE_MAP()
1730  END_KV_SERIALIZE_MAP()
1731  };
1732  typedef epee::misc_utils::struct_init<request_t> request;
1733 
1735  {
1736  std::string key_image;
1737  std::string signature;
1738 
1739  BEGIN_KV_SERIALIZE_MAP()
1740  KV_SERIALIZE(key_image);
1741  KV_SERIALIZE(signature);
1742  END_KV_SERIALIZE_MAP()
1743  };
1744 
1745  struct response_t
1746  {
1747  uint32_t offset;
1748  std::vector<signed_key_image> signed_key_images;
1749 
1750  BEGIN_KV_SERIALIZE_MAP()
1751  KV_SERIALIZE(offset);
1752  KV_SERIALIZE(signed_key_images);
1753  END_KV_SERIALIZE_MAP()
1754  };
1755  typedef epee::misc_utils::struct_init<response_t> response;
1756  };
1757 
1759  {
1761  {
1762  std::string key_image;
1763  std::string signature;
1764 
1765  BEGIN_KV_SERIALIZE_MAP()
1766  KV_SERIALIZE(key_image);
1767  KV_SERIALIZE(signature);
1768  END_KV_SERIALIZE_MAP()
1769  };
1770 
1771  struct request_t
1772  {
1773  uint32_t offset;
1774  std::vector<signed_key_image> signed_key_images;
1775 
1776  BEGIN_KV_SERIALIZE_MAP()
1777  KV_SERIALIZE_OPT(offset, (uint32_t)0);
1778  KV_SERIALIZE(signed_key_images);
1779  END_KV_SERIALIZE_MAP()
1780  };
1781  typedef epee::misc_utils::struct_init<request_t> request;
1782 
1783  struct response_t
1784  {
1785  uint64_t height;
1786  uint64_t spent;
1787  uint64_t unspent;
1788 
1789  BEGIN_KV_SERIALIZE_MAP()
1790  KV_SERIALIZE(height)
1791  KV_SERIALIZE(spent)
1792  KV_SERIALIZE(unspent)
1793  END_KV_SERIALIZE_MAP()
1794  };
1795  typedef epee::misc_utils::struct_init<response_t> response;
1796  };
1797 
1798  struct uri_spec
1799  {
1800  std::string address;
1801  std::string payment_id;
1802  uint64_t amount;
1803  std::string tx_description;
1804  std::string recipient_name;
1805 
1806  BEGIN_KV_SERIALIZE_MAP()
1807  KV_SERIALIZE(address);
1808  KV_SERIALIZE(payment_id);
1809  KV_SERIALIZE(amount);
1810  KV_SERIALIZE(tx_description);
1811  KV_SERIALIZE(recipient_name);
1812  END_KV_SERIALIZE_MAP()
1813  };
1814 
1816  {
1817  struct request_t: public uri_spec
1818  {
1819  };
1820  typedef epee::misc_utils::struct_init<request_t> request;
1821 
1822  struct response_t
1823  {
1824  std::string uri;
1825 
1826  BEGIN_KV_SERIALIZE_MAP()
1827  KV_SERIALIZE(uri)
1828  END_KV_SERIALIZE_MAP()
1829  };
1830  typedef epee::misc_utils::struct_init<response_t> response;
1831  };
1832 
1834  {
1835  struct request_t
1836  {
1837  std::string uri;
1838 
1839  BEGIN_KV_SERIALIZE_MAP()
1840  KV_SERIALIZE(uri)
1841  END_KV_SERIALIZE_MAP()
1842  };
1843  typedef epee::misc_utils::struct_init<request_t> request;
1844 
1845  struct response_t
1846  {
1848  std::vector<std::string> unknown_parameters;
1849 
1850  BEGIN_KV_SERIALIZE_MAP()
1851  KV_SERIALIZE(uri);
1852  KV_SERIALIZE(unknown_parameters);
1853  END_KV_SERIALIZE_MAP()
1854  };
1855  typedef epee::misc_utils::struct_init<response_t> response;
1856  };
1857 
1859  {
1860  struct request_t
1861  {
1862  std::string address;
1863  std::string description;
1864 
1865  BEGIN_KV_SERIALIZE_MAP()
1866  KV_SERIALIZE(address)
1867  KV_SERIALIZE(description)
1868  END_KV_SERIALIZE_MAP()
1869  };
1870  typedef epee::misc_utils::struct_init<request_t> request;
1871 
1872  struct response_t
1873  {
1874  uint64_t index;
1875 
1876  BEGIN_KV_SERIALIZE_MAP()
1877  KV_SERIALIZE(index);
1878  END_KV_SERIALIZE_MAP()
1879  };
1880  typedef epee::misc_utils::struct_init<response_t> response;
1881  };
1882 
1884  {
1885  struct request_t
1886  {
1887  uint64_t index;
1889  std::string address;
1891  std::string description;
1892 
1893  BEGIN_KV_SERIALIZE_MAP()
1894  KV_SERIALIZE(index)
1895  KV_SERIALIZE(set_address)
1896  KV_SERIALIZE(address)
1897  KV_SERIALIZE(set_description)
1898  KV_SERIALIZE(description)
1899  END_KV_SERIALIZE_MAP()
1900  };
1901  typedef epee::misc_utils::struct_init<request_t> request;
1902 
1903  struct response_t
1904  {
1905  BEGIN_KV_SERIALIZE_MAP()
1906  END_KV_SERIALIZE_MAP()
1907  };
1908  typedef epee::misc_utils::struct_init<response_t> response;
1909  };
1910 
1912  {
1913  struct request_t
1914  {
1915  std::list<uint64_t> entries;
1916 
1917  BEGIN_KV_SERIALIZE_MAP()
1918  KV_SERIALIZE(entries)
1919  END_KV_SERIALIZE_MAP()
1920  };
1921  typedef epee::misc_utils::struct_init<request_t> request;
1922 
1923  struct entry
1924  {
1925  uint64_t index;
1926  std::string address;
1927  std::string description;
1928 
1929  BEGIN_KV_SERIALIZE_MAP()
1930  KV_SERIALIZE(index)
1931  KV_SERIALIZE(address)
1932  KV_SERIALIZE(description)
1933  END_KV_SERIALIZE_MAP()
1934  };
1935 
1936  struct response_t
1937  {
1938  std::vector<entry> entries;
1939 
1940  BEGIN_KV_SERIALIZE_MAP()
1941  KV_SERIALIZE(entries)
1942  END_KV_SERIALIZE_MAP()
1943  };
1944  typedef epee::misc_utils::struct_init<response_t> response;
1945  };
1946 
1948  {
1949  struct request_t
1950  {
1951  uint64_t index;
1952 
1953  BEGIN_KV_SERIALIZE_MAP()
1954  KV_SERIALIZE(index);
1955  END_KV_SERIALIZE_MAP()
1956  };
1957  typedef epee::misc_utils::struct_init<request_t> request;
1958 
1959  struct response_t
1960  {
1961  BEGIN_KV_SERIALIZE_MAP()
1962  END_KV_SERIALIZE_MAP()
1963  };
1964  typedef epee::misc_utils::struct_init<response_t> response;
1965  };
1966 
1968  {
1969  struct request_t
1970  {
1971  BEGIN_KV_SERIALIZE_MAP()
1972  END_KV_SERIALIZE_MAP()
1973  };
1974  typedef epee::misc_utils::struct_init<request_t> request;
1975 
1976  struct response_t
1977  {
1978  BEGIN_KV_SERIALIZE_MAP()
1979  END_KV_SERIALIZE_MAP()
1980  };
1981  typedef epee::misc_utils::struct_init<response_t> response;
1982  };
1983 
1985  {
1986  struct request_t
1987  {
1988  uint64_t start_height;
1989 
1990  BEGIN_KV_SERIALIZE_MAP()
1991  KV_SERIALIZE_OPT(start_height, (uint64_t) 0)
1992  END_KV_SERIALIZE_MAP()
1993  };
1994  typedef epee::misc_utils::struct_init<request_t> request;
1995 
1996  struct response_t
1997  {
1998  uint64_t blocks_fetched;
2000 
2001  BEGIN_KV_SERIALIZE_MAP()
2002  KV_SERIALIZE(blocks_fetched);
2003  KV_SERIALIZE(received_money);
2004  END_KV_SERIALIZE_MAP()
2005  };
2006  typedef epee::misc_utils::struct_init<response_t> response;
2007  };
2008 
2010  {
2011  struct request_t
2012  {
2013  bool enable;
2014  uint32_t period; // seconds
2015 
2016  BEGIN_KV_SERIALIZE_MAP()
2017  KV_SERIALIZE_OPT(enable, true)
2018  KV_SERIALIZE_OPT(period, (uint32_t)0)
2019  END_KV_SERIALIZE_MAP()
2020  };
2021  typedef epee::misc_utils::struct_init<request_t> request;
2022 
2023  struct response_t
2024  {
2025  BEGIN_KV_SERIALIZE_MAP()
2026  END_KV_SERIALIZE_MAP()
2027  };
2028  typedef epee::misc_utils::struct_init<response_t> response;
2029  };
2030 
2032  {
2033  struct request_t
2034  {
2035  uint64_t threads_count;
2038 
2039  BEGIN_KV_SERIALIZE_MAP()
2040  KV_SERIALIZE(threads_count)
2041  KV_SERIALIZE(do_background_mining)
2042  KV_SERIALIZE(ignore_battery)
2043  END_KV_SERIALIZE_MAP()
2044  };
2045  typedef epee::misc_utils::struct_init<request_t> request;
2046 
2047  struct response_t
2048  {
2049  BEGIN_KV_SERIALIZE_MAP()
2050  END_KV_SERIALIZE_MAP()
2051  };
2052  typedef epee::misc_utils::struct_init<response_t> response;
2053  };
2054 
2056  {
2057  struct request_t
2058  {
2059  BEGIN_KV_SERIALIZE_MAP()
2060  END_KV_SERIALIZE_MAP()
2061  };
2062  typedef epee::misc_utils::struct_init<request_t> request;
2063 
2064  struct response_t
2065  {
2066  BEGIN_KV_SERIALIZE_MAP()
2067  END_KV_SERIALIZE_MAP()
2068  };
2069  typedef epee::misc_utils::struct_init<response_t> response;
2070  };
2071 
2073  {
2074  struct request_t
2075  {
2076  BEGIN_KV_SERIALIZE_MAP()
2077  END_KV_SERIALIZE_MAP()
2078  };
2079  typedef epee::misc_utils::struct_init<request_t> request;
2080 
2081  struct response_t
2082  {
2083  std::vector<std::string> languages;
2084  std::vector<std::string> languages_local;
2085 
2086  BEGIN_KV_SERIALIZE_MAP()
2087  KV_SERIALIZE(languages)
2088  KV_SERIALIZE(languages_local)
2089  END_KV_SERIALIZE_MAP()
2090  };
2091  typedef epee::misc_utils::struct_init<response_t> response;
2092  };
2093 
2095  {
2096  struct request_t
2097  {
2098  std::string filename;
2099  std::string password;
2100  std::string language;
2101 
2102  BEGIN_KV_SERIALIZE_MAP()
2103  KV_SERIALIZE(filename)
2104  KV_SERIALIZE(password)
2105  KV_SERIALIZE(language)
2106  END_KV_SERIALIZE_MAP()
2107  };
2108  typedef epee::misc_utils::struct_init<request_t> request;
2109 
2110  struct response_t
2111  {
2112  BEGIN_KV_SERIALIZE_MAP()
2113  END_KV_SERIALIZE_MAP()
2114  };
2115  typedef epee::misc_utils::struct_init<response_t> response;
2116  };
2117 
2119  {
2120  struct request_t
2121  {
2122  std::string filename;
2123  std::string password;
2125 
2126  BEGIN_KV_SERIALIZE_MAP()
2127  KV_SERIALIZE(filename)
2128  KV_SERIALIZE(password)
2129  KV_SERIALIZE_OPT(autosave_current, true)
2130  END_KV_SERIALIZE_MAP()
2131  };
2132  typedef epee::misc_utils::struct_init<request_t> request;
2133 
2134  struct response_t
2135  {
2136  BEGIN_KV_SERIALIZE_MAP()
2137  END_KV_SERIALIZE_MAP()
2138  };
2139  typedef epee::misc_utils::struct_init<response_t> response;
2140  };
2141 
2143  {
2144  struct request_t
2145  {
2147 
2148  BEGIN_KV_SERIALIZE_MAP()
2149  KV_SERIALIZE_OPT(autosave_current, true)
2150  END_KV_SERIALIZE_MAP()
2151  };
2152  typedef epee::misc_utils::struct_init<request_t> request;
2153 
2154  struct response_t
2155  {
2156  BEGIN_KV_SERIALIZE_MAP()
2157  END_KV_SERIALIZE_MAP()
2158  };
2159  typedef epee::misc_utils::struct_init<response_t> response;
2160  };
2161 
2163  {
2164  struct request_t
2165  {
2166  std::string old_password;
2167  std::string new_password;
2168 
2169  BEGIN_KV_SERIALIZE_MAP()
2170  KV_SERIALIZE(old_password)
2171  KV_SERIALIZE(new_password)
2172  END_KV_SERIALIZE_MAP()
2173  };
2174  typedef epee::misc_utils::struct_init<request_t> request;
2175 
2176  struct response_t
2177  {
2178  BEGIN_KV_SERIALIZE_MAP()
2179  END_KV_SERIALIZE_MAP()
2180  };
2181  typedef epee::misc_utils::struct_init<response_t> response;
2182  };
2183 
2185  {
2186  struct request
2187  {
2188  uint64_t restore_height;
2189  std::string filename;
2190  std::string address;
2191  std::string spendkey;
2192  std::string viewkey;
2193  std::string password;
2195 
2196  BEGIN_KV_SERIALIZE_MAP()
2197  KV_SERIALIZE_OPT(restore_height, (uint64_t)0)
2198  KV_SERIALIZE(filename)
2199  KV_SERIALIZE(address)
2200  KV_SERIALIZE(spendkey)
2201  KV_SERIALIZE(viewkey)
2202  KV_SERIALIZE(password)
2203  KV_SERIALIZE_OPT(autosave_current, true)
2204  END_KV_SERIALIZE_MAP()
2205  };
2206 
2207  struct response
2208  {
2209  std::string address;
2210  std::string info;
2211 
2212  BEGIN_KV_SERIALIZE_MAP()
2213  KV_SERIALIZE(address)
2214  KV_SERIALIZE(info)
2215  END_KV_SERIALIZE_MAP()
2216  };
2217  };
2218 
2220  {
2221  struct request_t
2222  {
2223  uint64_t restore_height;
2224  std::string filename;
2225  std::string seed;
2226  std::string seed_offset;
2227  std::string password;
2228  std::string language;
2230 
2231  BEGIN_KV_SERIALIZE_MAP()
2232  KV_SERIALIZE_OPT(restore_height, (uint64_t)0)
2233  KV_SERIALIZE(filename)
2234  KV_SERIALIZE(seed)
2235  KV_SERIALIZE(seed_offset)
2236  KV_SERIALIZE(password)
2237  KV_SERIALIZE(language)
2238  KV_SERIALIZE_OPT(autosave_current, true)
2239  END_KV_SERIALIZE_MAP()
2240  };
2241  typedef epee::misc_utils::struct_init<request_t> request;
2242 
2243  struct response_t
2244  {
2245  std::string address;
2246  std::string seed;
2247  std::string info;
2249 
2250  BEGIN_KV_SERIALIZE_MAP()
2251  KV_SERIALIZE(address)
2252  KV_SERIALIZE(seed)
2253  KV_SERIALIZE(info)
2254  KV_SERIALIZE(was_deprecated)
2255  END_KV_SERIALIZE_MAP()
2256  };
2257  typedef epee::misc_utils::struct_init<response_t> response;
2258  };
2259 
2261  {
2262  struct request_t
2263  {
2264  BEGIN_KV_SERIALIZE_MAP()
2265  END_KV_SERIALIZE_MAP()
2266  };
2267  typedef epee::misc_utils::struct_init<request_t> request;
2268 
2269  struct response_t
2270  {
2271  bool multisig;
2272  bool ready;
2273  uint32_t threshold;
2274  uint32_t total;
2275 
2276  BEGIN_KV_SERIALIZE_MAP()
2277  KV_SERIALIZE(multisig)
2278  KV_SERIALIZE(ready)
2279  KV_SERIALIZE(threshold)
2280  KV_SERIALIZE(total)
2281  END_KV_SERIALIZE_MAP()
2282  };
2283  typedef epee::misc_utils::struct_init<response_t> response;
2284  };
2285 
2287  {
2288  struct request_t
2289  {
2290  BEGIN_KV_SERIALIZE_MAP()
2291  END_KV_SERIALIZE_MAP()
2292  };
2293  typedef epee::misc_utils::struct_init<request_t> request;
2294 
2295  struct response_t
2296  {
2297  std::string multisig_info;
2298 
2299  BEGIN_KV_SERIALIZE_MAP()
2300  KV_SERIALIZE(multisig_info)
2301  END_KV_SERIALIZE_MAP()
2302  };
2303  typedef epee::misc_utils::struct_init<response_t> response;
2304  };
2305 
2307  {
2308  struct request_t
2309  {
2310  std::vector<std::string> multisig_info;
2311  uint32_t threshold;
2312  std::string password;
2313 
2314  BEGIN_KV_SERIALIZE_MAP()
2315  KV_SERIALIZE(multisig_info)
2316  KV_SERIALIZE(threshold)
2317  KV_SERIALIZE(password)
2318  END_KV_SERIALIZE_MAP()
2319  };
2320  typedef epee::misc_utils::struct_init<request_t> request;
2321 
2322  struct response_t
2323  {
2324  std::string address;
2325  std::string multisig_info;
2326 
2327  BEGIN_KV_SERIALIZE_MAP()
2328  KV_SERIALIZE(address)
2329  KV_SERIALIZE(multisig_info)
2330  END_KV_SERIALIZE_MAP()
2331  };
2332  typedef epee::misc_utils::struct_init<response_t> response;
2333  };
2334 
2336  {
2337  struct request_t
2338  {
2339  BEGIN_KV_SERIALIZE_MAP()
2340  END_KV_SERIALIZE_MAP()
2341  };
2342  typedef epee::misc_utils::struct_init<request_t> request;
2343 
2344  struct response_t
2345  {
2346  std::string info;
2347 
2348  BEGIN_KV_SERIALIZE_MAP()
2349  KV_SERIALIZE(info)
2350  END_KV_SERIALIZE_MAP()
2351  };
2352  typedef epee::misc_utils::struct_init<response_t> response;
2353  };
2354 
2356  {
2357  struct request_t
2358  {
2359  std::vector<std::string> info;
2360 
2361  BEGIN_KV_SERIALIZE_MAP()
2362  KV_SERIALIZE(info)
2363  END_KV_SERIALIZE_MAP()
2364  };
2365  typedef epee::misc_utils::struct_init<request_t> request;
2366 
2367  struct response_t
2368  {
2369  uint64_t n_outputs;
2370 
2371  BEGIN_KV_SERIALIZE_MAP()
2372  KV_SERIALIZE(n_outputs)
2373  END_KV_SERIALIZE_MAP()
2374  };
2375  typedef epee::misc_utils::struct_init<response_t> response;
2376  };
2377 
2379  {
2380  struct request_t
2381  {
2382  std::string password;
2383  std::vector<std::string> multisig_info;
2384 
2385  BEGIN_KV_SERIALIZE_MAP()
2386  KV_SERIALIZE(password)
2387  KV_SERIALIZE(multisig_info)
2388  END_KV_SERIALIZE_MAP()
2389  };
2390  typedef epee::misc_utils::struct_init<request_t> request;
2391 
2392  struct response_t
2393  {
2394  std::string address;
2395 
2396  BEGIN_KV_SERIALIZE_MAP()
2397  KV_SERIALIZE(address)
2398  END_KV_SERIALIZE_MAP()
2399  };
2400  typedef epee::misc_utils::struct_init<response_t> response;
2401  };
2402 
2404  {
2405  struct request_t
2406  {
2407  std::string password;
2408  std::vector<std::string> multisig_info;
2409 
2410  BEGIN_KV_SERIALIZE_MAP()
2411  KV_SERIALIZE(password)
2412  KV_SERIALIZE(multisig_info)
2413  END_KV_SERIALIZE_MAP()
2414  };
2415  typedef epee::misc_utils::struct_init<request_t> request;
2416 
2417  struct response_t
2418  {
2419  std::string address;
2420  std::string multisig_info;
2421 
2422  BEGIN_KV_SERIALIZE_MAP()
2423  KV_SERIALIZE(address)
2424  KV_SERIALIZE(multisig_info)
2425  END_KV_SERIALIZE_MAP()
2426  };
2427  typedef epee::misc_utils::struct_init<response_t> response;
2428  };
2429 
2431  {
2432  struct request_t
2433  {
2434  std::string tx_data_hex;
2435 
2436  BEGIN_KV_SERIALIZE_MAP()
2437  KV_SERIALIZE(tx_data_hex)
2438  END_KV_SERIALIZE_MAP()
2439  };
2440  typedef epee::misc_utils::struct_init<request_t> request;
2441 
2442  struct response_t
2443  {
2444  std::string tx_data_hex;
2445  std::list<std::string> tx_hash_list;
2446 
2447  BEGIN_KV_SERIALIZE_MAP()
2448  KV_SERIALIZE(tx_data_hex)
2449  KV_SERIALIZE(tx_hash_list)
2450  END_KV_SERIALIZE_MAP()
2451  };
2452  typedef epee::misc_utils::struct_init<response_t> response;
2453  };
2454 
2456  {
2457  struct request_t
2458  {
2459  std::string tx_data_hex;
2460 
2461  BEGIN_KV_SERIALIZE_MAP()
2462  KV_SERIALIZE(tx_data_hex)
2463  END_KV_SERIALIZE_MAP()
2464  };
2465  typedef epee::misc_utils::struct_init<request_t> request;
2466 
2467  struct response_t
2468  {
2469  std::list<std::string> tx_hash_list;
2470 
2471  BEGIN_KV_SERIALIZE_MAP()
2472  KV_SERIALIZE(tx_hash_list)
2473  END_KV_SERIALIZE_MAP()
2474  };
2475  typedef epee::misc_utils::struct_init<response_t> response;
2476  };
2477 
2479  {
2480  struct request_t
2481  {
2482  BEGIN_KV_SERIALIZE_MAP()
2483  END_KV_SERIALIZE_MAP()
2484  };
2485  typedef epee::misc_utils::struct_init<request_t> request;
2486 
2487  struct response_t
2488  {
2489  uint32_t version;
2490  bool release;
2491 
2492  BEGIN_KV_SERIALIZE_MAP()
2493  KV_SERIALIZE(version)
2494  KV_SERIALIZE(release)
2495  END_KV_SERIALIZE_MAP()
2496  };
2497  typedef epee::misc_utils::struct_init<response_t> response;
2498  };
2499 
2501  {
2502  struct request_t
2503  {
2504  std::string address;
2507 
2508  BEGIN_KV_SERIALIZE_MAP()
2509  KV_SERIALIZE(address)
2510  KV_SERIALIZE_OPT(any_net_type, false)
2511  KV_SERIALIZE_OPT(allow_openalias, false)
2512  END_KV_SERIALIZE_MAP()
2513  };
2514  typedef epee::misc_utils::struct_init<request_t> request;
2515 
2516  struct response_t
2517  {
2518  bool valid;
2521  std::string nettype;
2522  std::string openalias_address;
2523 
2524  BEGIN_KV_SERIALIZE_MAP()
2525  KV_SERIALIZE(valid)
2526  KV_SERIALIZE(integrated)
2527  KV_SERIALIZE(subaddress)
2528  KV_SERIALIZE(nettype)
2529  KV_SERIALIZE(openalias_address)
2530  END_KV_SERIALIZE_MAP()
2531  };
2532  typedef epee::misc_utils::struct_init<response_t> response;
2533  };
2534 
2536  {
2537  struct request_t
2538  {
2539  std::string address;
2540  bool trusted;
2541  std::string ssl_support; // disabled, enabled, autodetect
2544  std::string ssl_ca_file;
2545  std::vector<std::string> ssl_allowed_fingerprints;
2547 
2548  BEGIN_KV_SERIALIZE_MAP()
2549  KV_SERIALIZE(address)
2550  KV_SERIALIZE_OPT(trusted, false)
2551  KV_SERIALIZE_OPT(ssl_support, (std::string)"autodetect")
2552  KV_SERIALIZE(ssl_private_key_path)
2553  KV_SERIALIZE(ssl_certificate_path)
2554  KV_SERIALIZE(ssl_ca_file)
2555  KV_SERIALIZE(ssl_allowed_fingerprints)
2556  KV_SERIALIZE_OPT(ssl_allow_any_cert, false)
2557  END_KV_SERIALIZE_MAP()
2558  };
2559  typedef epee::misc_utils::struct_init<request_t> request;
2560 
2561  struct response_t
2562  {
2563  BEGIN_KV_SERIALIZE_MAP()
2564  END_KV_SERIALIZE_MAP()
2565  };
2566  typedef epee::misc_utils::struct_init<response_t> response;
2567  };
2568 
2570  {
2571  struct request_t
2572  {
2573  int8_t level;
2574 
2575  BEGIN_KV_SERIALIZE_MAP()
2576  KV_SERIALIZE(level)
2577  END_KV_SERIALIZE_MAP()
2578  };
2579  typedef epee::misc_utils::struct_init<request_t> request;
2580 
2581  struct response_t
2582  {
2583  BEGIN_KV_SERIALIZE_MAP()
2584  END_KV_SERIALIZE_MAP()
2585  };
2586  typedef epee::misc_utils::struct_init<response_t> response;
2587  };
2588 
2590  {
2591  struct request_t
2592  {
2593  std::string categories;
2594 
2595  BEGIN_KV_SERIALIZE_MAP()
2596  KV_SERIALIZE(categories)
2597  END_KV_SERIALIZE_MAP()
2598  };
2599  typedef epee::misc_utils::struct_init<request_t> request;
2600 
2601  struct response_t
2602  {
2603  std::string categories;
2604 
2605  BEGIN_KV_SERIALIZE_MAP()
2606  KV_SERIALIZE(categories)
2607  END_KV_SERIALIZE_MAP()
2608  };
2609  typedef epee::misc_utils::struct_init<response_t> response;
2610  };
2611 
2613  {
2614  struct request_t
2615  {
2616  uint32_t n_inputs;
2617  uint32_t n_outputs;
2618  uint32_t ring_size;
2619  bool rct;
2620 
2621  BEGIN_KV_SERIALIZE_MAP()
2622  KV_SERIALIZE(n_inputs)
2623  KV_SERIALIZE(n_outputs)
2624  KV_SERIALIZE_OPT(ring_size, 0u)
2626  END_KV_SERIALIZE_MAP()
2627  };
2628  typedef epee::misc_utils::struct_init<request_t> request;
2629 
2630  struct response_t
2631  {
2632  uint64_t size;
2633  uint64_t weight;
2634 
2635  BEGIN_KV_SERIALIZE_MAP()
2636  KV_SERIALIZE(size)
2637  KV_SERIALIZE(weight)
2638  END_KV_SERIALIZE_MAP()
2639  };
2640  typedef epee::misc_utils::struct_init<response_t> response;
2641  };
2642 
2643 }
2644 }
#define CRYPTONOTE_MAX_BLOCK_NUMBER
Definition: cryptonote_config.h:39
POD_CLASS signature
Definition: crypto.h:93
POD_CLASS key_image
Definition: crypto.h:87
std::string hex(difficulty_type v)
Definition: difficulty.cpp:242
Definition: cryptonote_format_utils.h:44
std::shared_ptr< messages::monero::MoneroGetTxKeyRequest > get_tx_key(const hw::device_cold::tx_key_data_t &tx_data)
Definition: protocol.cpp:1098
mdb_size_t count(MDB_cursor *cur)
Definition: value_stream.cpp:39
version
Supported socks variants.
Definition: socks.h:58
Definition: bulletproofs.cc:64
Definition: blockchain_ancestry.cpp:72
std::vector< uint64_t > amounts_container
Definition: wallet_rpc_server_commands_defs.h:1379
Various Tools.
Definition: apply_permutation.h:40
CXA_THROW_INFO_T * info
Definition: stack_trace.cpp:90
#define true
Definition: stdbool.h:36
#define false
Definition: stdbool.h:37
Definition: subaddress_index.h:39
Definition: wallet_rpc_server_commands_defs.h:1861
std::string description
Definition: wallet_rpc_server_commands_defs.h:1863
std::string address
Definition: wallet_rpc_server_commands_defs.h:1862
Definition: wallet_rpc_server_commands_defs.h:1873
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:1874
Definition: wallet_rpc_server_commands_defs.h:1859
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1880
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1870
Definition: wallet_rpc_server_commands_defs.h:2012
bool enable
Definition: wallet_rpc_server_commands_defs.h:2013
uint32_t period
Definition: wallet_rpc_server_commands_defs.h:2014
Definition: wallet_rpc_server_commands_defs.h:2024
Definition: wallet_rpc_server_commands_defs.h:2010
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2021
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2028
Definition: wallet_rpc_server_commands_defs.h:2165
std::string old_password
Definition: wallet_rpc_server_commands_defs.h:2166
std::string new_password
Definition: wallet_rpc_server_commands_defs.h:2167
Definition: wallet_rpc_server_commands_defs.h:2177
Definition: wallet_rpc_server_commands_defs.h:2163
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2174
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2181
Definition: wallet_rpc_server_commands_defs.h:1507
std::string address
Definition: wallet_rpc_server_commands_defs.h:1508
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1510
std::string message
Definition: wallet_rpc_server_commands_defs.h:1509
Definition: wallet_rpc_server_commands_defs.h:1521
uint64_t spent
Definition: wallet_rpc_server_commands_defs.h:1524
bool good
Definition: wallet_rpc_server_commands_defs.h:1522
uint64_t total
Definition: wallet_rpc_server_commands_defs.h:1523
Definition: wallet_rpc_server_commands_defs.h:1505
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1532
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1518
Definition: wallet_rpc_server_commands_defs.h:1451
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1454
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1452
std::string message
Definition: wallet_rpc_server_commands_defs.h:1453
Definition: wallet_rpc_server_commands_defs.h:1465
bool good
Definition: wallet_rpc_server_commands_defs.h:1466
Definition: wallet_rpc_server_commands_defs.h:1449
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1462
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1472
Definition: wallet_rpc_server_commands_defs.h:1289
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1290
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:1291
std::string address
Definition: wallet_rpc_server_commands_defs.h:1292
Definition: wallet_rpc_server_commands_defs.h:1303
bool in_pool
Definition: wallet_rpc_server_commands_defs.h:1305
uint64_t confirmations
Definition: wallet_rpc_server_commands_defs.h:1306
uint64_t received
Definition: wallet_rpc_server_commands_defs.h:1304
Definition: wallet_rpc_server_commands_defs.h:1287
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1314
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1300
Definition: wallet_rpc_server_commands_defs.h:1347
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1351
std::string message
Definition: wallet_rpc_server_commands_defs.h:1350
std::string address
Definition: wallet_rpc_server_commands_defs.h:1349
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1348
Definition: wallet_rpc_server_commands_defs.h:1363
bool in_pool
Definition: wallet_rpc_server_commands_defs.h:1366
uint64_t confirmations
Definition: wallet_rpc_server_commands_defs.h:1367
uint64_t received
Definition: wallet_rpc_server_commands_defs.h:1365
bool good
Definition: wallet_rpc_server_commands_defs.h:1364
Definition: wallet_rpc_server_commands_defs.h:1345
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1360
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1376
Definition: wallet_rpc_server_commands_defs.h:2145
bool autosave_current
Definition: wallet_rpc_server_commands_defs.h:2146
Definition: wallet_rpc_server_commands_defs.h:2155
Definition: wallet_rpc_server_commands_defs.h:2143
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2159
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2152
Definition: wallet_rpc_server_commands_defs.h:291
std::string label
Definition: wallet_rpc_server_commands_defs.h:292
Definition: wallet_rpc_server_commands_defs.h:300
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:301
std::string address
Definition: wallet_rpc_server_commands_defs.h:302
Definition: wallet_rpc_server_commands_defs.h:289
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:308
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:297
Definition: wallet_rpc_server_commands_defs.h:188
uint32_t count
Definition: wallet_rpc_server_commands_defs.h:190
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:189
std::string label
Definition: wallet_rpc_server_commands_defs.h:191
Definition: wallet_rpc_server_commands_defs.h:202
uint32_t address_index
Definition: wallet_rpc_server_commands_defs.h:204
std::vector< uint32_t > address_indices
Definition: wallet_rpc_server_commands_defs.h:206
std::vector< std::string > addresses
Definition: wallet_rpc_server_commands_defs.h:205
std::string address
Definition: wallet_rpc_server_commands_defs.h:203
Definition: wallet_rpc_server_commands_defs.h:186
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:199
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:215
Definition: wallet_rpc_server_commands_defs.h:2097
std::string password
Definition: wallet_rpc_server_commands_defs.h:2099
std::string language
Definition: wallet_rpc_server_commands_defs.h:2100
std::string filename
Definition: wallet_rpc_server_commands_defs.h:2098
Definition: wallet_rpc_server_commands_defs.h:2111
Definition: wallet_rpc_server_commands_defs.h:2095
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2115
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2108
Definition: wallet_rpc_server_commands_defs.h:1950
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:1951
Definition: wallet_rpc_server_commands_defs.h:1960
Definition: wallet_rpc_server_commands_defs.h:1948
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1957
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1964
Definition: wallet_rpc_server_commands_defs.h:589
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:591
std::string address
Definition: wallet_rpc_server_commands_defs.h:590
Definition: wallet_rpc_server_commands_defs.h:629
std::string multisig_txset
Definition: wallet_rpc_server_commands_defs.h:631
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:630
Definition: wallet_rpc_server_commands_defs.h:641
std::list< transfer_description > desc
Definition: wallet_rpc_server_commands_defs.h:642
Definition: wallet_rpc_server_commands_defs.h:600
uint32_t dummy_outputs
Definition: wallet_rpc_server_commands_defs.h:610
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:604
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:609
uint64_t amount_in
Definition: wallet_rpc_server_commands_defs.h:601
uint64_t change_amount
Definition: wallet_rpc_server_commands_defs.h:607
std::list< recipient > recipients
Definition: wallet_rpc_server_commands_defs.h:605
uint32_t ring_size
Definition: wallet_rpc_server_commands_defs.h:603
std::string change_address
Definition: wallet_rpc_server_commands_defs.h:608
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:606
std::string extra
Definition: wallet_rpc_server_commands_defs.h:611
uint64_t amount_out
Definition: wallet_rpc_server_commands_defs.h:602
Definition: wallet_rpc_server_commands_defs.h:587
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:638
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:648
Definition: wallet_rpc_server_commands_defs.h:1886
bool set_description
Definition: wallet_rpc_server_commands_defs.h:1890
bool set_address
Definition: wallet_rpc_server_commands_defs.h:1888
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:1887
std::string address
Definition: wallet_rpc_server_commands_defs.h:1889
std::string description
Definition: wallet_rpc_server_commands_defs.h:1891
Definition: wallet_rpc_server_commands_defs.h:1904
Definition: wallet_rpc_server_commands_defs.h:1884
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1908
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1901
Definition: wallet_rpc_server_commands_defs.h:2615
uint32_t n_outputs
Definition: wallet_rpc_server_commands_defs.h:2617
bool rct
Definition: wallet_rpc_server_commands_defs.h:2619
uint32_t n_inputs
Definition: wallet_rpc_server_commands_defs.h:2616
uint32_t ring_size
Definition: wallet_rpc_server_commands_defs.h:2618
Definition: wallet_rpc_server_commands_defs.h:2631
uint64_t size
Definition: wallet_rpc_server_commands_defs.h:2632
uint64_t weight
Definition: wallet_rpc_server_commands_defs.h:2633
Definition: wallet_rpc_server_commands_defs.h:2613
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2628
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2640
Definition: wallet_rpc_server_commands_defs.h:2406
std::string password
Definition: wallet_rpc_server_commands_defs.h:2407
std::vector< std::string > multisig_info
Definition: wallet_rpc_server_commands_defs.h:2408
Definition: wallet_rpc_server_commands_defs.h:2418
std::string multisig_info
Definition: wallet_rpc_server_commands_defs.h:2420
std::string address
Definition: wallet_rpc_server_commands_defs.h:2419
Definition: wallet_rpc_server_commands_defs.h:2404
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2427
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2415
Definition: wallet_rpc_server_commands_defs.h:1725
bool all
Definition: wallet_rpc_server_commands_defs.h:1726
Definition: wallet_rpc_server_commands_defs.h:1746
uint32_t offset
Definition: wallet_rpc_server_commands_defs.h:1747
std::vector< signed_key_image > signed_key_images
Definition: wallet_rpc_server_commands_defs.h:1748
Definition: wallet_rpc_server_commands_defs.h:1735
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1737
std::string key_image
Definition: wallet_rpc_server_commands_defs.h:1736
Definition: wallet_rpc_server_commands_defs.h:1723
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1755
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1732
Definition: wallet_rpc_server_commands_defs.h:2338
Definition: wallet_rpc_server_commands_defs.h:2345
std::string info
Definition: wallet_rpc_server_commands_defs.h:2346
Definition: wallet_rpc_server_commands_defs.h:2336
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2352
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2342
Definition: wallet_rpc_server_commands_defs.h:1679
bool all
Definition: wallet_rpc_server_commands_defs.h:1680
Definition: wallet_rpc_server_commands_defs.h:1689
std::string outputs_data_hex
Definition: wallet_rpc_server_commands_defs.h:1690
Definition: wallet_rpc_server_commands_defs.h:1677
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1686
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1696
Definition: wallet_rpc_server_commands_defs.h:2381
std::vector< std::string > multisig_info
Definition: wallet_rpc_server_commands_defs.h:2383
std::string password
Definition: wallet_rpc_server_commands_defs.h:2382
Definition: wallet_rpc_server_commands_defs.h:2393
std::string address
Definition: wallet_rpc_server_commands_defs.h:2394
Definition: wallet_rpc_server_commands_defs.h:2379
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2400
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2390
Definition: wallet_rpc_server_commands_defs.h:2187
std::string password
Definition: wallet_rpc_server_commands_defs.h:2193
std::string address
Definition: wallet_rpc_server_commands_defs.h:2190
std::string spendkey
Definition: wallet_rpc_server_commands_defs.h:2191
std::string viewkey
Definition: wallet_rpc_server_commands_defs.h:2192
uint64_t restore_height
Definition: wallet_rpc_server_commands_defs.h:2188
bool autosave_current
Definition: wallet_rpc_server_commands_defs.h:2194
std::string filename
Definition: wallet_rpc_server_commands_defs.h:2189
Definition: wallet_rpc_server_commands_defs.h:2208
std::string info
Definition: wallet_rpc_server_commands_defs.h:2210
std::string address
Definition: wallet_rpc_server_commands_defs.h:2209
Definition: wallet_rpc_server_commands_defs.h:2185
Definition: wallet_rpc_server_commands_defs.h:243
std::string tag
Definition: wallet_rpc_server_commands_defs.h:244
bool strict_balances
Definition: wallet_rpc_server_commands_defs.h:245
Definition: wallet_rpc_server_commands_defs.h:274
uint64_t total_balance
Definition: wallet_rpc_server_commands_defs.h:275
std::vector< subaddress_account_info > subaddress_accounts
Definition: wallet_rpc_server_commands_defs.h:277
uint64_t total_unlocked_balance
Definition: wallet_rpc_server_commands_defs.h:276
Definition: wallet_rpc_server_commands_defs.h:255
std::string label
Definition: wallet_rpc_server_commands_defs.h:260
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:256
uint64_t balance
Definition: wallet_rpc_server_commands_defs.h:258
uint64_t unlocked_balance
Definition: wallet_rpc_server_commands_defs.h:259
std::string tag
Definition: wallet_rpc_server_commands_defs.h:261
std::string base_address
Definition: wallet_rpc_server_commands_defs.h:257
Definition: wallet_rpc_server_commands_defs.h:241
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:252
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:285
Definition: wallet_rpc_server_commands_defs.h:343
std::vector< uint32_t > accounts
Definition: wallet_rpc_server_commands_defs.h:346
std::string label
Definition: wallet_rpc_server_commands_defs.h:345
std::string tag
Definition: wallet_rpc_server_commands_defs.h:344
Definition: wallet_rpc_server_commands_defs.h:336
Definition: wallet_rpc_server_commands_defs.h:356
std::vector< account_tag_info > account_tags
Definition: wallet_rpc_server_commands_defs.h:357
Definition: wallet_rpc_server_commands_defs.h:334
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:363
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:340
Definition: wallet_rpc_server_commands_defs.h:137
bool used
Definition: wallet_rpc_server_commands_defs.h:141
std::string label
Definition: wallet_rpc_server_commands_defs.h:139
uint32_t address_index
Definition: wallet_rpc_server_commands_defs.h:140
std::string address
Definition: wallet_rpc_server_commands_defs.h:138
Definition: wallet_rpc_server_commands_defs.h:126
std::vector< uint32_t > address_index
Definition: wallet_rpc_server_commands_defs.h:128
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:127
Definition: wallet_rpc_server_commands_defs.h:152
std::vector< address_info > addresses
Definition: wallet_rpc_server_commands_defs.h:154
std::string address
Definition: wallet_rpc_server_commands_defs.h:153
Definition: wallet_rpc_server_commands_defs.h:1924
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:1925
std::string description
Definition: wallet_rpc_server_commands_defs.h:1927
std::string address
Definition: wallet_rpc_server_commands_defs.h:1926
Definition: wallet_rpc_server_commands_defs.h:1914
std::list< uint64_t > entries
Definition: wallet_rpc_server_commands_defs.h:1915
Definition: wallet_rpc_server_commands_defs.h:1937
std::vector< entry > entries
Definition: wallet_rpc_server_commands_defs.h:1938
Definition: wallet_rpc_server_commands_defs.h:1912
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1921
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1944
Definition: wallet_rpc_server_commands_defs.h:167
std::string address
Definition: wallet_rpc_server_commands_defs.h:168
Definition: wallet_rpc_server_commands_defs.h:176
cryptonote::subaddress_index index
Definition: wallet_rpc_server_commands_defs.h:177
Definition: wallet_rpc_server_commands_defs.h:165
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:182
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:173
Definition: wallet_rpc_server_commands_defs.h:124
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:134
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:161
Definition: wallet_rpc_server_commands_defs.h:1242
std::string key
Definition: wallet_rpc_server_commands_defs.h:1244
Definition: wallet_rpc_server_commands_defs.h:1253
std::string value
Definition: wallet_rpc_server_commands_defs.h:1254
Definition: wallet_rpc_server_commands_defs.h:1240
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1250
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1260
Definition: wallet_rpc_server_commands_defs.h:78
uint32_t address_index
Definition: wallet_rpc_server_commands_defs.h:80
std::string label
Definition: wallet_rpc_server_commands_defs.h:84
uint64_t balance
Definition: wallet_rpc_server_commands_defs.h:82
uint64_t blocks_to_unlock
Definition: wallet_rpc_server_commands_defs.h:86
std::string address
Definition: wallet_rpc_server_commands_defs.h:81
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:79
uint64_t time_to_unlock
Definition: wallet_rpc_server_commands_defs.h:87
uint64_t num_unspent_outputs
Definition: wallet_rpc_server_commands_defs.h:85
uint64_t unlocked_balance
Definition: wallet_rpc_server_commands_defs.h:83
Definition: wallet_rpc_server_commands_defs.h:63
std::set< uint32_t > address_indices
Definition: wallet_rpc_server_commands_defs.h:65
bool strict
Definition: wallet_rpc_server_commands_defs.h:67
bool all_accounts
Definition: wallet_rpc_server_commands_defs.h:66
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:64
Definition: wallet_rpc_server_commands_defs.h:103
uint64_t blocks_to_unlock
Definition: wallet_rpc_server_commands_defs.h:108
uint64_t time_to_unlock
Definition: wallet_rpc_server_commands_defs.h:109
bool multisig_import_needed
Definition: wallet_rpc_server_commands_defs.h:106
std::vector< per_subaddress_info > per_subaddress
Definition: wallet_rpc_server_commands_defs.h:107
uint64_t unlocked_balance
Definition: wallet_rpc_server_commands_defs.h:105
uint64_t balance
Definition: wallet_rpc_server_commands_defs.h:104
Definition: wallet_rpc_server_commands_defs.h:61
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:120
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:75
Definition: wallet_rpc_server_commands_defs.h:983
std::vector< std::string > payment_ids
Definition: wallet_rpc_server_commands_defs.h:984
uint64_t min_block_height
Definition: wallet_rpc_server_commands_defs.h:985
Definition: wallet_rpc_server_commands_defs.h:995
std::list< payment_details > payments
Definition: wallet_rpc_server_commands_defs.h:996
Definition: wallet_rpc_server_commands_defs.h:981
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:992
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1002
Definition: wallet_rpc_server_commands_defs.h:433
Definition: wallet_rpc_server_commands_defs.h:440
uint64_t height
Definition: wallet_rpc_server_commands_defs.h:441
Definition: wallet_rpc_server_commands_defs.h:431
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:437
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:446
Definition: wallet_rpc_server_commands_defs.h:2075
Definition: wallet_rpc_server_commands_defs.h:2082
std::vector< std::string > languages_local
Definition: wallet_rpc_server_commands_defs.h:2084
std::vector< std::string > languages
Definition: wallet_rpc_server_commands_defs.h:2083
Definition: wallet_rpc_server_commands_defs.h:2073
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2079
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2091
Definition: wallet_rpc_server_commands_defs.h:960
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:961
Definition: wallet_rpc_server_commands_defs.h:970
std::list< payment_details > payments
Definition: wallet_rpc_server_commands_defs.h:971
Definition: wallet_rpc_server_commands_defs.h:958
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:967
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:977
Definition: wallet_rpc_server_commands_defs.h:1478
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:1480
bool all
Definition: wallet_rpc_server_commands_defs.h:1479
std::string message
Definition: wallet_rpc_server_commands_defs.h:1482
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:1481
Definition: wallet_rpc_server_commands_defs.h:1494
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1495
Definition: wallet_rpc_server_commands_defs.h:1476
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1501
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1491
Definition: wallet_rpc_server_commands_defs.h:1426
std::string message
Definition: wallet_rpc_server_commands_defs.h:1428
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1427
Definition: wallet_rpc_server_commands_defs.h:1438
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1439
Definition: wallet_rpc_server_commands_defs.h:1424
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1445
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1435
Definition: wallet_rpc_server_commands_defs.h:1538
uint64_t max_height
Definition: wallet_rpc_server_commands_defs.h:1547
bool in
Definition: wallet_rpc_server_commands_defs.h:1539
bool all_accounts
Definition: wallet_rpc_server_commands_defs.h:1550
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:1548
bool pending
Definition: wallet_rpc_server_commands_defs.h:1541
bool out
Definition: wallet_rpc_server_commands_defs.h:1540
bool failed
Definition: wallet_rpc_server_commands_defs.h:1542
bool filter_by_height
Definition: wallet_rpc_server_commands_defs.h:1545
std::set< uint32_t > subaddr_indices
Definition: wallet_rpc_server_commands_defs.h:1549
uint64_t min_height
Definition: wallet_rpc_server_commands_defs.h:1546
bool pool
Definition: wallet_rpc_server_commands_defs.h:1543
Definition: wallet_rpc_server_commands_defs.h:1569
std::list< transfer_entry > in
Definition: wallet_rpc_server_commands_defs.h:1570
std::list< transfer_entry > failed
Definition: wallet_rpc_server_commands_defs.h:1573
std::list< transfer_entry > pool
Definition: wallet_rpc_server_commands_defs.h:1574
std::list< transfer_entry > out
Definition: wallet_rpc_server_commands_defs.h:1571
std::list< transfer_entry > pending
Definition: wallet_rpc_server_commands_defs.h:1572
Definition: wallet_rpc_server_commands_defs.h:1536
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1566
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1584
Definition: wallet_rpc_server_commands_defs.h:1590
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:1592
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1591
Definition: wallet_rpc_server_commands_defs.h:1602
std::list< transfer_entry > transfers
Definition: wallet_rpc_server_commands_defs.h:1604
transfer_entry transfer
Definition: wallet_rpc_server_commands_defs.h:1603
Definition: wallet_rpc_server_commands_defs.h:1588
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1599
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1611
Definition: wallet_rpc_server_commands_defs.h:1266
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1267
Definition: wallet_rpc_server_commands_defs.h:1276
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:1277
Definition: wallet_rpc_server_commands_defs.h:1264
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1283
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1273
Definition: wallet_rpc_server_commands_defs.h:1197
std::list< std::string > txids
Definition: wallet_rpc_server_commands_defs.h:1198
Definition: wallet_rpc_server_commands_defs.h:1207
std::list< std::string > notes
Definition: wallet_rpc_server_commands_defs.h:1208
Definition: wallet_rpc_server_commands_defs.h:1195
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1214
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1204
Definition: wallet_rpc_server_commands_defs.h:1320
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1321
std::string address
Definition: wallet_rpc_server_commands_defs.h:1322
std::string message
Definition: wallet_rpc_server_commands_defs.h:1323
Definition: wallet_rpc_server_commands_defs.h:1334
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1335
Definition: wallet_rpc_server_commands_defs.h:1318
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1331
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1341
Definition: wallet_rpc_server_commands_defs.h:2481
Definition: wallet_rpc_server_commands_defs.h:2488
uint32_t version
Definition: wallet_rpc_server_commands_defs.h:2489
bool release
Definition: wallet_rpc_server_commands_defs.h:2490
Definition: wallet_rpc_server_commands_defs.h:2479
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2485
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2497
Definition: wallet_rpc_server_commands_defs.h:1772
std::vector< signed_key_image > signed_key_images
Definition: wallet_rpc_server_commands_defs.h:1774
uint32_t offset
Definition: wallet_rpc_server_commands_defs.h:1773
Definition: wallet_rpc_server_commands_defs.h:1784
uint64_t unspent
Definition: wallet_rpc_server_commands_defs.h:1787
uint64_t spent
Definition: wallet_rpc_server_commands_defs.h:1786
uint64_t height
Definition: wallet_rpc_server_commands_defs.h:1785
Definition: wallet_rpc_server_commands_defs.h:1761
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1763
std::string key_image
Definition: wallet_rpc_server_commands_defs.h:1762
Definition: wallet_rpc_server_commands_defs.h:1759
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1795
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1781
Definition: wallet_rpc_server_commands_defs.h:2358
std::vector< std::string > info
Definition: wallet_rpc_server_commands_defs.h:2359
Definition: wallet_rpc_server_commands_defs.h:2368
uint64_t n_outputs
Definition: wallet_rpc_server_commands_defs.h:2369
Definition: wallet_rpc_server_commands_defs.h:2356
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2365
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2375
Definition: wallet_rpc_server_commands_defs.h:1702
std::string outputs_data_hex
Definition: wallet_rpc_server_commands_defs.h:1703
Definition: wallet_rpc_server_commands_defs.h:1712
uint64_t num_imported
Definition: wallet_rpc_server_commands_defs.h:1713
Definition: wallet_rpc_server_commands_defs.h:1700
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1719
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1709
Definition: wallet_rpc_server_commands_defs.h:1033
std::string transfer_type
Definition: wallet_rpc_server_commands_defs.h:1034
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:1035
std::set< uint32_t > subaddr_indices
Definition: wallet_rpc_server_commands_defs.h:1036
Definition: wallet_rpc_server_commands_defs.h:1047
std::list< transfer_details > transfers
Definition: wallet_rpc_server_commands_defs.h:1048
Definition: wallet_rpc_server_commands_defs.h:1031
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1044
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1054
Definition: wallet_rpc_server_commands_defs.h:2263
Definition: wallet_rpc_server_commands_defs.h:2270
uint32_t total
Definition: wallet_rpc_server_commands_defs.h:2274
uint32_t threshold
Definition: wallet_rpc_server_commands_defs.h:2273
bool ready
Definition: wallet_rpc_server_commands_defs.h:2272
bool multisig
Definition: wallet_rpc_server_commands_defs.h:2271
Definition: wallet_rpc_server_commands_defs.h:2261
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2283
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2267
Definition: wallet_rpc_server_commands_defs.h:314
std::string label
Definition: wallet_rpc_server_commands_defs.h:316
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:315
Definition: wallet_rpc_server_commands_defs.h:326
Definition: wallet_rpc_server_commands_defs.h:312
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:323
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:330
Definition: wallet_rpc_server_commands_defs.h:221
std::string label
Definition: wallet_rpc_server_commands_defs.h:223
cryptonote::subaddress_index index
Definition: wallet_rpc_server_commands_defs.h:222
Definition: wallet_rpc_server_commands_defs.h:233
Definition: wallet_rpc_server_commands_defs.h:219
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:237
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:230
Definition: wallet_rpc_server_commands_defs.h:1084
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:1086
std::string standard_address
Definition: wallet_rpc_server_commands_defs.h:1085
Definition: wallet_rpc_server_commands_defs.h:1096
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:1098
std::string integrated_address
Definition: wallet_rpc_server_commands_defs.h:1097
Definition: wallet_rpc_server_commands_defs.h:1082
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1093
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1105
Definition: wallet_rpc_server_commands_defs.h:2309
std::string password
Definition: wallet_rpc_server_commands_defs.h:2312
std::vector< std::string > multisig_info
Definition: wallet_rpc_server_commands_defs.h:2310
uint32_t threshold
Definition: wallet_rpc_server_commands_defs.h:2311
Definition: wallet_rpc_server_commands_defs.h:2323
std::string multisig_info
Definition: wallet_rpc_server_commands_defs.h:2325
std::string address
Definition: wallet_rpc_server_commands_defs.h:2324
Definition: wallet_rpc_server_commands_defs.h:2307
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2332
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2320
Definition: wallet_rpc_server_commands_defs.h:1818
Definition: wallet_rpc_server_commands_defs.h:1823
std::string uri
Definition: wallet_rpc_server_commands_defs.h:1824
Definition: wallet_rpc_server_commands_defs.h:1816
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1820
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1830
Definition: wallet_rpc_server_commands_defs.h:2121
bool autosave_current
Definition: wallet_rpc_server_commands_defs.h:2124
std::string filename
Definition: wallet_rpc_server_commands_defs.h:2122
std::string password
Definition: wallet_rpc_server_commands_defs.h:2123
Definition: wallet_rpc_server_commands_defs.h:2135
Definition: wallet_rpc_server_commands_defs.h:2119
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2132
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2139
Definition: wallet_rpc_server_commands_defs.h:1836
std::string uri
Definition: wallet_rpc_server_commands_defs.h:1837
Definition: wallet_rpc_server_commands_defs.h:1846
uri_spec uri
Definition: wallet_rpc_server_commands_defs.h:1847
std::vector< std::string > unknown_parameters
Definition: wallet_rpc_server_commands_defs.h:1848
Definition: wallet_rpc_server_commands_defs.h:1834
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1843
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1855
Definition: wallet_rpc_server_commands_defs.h:2289
Definition: wallet_rpc_server_commands_defs.h:2296
std::string multisig_info
Definition: wallet_rpc_server_commands_defs.h:2297
Definition: wallet_rpc_server_commands_defs.h:2287
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2293
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2303
Definition: wallet_rpc_server_commands_defs.h:1061
std::string key_type
Definition: wallet_rpc_server_commands_defs.h:1062
Definition: wallet_rpc_server_commands_defs.h:1071
std::string key
Definition: wallet_rpc_server_commands_defs.h:1072
Definition: wallet_rpc_server_commands_defs.h:1059
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1068
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1078
Definition: wallet_rpc_server_commands_defs.h:1987
uint64_t start_height
Definition: wallet_rpc_server_commands_defs.h:1988
Definition: wallet_rpc_server_commands_defs.h:1997
uint64_t blocks_fetched
Definition: wallet_rpc_server_commands_defs.h:1998
bool received_money
Definition: wallet_rpc_server_commands_defs.h:1999
Definition: wallet_rpc_server_commands_defs.h:1985
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2006
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1994
Definition: wallet_rpc_server_commands_defs.h:897
std::string hex
Definition: wallet_rpc_server_commands_defs.h:898
Definition: wallet_rpc_server_commands_defs.h:907
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:908
Definition: wallet_rpc_server_commands_defs.h:895
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:914
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:904
Definition: wallet_rpc_server_commands_defs.h:1155
bool hard
Definition: wallet_rpc_server_commands_defs.h:1156
Definition: wallet_rpc_server_commands_defs.h:1165
Definition: wallet_rpc_server_commands_defs.h:1153
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1162
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1169
Definition: wallet_rpc_server_commands_defs.h:1970
Definition: wallet_rpc_server_commands_defs.h:1977
Definition: wallet_rpc_server_commands_defs.h:1968
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1974
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1981
Definition: wallet_rpc_server_commands_defs.h:2222
std::string seed
Definition: wallet_rpc_server_commands_defs.h:2225
std::string password
Definition: wallet_rpc_server_commands_defs.h:2227
std::string seed_offset
Definition: wallet_rpc_server_commands_defs.h:2226
bool autosave_current
Definition: wallet_rpc_server_commands_defs.h:2229
uint64_t restore_height
Definition: wallet_rpc_server_commands_defs.h:2223
std::string filename
Definition: wallet_rpc_server_commands_defs.h:2224
std::string language
Definition: wallet_rpc_server_commands_defs.h:2228
Definition: wallet_rpc_server_commands_defs.h:2244
std::string seed
Definition: wallet_rpc_server_commands_defs.h:2246
bool was_deprecated
Definition: wallet_rpc_server_commands_defs.h:2248
std::string address
Definition: wallet_rpc_server_commands_defs.h:2245
std::string info
Definition: wallet_rpc_server_commands_defs.h:2247
Definition: wallet_rpc_server_commands_defs.h:2220
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2241
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2257
Definition: wallet_rpc_server_commands_defs.h:411
std::string description
Definition: wallet_rpc_server_commands_defs.h:413
std::string tag
Definition: wallet_rpc_server_commands_defs.h:412
Definition: wallet_rpc_server_commands_defs.h:423
Definition: wallet_rpc_server_commands_defs.h:409
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:420
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:427
Definition: wallet_rpc_server_commands_defs.h:1220
std::string key
Definition: wallet_rpc_server_commands_defs.h:1221
std::string value
Definition: wallet_rpc_server_commands_defs.h:1222
Definition: wallet_rpc_server_commands_defs.h:1232
Definition: wallet_rpc_server_commands_defs.h:1218
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1236
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1229
Definition: wallet_rpc_server_commands_defs.h:2538
std::string address
Definition: wallet_rpc_server_commands_defs.h:2539
std::vector< std::string > ssl_allowed_fingerprints
Definition: wallet_rpc_server_commands_defs.h:2545
std::string ssl_ca_file
Definition: wallet_rpc_server_commands_defs.h:2544
std::string ssl_certificate_path
Definition: wallet_rpc_server_commands_defs.h:2543
std::string ssl_support
Definition: wallet_rpc_server_commands_defs.h:2541
bool trusted
Definition: wallet_rpc_server_commands_defs.h:2540
std::string ssl_private_key_path
Definition: wallet_rpc_server_commands_defs.h:2542
bool ssl_allow_any_cert
Definition: wallet_rpc_server_commands_defs.h:2546
Definition: wallet_rpc_server_commands_defs.h:2562
Definition: wallet_rpc_server_commands_defs.h:2536
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2559
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2566
Definition: wallet_rpc_server_commands_defs.h:2592
std::string categories
Definition: wallet_rpc_server_commands_defs.h:2593
Definition: wallet_rpc_server_commands_defs.h:2602
std::string categories
Definition: wallet_rpc_server_commands_defs.h:2603
Definition: wallet_rpc_server_commands_defs.h:2590
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2599
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2609
Definition: wallet_rpc_server_commands_defs.h:2572
int8_t level
Definition: wallet_rpc_server_commands_defs.h:2573
Definition: wallet_rpc_server_commands_defs.h:2582
Definition: wallet_rpc_server_commands_defs.h:2570
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2586
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2579
Definition: wallet_rpc_server_commands_defs.h:1175
std::list< std::string > txids
Definition: wallet_rpc_server_commands_defs.h:1176
std::list< std::string > notes
Definition: wallet_rpc_server_commands_defs.h:1177
Definition: wallet_rpc_server_commands_defs.h:1187
Definition: wallet_rpc_server_commands_defs.h:1173
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1184
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1191
Definition: wallet_rpc_server_commands_defs.h:1617
uint32_t address_index
Definition: wallet_rpc_server_commands_defs.h:1620
std::string signature_type
Definition: wallet_rpc_server_commands_defs.h:1621
std::string data
Definition: wallet_rpc_server_commands_defs.h:1618
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:1619
Definition: wallet_rpc_server_commands_defs.h:1633
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1634
Definition: wallet_rpc_server_commands_defs.h:2433
std::string tx_data_hex
Definition: wallet_rpc_server_commands_defs.h:2434
Definition: wallet_rpc_server_commands_defs.h:2443
std::string tx_data_hex
Definition: wallet_rpc_server_commands_defs.h:2444
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:2445
Definition: wallet_rpc_server_commands_defs.h:2431
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2440
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2452
Definition: wallet_rpc_server_commands_defs.h:654
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:657
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:655
bool export_raw
Definition: wallet_rpc_server_commands_defs.h:656
Definition: wallet_rpc_server_commands_defs.h:668
std::string signed_txset
Definition: wallet_rpc_server_commands_defs.h:669
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:672
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:670
std::list< std::string > tx_raw_list
Definition: wallet_rpc_server_commands_defs.h:671
Definition: wallet_rpc_server_commands_defs.h:652
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:665
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:681
Definition: wallet_rpc_server_commands_defs.h:1615
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1640
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1630
Definition: wallet_rpc_server_commands_defs.h:1111
std::string integrated_address
Definition: wallet_rpc_server_commands_defs.h:1112
Definition: wallet_rpc_server_commands_defs.h:1121
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:1123
bool is_subaddress
Definition: wallet_rpc_server_commands_defs.h:1124
std::string standard_address
Definition: wallet_rpc_server_commands_defs.h:1122
Definition: wallet_rpc_server_commands_defs.h:1109
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1118
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1132
Definition: wallet_rpc_server_commands_defs.h:2034
bool ignore_battery
Definition: wallet_rpc_server_commands_defs.h:2037
uint64_t threads_count
Definition: wallet_rpc_server_commands_defs.h:2035
bool do_background_mining
Definition: wallet_rpc_server_commands_defs.h:2036
Definition: wallet_rpc_server_commands_defs.h:2048
Definition: wallet_rpc_server_commands_defs.h:2032
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2052
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2045
Definition: wallet_rpc_server_commands_defs.h:2058
Definition: wallet_rpc_server_commands_defs.h:2065
Definition: wallet_rpc_server_commands_defs.h:2056
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2062
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2069
Definition: wallet_rpc_server_commands_defs.h:1138
Definition: wallet_rpc_server_commands_defs.h:1145
Definition: wallet_rpc_server_commands_defs.h:1136
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1142
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1149
Definition: wallet_rpc_server_commands_defs.h:920
Definition: wallet_rpc_server_commands_defs.h:927
Definition: wallet_rpc_server_commands_defs.h:918
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:924
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:931
Definition: wallet_rpc_server_commands_defs.h:2458
std::string tx_data_hex
Definition: wallet_rpc_server_commands_defs.h:2459
Definition: wallet_rpc_server_commands_defs.h:2468
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:2469
Definition: wallet_rpc_server_commands_defs.h:2456
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2475
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2465
Definition: wallet_rpc_server_commands_defs.h:687
std::string tx_data_hex
Definition: wallet_rpc_server_commands_defs.h:688
Definition: wallet_rpc_server_commands_defs.h:697
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:698
Definition: wallet_rpc_server_commands_defs.h:685
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:694
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:704
Definition: wallet_rpc_server_commands_defs.h:800
std::list< std::string > keys
Definition: wallet_rpc_server_commands_defs.h:801
Definition: wallet_rpc_server_commands_defs.h:764
uint64_t ring_size
Definition: wallet_rpc_server_commands_defs.h:770
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:769
std::set< uint32_t > subaddr_indices
Definition: wallet_rpc_server_commands_defs.h:767
std::string address
Definition: wallet_rpc_server_commands_defs.h:765
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:774
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:773
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:776
uint64_t below_amount
Definition: wallet_rpc_server_commands_defs.h:775
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:772
uint64_t outputs
Definition: wallet_rpc_server_commands_defs.h:771
bool subaddr_indices_all
Definition: wallet_rpc_server_commands_defs.h:768
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:778
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:777
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:766
Definition: wallet_rpc_server_commands_defs.h:809
std::list< uint64_t > weight_list
Definition: wallet_rpc_server_commands_defs.h:814
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:811
std::list< std::string > tx_blob_list
Definition: wallet_rpc_server_commands_defs.h:815
std::string multisig_txset
Definition: wallet_rpc_server_commands_defs.h:817
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:818
std::list< std::string > tx_metadata_list
Definition: wallet_rpc_server_commands_defs.h:816
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:810
std::list< uint64_t > fee_list
Definition: wallet_rpc_server_commands_defs.h:813
std::list< uint64_t > amount_list
Definition: wallet_rpc_server_commands_defs.h:812
Definition: wallet_rpc_server_commands_defs.h:762
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:797
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:832
Definition: wallet_rpc_server_commands_defs.h:726
std::list< std::string > keys
Definition: wallet_rpc_server_commands_defs.h:727
Definition: wallet_rpc_server_commands_defs.h:710
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:714
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:713
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:712
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:711
Definition: wallet_rpc_server_commands_defs.h:735
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:744
std::list< uint64_t > amount_list
Definition: wallet_rpc_server_commands_defs.h:738
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:737
std::string multisig_txset
Definition: wallet_rpc_server_commands_defs.h:743
std::list< std::string > tx_metadata_list
Definition: wallet_rpc_server_commands_defs.h:742
std::list< std::string > tx_blob_list
Definition: wallet_rpc_server_commands_defs.h:741
std::list< uint64_t > weight_list
Definition: wallet_rpc_server_commands_defs.h:740
std::list< uint64_t > fee_list
Definition: wallet_rpc_server_commands_defs.h:739
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:736
Definition: wallet_rpc_server_commands_defs.h:708
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:758
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:723
Definition: wallet_rpc_server_commands_defs.h:838
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:849
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:847
std::string key_image
Definition: wallet_rpc_server_commands_defs.h:846
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:848
std::string address
Definition: wallet_rpc_server_commands_defs.h:839
uint64_t ring_size
Definition: wallet_rpc_server_commands_defs.h:841
uint64_t outputs
Definition: wallet_rpc_server_commands_defs.h:842
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:844
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:843
bool get_tx_key
Definition: wallet_rpc_server_commands_defs.h:845
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:840
Definition: wallet_rpc_server_commands_defs.h:868
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:871
std::string tx_metadata
Definition: wallet_rpc_server_commands_defs.h:875
uint64_t weight
Definition: wallet_rpc_server_commands_defs.h:873
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:877
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:870
std::string multisig_txset
Definition: wallet_rpc_server_commands_defs.h:876
std::string tx_blob
Definition: wallet_rpc_server_commands_defs.h:874
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:869
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:872
Definition: wallet_rpc_server_commands_defs.h:836
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:865
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:891
Definition: wallet_rpc_server_commands_defs.h:369
std::set< uint32_t > accounts
Definition: wallet_rpc_server_commands_defs.h:371
std::string tag
Definition: wallet_rpc_server_commands_defs.h:370
Definition: wallet_rpc_server_commands_defs.h:381
Definition: wallet_rpc_server_commands_defs.h:367
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:378
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:385
Definition: wallet_rpc_server_commands_defs.h:462
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:473
bool get_tx_key
Definition: wallet_rpc_server_commands_defs.h:470
std::set< uint32_t > subaddr_indices
Definition: wallet_rpc_server_commands_defs.h:465
std::list< transfer_destination > destinations
Definition: wallet_rpc_server_commands_defs.h:463
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:468
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:464
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:469
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:466
uint64_t ring_size
Definition: wallet_rpc_server_commands_defs.h:467
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:471
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:472
Definition: wallet_rpc_server_commands_defs.h:492
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:493
std::string multisig_txset
Definition: wallet_rpc_server_commands_defs.h:500
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:495
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:496
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:501
uint64_t weight
Definition: wallet_rpc_server_commands_defs.h:497
std::string tx_blob
Definition: wallet_rpc_server_commands_defs.h:498
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:494
std::string tx_metadata
Definition: wallet_rpc_server_commands_defs.h:499
Definition: wallet_rpc_server_commands_defs.h:551
std::list< std::string > keys
Definition: wallet_rpc_server_commands_defs.h:552
Definition: wallet_rpc_server_commands_defs.h:521
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:531
uint32_t account_index
Definition: wallet_rpc_server_commands_defs.h:523
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:530
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:525
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:528
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:529
uint64_t ring_size
Definition: wallet_rpc_server_commands_defs.h:526
std::list< transfer_destination > destinations
Definition: wallet_rpc_server_commands_defs.h:522
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:527
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:532
std::set< uint32_t > subaddr_indices
Definition: wallet_rpc_server_commands_defs.h:524
Definition: wallet_rpc_server_commands_defs.h:560
std::string unsigned_txset
Definition: wallet_rpc_server_commands_defs.h:569
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:561
std::list< uint64_t > amount_list
Definition: wallet_rpc_server_commands_defs.h:563
std::string multisig_txset
Definition: wallet_rpc_server_commands_defs.h:568
std::list< uint64_t > fee_list
Definition: wallet_rpc_server_commands_defs.h:564
std::list< std::string > tx_blob_list
Definition: wallet_rpc_server_commands_defs.h:566
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:562
std::list< std::string > tx_metadata_list
Definition: wallet_rpc_server_commands_defs.h:567
std::list< uint64_t > weight_list
Definition: wallet_rpc_server_commands_defs.h:565
Definition: wallet_rpc_server_commands_defs.h:519
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:583
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:548
Definition: wallet_rpc_server_commands_defs.h:460
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:515
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:489
Definition: wallet_rpc_server_commands_defs.h:391
std::set< uint32_t > accounts
Definition: wallet_rpc_server_commands_defs.h:392
Definition: wallet_rpc_server_commands_defs.h:401
Definition: wallet_rpc_server_commands_defs.h:389
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:405
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:398
Definition: wallet_rpc_server_commands_defs.h:2503
std::string address
Definition: wallet_rpc_server_commands_defs.h:2504
bool any_net_type
Definition: wallet_rpc_server_commands_defs.h:2505
bool allow_openalias
Definition: wallet_rpc_server_commands_defs.h:2506
Definition: wallet_rpc_server_commands_defs.h:2517
std::string openalias_address
Definition: wallet_rpc_server_commands_defs.h:2522
bool valid
Definition: wallet_rpc_server_commands_defs.h:2518
bool subaddress
Definition: wallet_rpc_server_commands_defs.h:2520
std::string nettype
Definition: wallet_rpc_server_commands_defs.h:2521
bool integrated
Definition: wallet_rpc_server_commands_defs.h:2519
Definition: wallet_rpc_server_commands_defs.h:2501
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:2514
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:2532
Definition: wallet_rpc_server_commands_defs.h:1646
std::string address
Definition: wallet_rpc_server_commands_defs.h:1648
std::string data
Definition: wallet_rpc_server_commands_defs.h:1647
std::string signature
Definition: wallet_rpc_server_commands_defs.h:1649
Definition: wallet_rpc_server_commands_defs.h:1660
bool old
Definition: wallet_rpc_server_commands_defs.h:1663
unsigned version
Definition: wallet_rpc_server_commands_defs.h:1662
bool good
Definition: wallet_rpc_server_commands_defs.h:1661
std::string signature_type
Definition: wallet_rpc_server_commands_defs.h:1664
Definition: wallet_rpc_server_commands_defs.h:1644
epee::misc_utils::struct_init< request_t > request
Definition: wallet_rpc_server_commands_defs.h:1657
epee::misc_utils::struct_init< response_t > response
Definition: wallet_rpc_server_commands_defs.h:1673
Definition: wallet_rpc_server_commands_defs.h:935
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:940
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:937
bool locked
Definition: wallet_rpc_server_commands_defs.h:941
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:936
std::string address
Definition: wallet_rpc_server_commands_defs.h:943
uint64_t block_height
Definition: wallet_rpc_server_commands_defs.h:939
cryptonote::subaddress_index subaddr_index
Definition: wallet_rpc_server_commands_defs.h:942
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:938
Definition: wallet_rpc_server_commands_defs.h:450
std::string address
Definition: wallet_rpc_server_commands_defs.h:452
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:451
Definition: wallet_rpc_server_commands_defs.h:1006
uint64_t block_height
Definition: wallet_rpc_server_commands_defs.h:1013
bool spent
Definition: wallet_rpc_server_commands_defs.h:1008
std::string key_image
Definition: wallet_rpc_server_commands_defs.h:1012
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:1007
bool unlocked
Definition: wallet_rpc_server_commands_defs.h:1015
uint64_t global_index
Definition: wallet_rpc_server_commands_defs.h:1009
bool frozen
Definition: wallet_rpc_server_commands_defs.h:1014
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:1010
cryptonote::subaddress_index subaddr_index
Definition: wallet_rpc_server_commands_defs.h:1011
Definition: wallet_rpc_server_commands_defs.h:1381
std::string note
Definition: wallet_rpc_server_commands_defs.h:1389
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:1383
bool double_spend_seen
Definition: wallet_rpc_server_commands_defs.h:1397
std::string type
Definition: wallet_rpc_server_commands_defs.h:1391
bool locked
Definition: wallet_rpc_server_commands_defs.h:1393
std::string txid
Definition: wallet_rpc_server_commands_defs.h:1382
uint64_t height
Definition: wallet_rpc_server_commands_defs.h:1384
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:1392
uint64_t timestamp
Definition: wallet_rpc_server_commands_defs.h:1385
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:1386
cryptonote::subaddress_index subaddr_index
Definition: wallet_rpc_server_commands_defs.h:1394
std::string address
Definition: wallet_rpc_server_commands_defs.h:1396
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:1388
uint64_t confirmations
Definition: wallet_rpc_server_commands_defs.h:1398
amounts_container amounts
Definition: wallet_rpc_server_commands_defs.h:1387
uint64_t suggested_confirmations_threshold
Definition: wallet_rpc_server_commands_defs.h:1399
std::list< transfer_destination > destinations
Definition: wallet_rpc_server_commands_defs.h:1390
std::vector< cryptonote::subaddress_index > subaddr_indices
Definition: wallet_rpc_server_commands_defs.h:1395
Definition: wallet_rpc_server_commands_defs.h:1799
std::string tx_description
Definition: wallet_rpc_server_commands_defs.h:1803
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:1801
std::string address
Definition: wallet_rpc_server_commands_defs.h:1800
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:1802
std::string recipient_name
Definition: wallet_rpc_server_commands_defs.h:1804