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