Electroneum
wallet_rpc_server_commands_defs.h
Go to the documentation of this file.
1 // Copyrights(c) 2017-2019, The Electroneum Project
2 // Copyrights(c) 2014-2017, 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
35 #include "crypto/hash.h"
37 
38 #undef ELECTRONEUM_DEFAULT_LOG_CATEGORY
39 #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "wallet.rpc"
40 
41 namespace tools
42 {
43 namespace wallet_rpc
44 {
45 #define WALLET_RPC_STATUS_OK "OK"
46 #define WALLET_RPC_STATUS_BUSY "BUSY"
47 
49  {
50  struct request
51  {
52  BEGIN_KV_SERIALIZE_MAP()
53  END_KV_SERIALIZE_MAP()
54  };
55 
56  struct response
57  {
58  uint64_t balance;
59  uint64_t unlocked_balance;
60 
61  BEGIN_KV_SERIALIZE_MAP()
62  KV_SERIALIZE(balance)
63  KV_SERIALIZE(unlocked_balance)
64  END_KV_SERIALIZE_MAP()
65  };
66  };
67 
69  {
70  struct request
71  {
72  BEGIN_KV_SERIALIZE_MAP()
73  END_KV_SERIALIZE_MAP()
74  };
75 
76  struct response
77  {
78  std::string address;
79 
80  BEGIN_KV_SERIALIZE_MAP()
81  KV_SERIALIZE(address)
82  END_KV_SERIALIZE_MAP()
83  };
84  };
85 
87  {
88  struct request
89  {
90  BEGIN_KV_SERIALIZE_MAP()
91  END_KV_SERIALIZE_MAP()
92  };
93 
94  struct response
95  {
96  uint64_t height;
97  BEGIN_KV_SERIALIZE_MAP()
98  KV_SERIALIZE(height)
99  END_KV_SERIALIZE_MAP()
100  };
101  };
102 
104  {
105  uint64_t amount;
106  std::string address;
107  BEGIN_KV_SERIALIZE_MAP()
108  KV_SERIALIZE(amount)
109  KV_SERIALIZE(address)
110  END_KV_SERIALIZE_MAP()
111  };
112 
114  {
115  struct request
116  {
117  std::list<transfer_destination> destinations;
118  uint32_t priority;
119  uint64_t mixin;
120  uint64_t unlock_time;
121  std::string payment_id;
126 
127  BEGIN_KV_SERIALIZE_MAP()
128  KV_SERIALIZE(destinations)
129  KV_SERIALIZE(priority)
130  KV_SERIALIZE(mixin)
131  KV_SERIALIZE(unlock_time)
132  KV_SERIALIZE(payment_id)
133  KV_SERIALIZE(get_tx_key)
134  KV_SERIALIZE_OPT(do_not_relay, false)
135  KV_SERIALIZE_OPT(get_tx_hex, false)
136  KV_SERIALIZE_OPT(get_tx_metadata, false)
137  END_KV_SERIALIZE_MAP()
138  };
139 
140  struct response
141  {
142  std::string tx_hash;
143  std::string tx_key;
144  std::list<std::string> amount_keys;
145  uint64_t fee;
146  std::string tx_blob;
147  std::string tx_metadata;
148 
149  BEGIN_KV_SERIALIZE_MAP()
150  KV_SERIALIZE(tx_hash)
151  KV_SERIALIZE(tx_key)
152  KV_SERIALIZE(amount_keys)
153  KV_SERIALIZE(fee)
154  KV_SERIALIZE(tx_blob)
155  KV_SERIALIZE(tx_metadata)
156  END_KV_SERIALIZE_MAP()
157  };
158  };
159 
161  {
162  struct request
163  {
164  std::list<transfer_destination> destinations;
165  uint32_t priority;
166  uint64_t mixin;
167  uint64_t unlock_time;
168  std::string payment_id;
173 
174  BEGIN_KV_SERIALIZE_MAP()
175  KV_SERIALIZE(destinations)
176  KV_SERIALIZE(priority)
177  KV_SERIALIZE(mixin)
178  KV_SERIALIZE(unlock_time)
179  KV_SERIALIZE(payment_id)
180  KV_SERIALIZE(get_tx_keys)
181  KV_SERIALIZE_OPT(do_not_relay, false)
182  KV_SERIALIZE_OPT(get_tx_hex, false)
183  KV_SERIALIZE_OPT(get_tx_metadata, false)
184  END_KV_SERIALIZE_MAP()
185  };
186 
187  struct key_list
188  {
189  std::list<std::string> keys;
190 
191  BEGIN_KV_SERIALIZE_MAP()
192  KV_SERIALIZE(keys)
193  END_KV_SERIALIZE_MAP()
194  };
195 
196  struct response
197  {
198  std::list<std::string> tx_hash_list;
199  std::list<std::string> tx_key_list;
200  std::list<uint64_t> amount_list;
201  std::list<uint64_t> fee_list;
202  std::list<std::string> tx_blob_list;
203  std::list<std::string> tx_metadata_list;
204 
205  BEGIN_KV_SERIALIZE_MAP()
206  KV_SERIALIZE(tx_hash_list)
207  KV_SERIALIZE(tx_key_list)
208  KV_SERIALIZE(amount_list)
209  KV_SERIALIZE(fee_list)
210  KV_SERIALIZE(tx_blob_list)
211  KV_SERIALIZE(tx_metadata_list)
212  END_KV_SERIALIZE_MAP()
213  };
214  };
215 
217  {
218  struct request
219  {
224 
225  BEGIN_KV_SERIALIZE_MAP()
226  KV_SERIALIZE(get_tx_keys)
227  KV_SERIALIZE_OPT(do_not_relay, false)
228  KV_SERIALIZE_OPT(get_tx_hex, false)
229  KV_SERIALIZE_OPT(get_tx_metadata, false)
230  END_KV_SERIALIZE_MAP()
231  };
232 
233  struct key_list
234  {
235  std::list<std::string> keys;
236 
237  BEGIN_KV_SERIALIZE_MAP()
238  KV_SERIALIZE(keys)
239  END_KV_SERIALIZE_MAP()
240  };
241 
242  struct response
243  {
244  std::list<std::string> tx_hash_list;
245  std::list<std::string> tx_key_list;
246  std::list<uint64_t> fee_list;
247  std::list<std::string> tx_blob_list;
248  std::list<std::string> tx_metadata_list;
249 
250  BEGIN_KV_SERIALIZE_MAP()
251  KV_SERIALIZE(tx_hash_list)
252  KV_SERIALIZE(tx_key_list)
253  KV_SERIALIZE(fee_list)
254  KV_SERIALIZE(tx_blob_list)
255  KV_SERIALIZE(tx_metadata_list)
256  END_KV_SERIALIZE_MAP()
257  };
258  };
259 
261  {
262  struct request
263  {
264  std::string address;
265  uint32_t priority;
266  uint64_t mixin;
267  uint64_t unlock_time;
268  std::string payment_id;
270  uint64_t below_amount;
274 
275  BEGIN_KV_SERIALIZE_MAP()
276  KV_SERIALIZE(address)
277  KV_SERIALIZE(priority)
278  KV_SERIALIZE(mixin)
279  KV_SERIALIZE(unlock_time)
280  KV_SERIALIZE(payment_id)
281  KV_SERIALIZE(get_tx_keys)
282  KV_SERIALIZE(below_amount)
283  KV_SERIALIZE_OPT(do_not_relay, false)
284  KV_SERIALIZE_OPT(get_tx_hex, false)
285  KV_SERIALIZE_OPT(get_tx_metadata, false)
286  END_KV_SERIALIZE_MAP()
287  };
288 
289  struct key_list
290  {
291  std::list<std::string> keys;
292 
293  BEGIN_KV_SERIALIZE_MAP()
294  KV_SERIALIZE(keys)
295  END_KV_SERIALIZE_MAP()
296  };
297 
298  struct response
299  {
300  std::list<std::string> tx_hash_list;
301  std::list<std::string> tx_key_list;
302  std::list<uint64_t> fee_list;
303  std::list<std::string> tx_blob_list;
304  std::list<std::string> tx_metadata_list;
305 
306  BEGIN_KV_SERIALIZE_MAP()
307  KV_SERIALIZE(tx_hash_list)
308  KV_SERIALIZE(tx_key_list)
309  KV_SERIALIZE(fee_list)
310  KV_SERIALIZE(tx_blob_list)
311  KV_SERIALIZE(tx_metadata_list)
312  END_KV_SERIALIZE_MAP()
313  };
314  };
315 
317  {
318  struct request
319  {
320  std::string hex;
321  BEGIN_KV_SERIALIZE_MAP()
322  KV_SERIALIZE(hex)
323  END_KV_SERIALIZE_MAP()
324  };
325  struct response
326  {
327  std::string tx_hash;
328  std::string tx_key;
329  uint64_t fee;
330  std::string tx_blob;
331  BEGIN_KV_SERIALIZE_MAP()
332  KV_SERIALIZE(tx_hash)
333  KV_SERIALIZE(tx_key)
334  KV_SERIALIZE(fee)
335  KV_SERIALIZE(tx_blob)
336  END_KV_SERIALIZE_MAP()
337  };
338  };
339 
341  {
342  struct request
343  {
344  BEGIN_KV_SERIALIZE_MAP()
345  END_KV_SERIALIZE_MAP()
346  };
347 
348  struct response
349  {
350  BEGIN_KV_SERIALIZE_MAP()
351  END_KV_SERIALIZE_MAP()
352  };
353  };
354 
356  {
357  std::string payment_id;
358  std::string tx_hash;
359  uint64_t amount;
360  uint64_t timestamp;
361  uint64_t block_height;
362  uint64_t unlock_time;
363 
364  BEGIN_KV_SERIALIZE_MAP()
365  KV_SERIALIZE(payment_id)
366  KV_SERIALIZE(tx_hash)
367  KV_SERIALIZE(amount)
368  KV_SERIALIZE(timestamp)
369  KV_SERIALIZE(block_height)
370  KV_SERIALIZE(unlock_time)
371  END_KV_SERIALIZE_MAP()
372  };
373 
375  {
376  struct request
377  {
378  std::string payment_id;
379 
380  BEGIN_KV_SERIALIZE_MAP()
381  KV_SERIALIZE(payment_id)
382  END_KV_SERIALIZE_MAP()
383  };
384 
385  struct response
386  {
387  std::list<payment_details> payments;
388 
389  BEGIN_KV_SERIALIZE_MAP()
390  KV_SERIALIZE(payments)
391  END_KV_SERIALIZE_MAP()
392  };
393  };
394 
396  {
397  struct request
398  {
399  std::vector<std::string> payment_ids;
401 
402  BEGIN_KV_SERIALIZE_MAP()
403  KV_SERIALIZE(payment_ids)
404  KV_SERIALIZE(min_block_height)
405  END_KV_SERIALIZE_MAP()
406  };
407 
408  struct response
409  {
410  std::list<payment_details> payments;
411 
412  BEGIN_KV_SERIALIZE_MAP()
413  KV_SERIALIZE(payments)
414  END_KV_SERIALIZE_MAP()
415  };
416  };
417 
419  {
420  uint64_t amount;
421  bool spent;
422  uint64_t global_index;
423  std::string tx_hash;
424  uint64_t tx_size;
425 
426  BEGIN_KV_SERIALIZE_MAP()
427  KV_SERIALIZE(amount)
428  KV_SERIALIZE(spent)
429  KV_SERIALIZE(global_index)
430  KV_SERIALIZE(tx_hash)
431  KV_SERIALIZE(tx_size)
432  END_KV_SERIALIZE_MAP()
433  };
434 
436  {
437  struct request
438  {
439  std::string transfer_type;
440 
441  BEGIN_KV_SERIALIZE_MAP()
442  KV_SERIALIZE(transfer_type)
443  END_KV_SERIALIZE_MAP()
444  };
445 
446  struct response
447  {
448  std::list<transfer_details> transfers;
449 
450  BEGIN_KV_SERIALIZE_MAP()
451  KV_SERIALIZE(transfers)
452  END_KV_SERIALIZE_MAP()
453  };
454  };
455 
456  //JSON RPC V2
458  {
459  struct request
460  {
461  std::string key_type;
462 
463  BEGIN_KV_SERIALIZE_MAP()
464  KV_SERIALIZE(key_type)
465  END_KV_SERIALIZE_MAP()
466  };
467 
468  struct response
469  {
470  std::string key;
471 
472  BEGIN_KV_SERIALIZE_MAP()
473  KV_SERIALIZE(key)
474  END_KV_SERIALIZE_MAP()
475  };
476  };
477 
479  {
480  struct request
481  {
482  std::string payment_id;
483 
484  BEGIN_KV_SERIALIZE_MAP()
485  KV_SERIALIZE(payment_id)
486  END_KV_SERIALIZE_MAP()
487  };
488 
489  struct response
490  {
491  std::string integrated_address;
492  std::string payment_id;
493 
494  BEGIN_KV_SERIALIZE_MAP()
495  KV_SERIALIZE(integrated_address)
496  KV_SERIALIZE(payment_id)
497  END_KV_SERIALIZE_MAP()
498  };
499  };
500 
502  {
503  struct request
504  {
505  std::string integrated_address;
506 
507  BEGIN_KV_SERIALIZE_MAP()
508  KV_SERIALIZE(integrated_address)
509  END_KV_SERIALIZE_MAP()
510  };
511 
512  struct response
513  {
514  std::string standard_address;
515  std::string payment_id;
516 
517  BEGIN_KV_SERIALIZE_MAP()
518  KV_SERIALIZE(standard_address)
519  KV_SERIALIZE(payment_id)
520  END_KV_SERIALIZE_MAP()
521  };
522  };
523 
525  {
526  struct request
527  {
528  BEGIN_KV_SERIALIZE_MAP()
529  END_KV_SERIALIZE_MAP()
530  };
531 
532  struct response
533  {
534  BEGIN_KV_SERIALIZE_MAP()
535  END_KV_SERIALIZE_MAP()
536  };
537  };
538 
540  {
541  struct request
542  {
543  BEGIN_KV_SERIALIZE_MAP()
544  END_KV_SERIALIZE_MAP()
545  };
546 
547  struct response
548  {
549  BEGIN_KV_SERIALIZE_MAP()
550  END_KV_SERIALIZE_MAP()
551  };
552  };
553 
555  {
556  struct request
557  {
558  std::list<std::string> txids;
559  std::list<std::string> notes;
560 
561  BEGIN_KV_SERIALIZE_MAP()
562  KV_SERIALIZE(txids)
563  KV_SERIALIZE(notes)
564  END_KV_SERIALIZE_MAP()
565  };
566 
567  struct response
568  {
569  BEGIN_KV_SERIALIZE_MAP()
570  END_KV_SERIALIZE_MAP()
571  };
572  };
573 
575  {
576  struct request
577  {
578  std::list<std::string> txids;
579 
580  BEGIN_KV_SERIALIZE_MAP()
581  KV_SERIALIZE(txids)
582  END_KV_SERIALIZE_MAP()
583  };
584 
585  struct response
586  {
587  std::list<std::string> notes;
588 
589  BEGIN_KV_SERIALIZE_MAP()
590  KV_SERIALIZE(notes)
591  END_KV_SERIALIZE_MAP()
592  };
593  };
594 
596  {
597  struct request
598  {
599  std::string txid;
600 
601  BEGIN_KV_SERIALIZE_MAP()
602  KV_SERIALIZE(txid)
603  END_KV_SERIALIZE_MAP()
604  };
605 
606  struct response
607  {
608  std::string tx_key;
609 
610  BEGIN_KV_SERIALIZE_MAP()
611  KV_SERIALIZE(tx_key)
612  END_KV_SERIALIZE_MAP()
613  };
614  };
615 
617  {
618  std::string txid;
619  std::string payment_id;
620  uint64_t height;
621  uint64_t timestamp;
622  uint64_t amount;
623  uint64_t fee;
624  std::string note;
625  std::list<transfer_destination> destinations;
626  std::string type;
627  uint64_t unlock_time;
628 
629  BEGIN_KV_SERIALIZE_MAP()
630  KV_SERIALIZE(txid);
631  KV_SERIALIZE(payment_id);
632  KV_SERIALIZE(height);
633  KV_SERIALIZE(timestamp);
634  KV_SERIALIZE(amount);
635  KV_SERIALIZE(fee);
636  KV_SERIALIZE(note);
637  KV_SERIALIZE(destinations);
638  KV_SERIALIZE(type);
639  KV_SERIALIZE(unlock_time)
640  END_KV_SERIALIZE_MAP()
641  };
642 
644  {
645  struct request
646  {
647  bool in;
648  bool out;
649  bool pending;
650  bool failed;
651  bool pool;
652 
654  uint64_t min_height;
655  uint64_t max_height;
656 
657  BEGIN_KV_SERIALIZE_MAP()
658  KV_SERIALIZE(in);
659  KV_SERIALIZE(out);
660  KV_SERIALIZE(pending);
661  KV_SERIALIZE(failed);
662  KV_SERIALIZE(pool);
663  KV_SERIALIZE(filter_by_height);
664  KV_SERIALIZE(min_height);
665  KV_SERIALIZE(max_height);
666  END_KV_SERIALIZE_MAP()
667  };
668 
669  struct response
670  {
671  std::list<transfer_entry> in;
672  std::list<transfer_entry> out;
673  std::list<transfer_entry> pending;
674  std::list<transfer_entry> failed;
675  std::list<transfer_entry> pool;
676 
677  BEGIN_KV_SERIALIZE_MAP()
678  KV_SERIALIZE(in);
679  KV_SERIALIZE(out);
680  KV_SERIALIZE(pending);
681  KV_SERIALIZE(failed);
682  KV_SERIALIZE(pool);
683  END_KV_SERIALIZE_MAP()
684  };
685  };
686 
688  {
689  struct request
690  {
691  std::string txid;
692 
693  BEGIN_KV_SERIALIZE_MAP()
694  KV_SERIALIZE(txid);
695  END_KV_SERIALIZE_MAP()
696  };
697 
698  struct response
699  {
701 
702  BEGIN_KV_SERIALIZE_MAP()
703  KV_SERIALIZE(transfer);
704  END_KV_SERIALIZE_MAP()
705  };
706  };
707 
709  {
710  struct request
711  {
712  bool in;
713  bool out;
714  uint64_t min_height;
715  uint64_t max_height;
716 
717  BEGIN_KV_SERIALIZE_MAP()
718  KV_SERIALIZE(in);
719  KV_SERIALIZE(out);
720  KV_SERIALIZE(min_height);
721  KV_SERIALIZE(max_height);
722  END_KV_SERIALIZE_MAP()
723  };
724 
725  struct response
726  {
727  BEGIN_KV_SERIALIZE_MAP()
728  END_KV_SERIALIZE_MAP()
729  };
730  };
731 
733  {
734  struct request
735  {
736  std::string data;
737 
738  BEGIN_KV_SERIALIZE_MAP()
739  KV_SERIALIZE(data);
740  END_KV_SERIALIZE_MAP()
741  };
742 
743  struct response
744  {
745  std::string signature;
746 
747  BEGIN_KV_SERIALIZE_MAP()
748  KV_SERIALIZE(signature);
749  END_KV_SERIALIZE_MAP()
750  };
751  };
752 
754  {
755  struct request
756  {
757  std::string data;
758  std::string address;
759  std::string signature;
760 
761  BEGIN_KV_SERIALIZE_MAP()
762  KV_SERIALIZE(data);
763  KV_SERIALIZE(address);
764  KV_SERIALIZE(signature);
765  END_KV_SERIALIZE_MAP()
766  };
767 
768  struct response
769  {
770  bool good;
771 
772  BEGIN_KV_SERIALIZE_MAP()
773  KV_SERIALIZE(good);
774  END_KV_SERIALIZE_MAP()
775  };
776  };
777 
779  {
780  struct request
781  {
782  BEGIN_KV_SERIALIZE_MAP()
783  END_KV_SERIALIZE_MAP()
784  };
785 
787  {
788  std::string key_image;
789  std::string signature;
790 
791  BEGIN_KV_SERIALIZE_MAP()
792  KV_SERIALIZE(key_image);
793  KV_SERIALIZE(signature);
794  END_KV_SERIALIZE_MAP()
795  };
796 
797  struct response
798  {
799  std::vector<signed_key_image> signed_key_images;
800 
801  BEGIN_KV_SERIALIZE_MAP()
802  KV_SERIALIZE(signed_key_images);
803  END_KV_SERIALIZE_MAP()
804  };
805  };
806 
808  {
810  {
811  std::string key_image;
812  std::string signature;
813 
814  BEGIN_KV_SERIALIZE_MAP()
815  KV_SERIALIZE(key_image);
816  KV_SERIALIZE(signature);
817  END_KV_SERIALIZE_MAP()
818  };
819 
820  struct request
821  {
822  std::vector<signed_key_image> signed_key_images;
823 
824  BEGIN_KV_SERIALIZE_MAP()
825  KV_SERIALIZE(signed_key_images);
826  END_KV_SERIALIZE_MAP()
827  };
828 
829  struct response
830  {
831  uint64_t height;
832  uint64_t spent;
833  uint64_t unspent;
834 
835  BEGIN_KV_SERIALIZE_MAP()
836  KV_SERIALIZE(height)
837  KV_SERIALIZE(spent)
838  KV_SERIALIZE(unspent)
839  END_KV_SERIALIZE_MAP()
840  };
841  };
842 
843  struct uri_spec
844  {
845  std::string address;
846  std::string payment_id;
847  uint64_t amount;
848  std::string tx_description;
849  std::string recipient_name;
850 
851  BEGIN_KV_SERIALIZE_MAP()
852  KV_SERIALIZE(address);
853  KV_SERIALIZE(payment_id);
854  KV_SERIALIZE(amount);
855  KV_SERIALIZE(tx_description);
856  KV_SERIALIZE(recipient_name);
857  END_KV_SERIALIZE_MAP()
858  };
859 
861  {
862  struct request: public uri_spec
863  {
864  };
865 
866  struct response
867  {
868  std::string uri;
869 
870  BEGIN_KV_SERIALIZE_MAP()
871  KV_SERIALIZE(uri)
872  END_KV_SERIALIZE_MAP()
873  };
874  };
875 
877  {
878  struct request
879  {
880  std::string uri;
881 
882  BEGIN_KV_SERIALIZE_MAP()
883  KV_SERIALIZE(uri)
884  END_KV_SERIALIZE_MAP()
885  };
886 
887  struct response
888  {
890  std::vector<std::string> unknown_parameters;
891 
892  BEGIN_KV_SERIALIZE_MAP()
893  KV_SERIALIZE(uri);
894  KV_SERIALIZE(unknown_parameters);
895  END_KV_SERIALIZE_MAP()
896  };
897  };
898 
900  {
901  struct request
902  {
903  std::string address;
904  std::string payment_id;
905  std::string description;
906 
907  BEGIN_KV_SERIALIZE_MAP()
908  KV_SERIALIZE(address)
909  KV_SERIALIZE(payment_id)
910  KV_SERIALIZE(description)
911  END_KV_SERIALIZE_MAP()
912  };
913 
914  struct response
915  {
916  uint64_t index;
917 
918  BEGIN_KV_SERIALIZE_MAP()
919  KV_SERIALIZE(index);
920  END_KV_SERIALIZE_MAP()
921  };
922  };
923 
925  {
926  struct request
927  {
928  std::list<uint64_t> entries;
929 
930  BEGIN_KV_SERIALIZE_MAP()
931  KV_SERIALIZE(entries)
932  END_KV_SERIALIZE_MAP()
933  };
934 
935  struct entry
936  {
937  uint64_t index;
938  std::string address;
939  std::string payment_id;
940  std::string description;
941 
942  BEGIN_KV_SERIALIZE_MAP()
943  KV_SERIALIZE(index)
944  KV_SERIALIZE(address)
945  KV_SERIALIZE(payment_id)
946  KV_SERIALIZE(description)
947  END_KV_SERIALIZE_MAP()
948  };
949 
950  struct response
951  {
952  std::vector<entry> entries;
953 
954  BEGIN_KV_SERIALIZE_MAP()
955  KV_SERIALIZE(entries)
956  END_KV_SERIALIZE_MAP()
957  };
958  };
959 
961  {
962  struct request
963  {
964  uint64_t index;
965 
966  BEGIN_KV_SERIALIZE_MAP()
967  KV_SERIALIZE(index);
968  END_KV_SERIALIZE_MAP()
969  };
970 
971  struct response
972  {
973  BEGIN_KV_SERIALIZE_MAP()
974  END_KV_SERIALIZE_MAP()
975  };
976  };
977 
979  {
980  struct request
981  {
982  BEGIN_KV_SERIALIZE_MAP()
983  END_KV_SERIALIZE_MAP()
984  };
985 
986  struct response
987  {
988  BEGIN_KV_SERIALIZE_MAP()
989  END_KV_SERIALIZE_MAP()
990  };
991  };
992 
994  {
995  struct request
996  {
997  uint64_t threads_count;
1000 
1001  BEGIN_KV_SERIALIZE_MAP()
1002  KV_SERIALIZE(threads_count)
1003  KV_SERIALIZE(do_background_mining)
1004  KV_SERIALIZE(ignore_battery)
1005  END_KV_SERIALIZE_MAP()
1006  };
1007 
1008  struct response
1009  {
1010  BEGIN_KV_SERIALIZE_MAP()
1011  END_KV_SERIALIZE_MAP()
1012  };
1013  };
1014 
1016  {
1017  struct request
1018  {
1019  BEGIN_KV_SERIALIZE_MAP()
1020  END_KV_SERIALIZE_MAP()
1021  };
1022 
1023  struct response
1024  {
1025  BEGIN_KV_SERIALIZE_MAP()
1026  END_KV_SERIALIZE_MAP()
1027  };
1028  };
1029 
1031  {
1032  struct request
1033  {
1034  BEGIN_KV_SERIALIZE_MAP()
1035  END_KV_SERIALIZE_MAP()
1036  };
1037  struct response
1038  {
1039  std::vector<std::string> languages;
1040 
1041  BEGIN_KV_SERIALIZE_MAP()
1042  KV_SERIALIZE(languages)
1043  END_KV_SERIALIZE_MAP()
1044  };
1045  };
1046 
1048  {
1049  struct request
1050  {
1051  std::string filename;
1052  std::string password;
1053  std::string language;
1054 
1055  BEGIN_KV_SERIALIZE_MAP()
1056  KV_SERIALIZE(filename)
1057  KV_SERIALIZE(password)
1058  KV_SERIALIZE(language)
1059  END_KV_SERIALIZE_MAP()
1060  };
1061  struct response
1062  {
1063  BEGIN_KV_SERIALIZE_MAP()
1064  END_KV_SERIALIZE_MAP()
1065  };
1066  };
1067 
1069  {
1070  struct request
1071  {
1072  std::string filename;
1073  std::string password;
1074 
1075  BEGIN_KV_SERIALIZE_MAP()
1076  KV_SERIALIZE(filename)
1077  KV_SERIALIZE(password)
1078  END_KV_SERIALIZE_MAP()
1079  };
1080  struct response
1081  {
1082  BEGIN_KV_SERIALIZE_MAP()
1083  END_KV_SERIALIZE_MAP()
1084  };
1085  };
1086 
1088  {
1089  struct request
1090  {
1091  BEGIN_KV_SERIALIZE_MAP()
1092  END_KV_SERIALIZE_MAP()
1093  };
1094  struct response
1095  {
1096  BEGIN_KV_SERIALIZE_MAP()
1097  END_KV_SERIALIZE_MAP()
1098  };
1099  };
1100 
1102  {
1103  struct request
1104  {
1105  std::string filename;
1106  std::string old_password;
1107  std::string new_password;
1108 
1109  BEGIN_KV_SERIALIZE_MAP()
1110  KV_SERIALIZE(filename)
1111  KV_SERIALIZE(old_password)
1112  KV_SERIALIZE(new_password)
1113  END_KV_SERIALIZE_MAP()
1114  };
1115  struct response
1116  {
1117  BEGIN_KV_SERIALIZE_MAP()
1118  END_KV_SERIALIZE_MAP()
1119  };
1120  };
1121 }
1122 }
bool ignore_battery
Definition: wallet_rpc_server_commands_defs.h:999
std::string tx_blob
Definition: wallet_rpc_server_commands_defs.h:330
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:272
bool out
Definition: wallet_rpc_server_commands_defs.h:713
uint64_t mixin
Definition: wallet_rpc_server_commands_defs.h:166
Definition: wallet_rpc_server_commands_defs.h:755
Definition: wallet_rpc_server_commands_defs.h:843
Definition: wallet_rpc_server_commands_defs.h:595
bool pending
Definition: wallet_rpc_server_commands_defs.h:649
std::list< transfer_entry > pool
Definition: wallet_rpc_server_commands_defs.h:675
Definition: wallet_rpc_server_commands_defs.h:187
bool in
Definition: wallet_rpc_server_commands_defs.h:647
Definition: wallet_rpc_server_commands_defs.h:457
Definition: wallet_rpc_server_commands_defs.h:1047
std::list< transfer_destination > destinations
Definition: wallet_rpc_server_commands_defs.h:164
uint64_t unlocked_balance
Definition: wallet_rpc_server_commands_defs.h:59
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:199
std::string hex
Definition: wallet_rpc_server_commands_defs.h:320
Definition: wallet_rpc_server_commands_defs.h:780
Definition: wallet_rpc_server_commands_defs.h:355
Definition: wallet_rpc_server_commands_defs.h:76
std::list< transfer_destination > destinations
Definition: wallet_rpc_server_commands_defs.h:625
Definition: wallet_rpc_server_commands_defs.h:501
Definition: wallet_rpc_server_commands_defs.h:950
std::string signature
Definition: wallet_rpc_server_commands_defs.h:789
Definition: wallet_rpc_server_commands_defs.h:1032
Definition: wallet_rpc_server_commands_defs.h:993
Definition: wallet_rpc_server_commands_defs.h:88
Definition: wallet_rpc_server_commands_defs.h:435
Definition: wallet_rpc_server_commands_defs.h:554
std::vector< std::string > languages
Definition: wallet_rpc_server_commands_defs.h:1039
Definition: wallet_rpc_server_commands_defs.h:408
Definition: wallet_rpc_server_commands_defs.h:687
Definition: wallet_rpc_server_commands_defs.h:395
std::string uri
Definition: wallet_rpc_server_commands_defs.h:880
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:608
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:378
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:627
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:904
std::string standard_address
Definition: wallet_rpc_server_commands_defs.h:514
Definition: wallet_rpc_server_commands_defs.h:708
bool failed
Definition: wallet_rpc_server_commands_defs.h:650
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:268
Definition: wallet_rpc_server_commands_defs.h:753
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:359
Definition: wallet_rpc_server_commands_defs.h:340
uint64_t below_amount
Definition: wallet_rpc_server_commands_defs.h:270
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:329
Definition: wallet_rpc_server_commands_defs.h:689
Definition: wallet_rpc_server_commands_defs.h:524
std::string txid
Definition: wallet_rpc_server_commands_defs.h:599
std::string tx_blob
Definition: wallet_rpc_server_commands_defs.h:146
Definition: wallet_rpc_server_commands_defs.h:643
Definition: wallet_rpc_server_commands_defs.h:113
Definition: wallet_rpc_server_commands_defs.h:459
IntFormatSpec< int, TypeSpec< 'x'> > hex(int value)
Definition: wallet_rpc_server_commands_defs.h:1017
Definition: wallet_rpc_server_commands_defs.h:1115
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:623
Definition: wallet_rpc_server_commands_defs.h:196
Definition: wallet_rpc_server_commands_defs.h:786
std::string address
Definition: wallet_rpc_server_commands_defs.h:938
Definition: wallet_rpc_server_commands_defs.h:887
std::list< uint64_t > fee_list
Definition: wallet_rpc_server_commands_defs.h:302
std::string integrated_address
Definition: wallet_rpc_server_commands_defs.h:491
Definition: wallet_rpc_server_commands_defs.h:829
Definition: wallet_rpc_server_commands_defs.h:1008
Definition: wallet_rpc_server_commands_defs.h:547
Definition: wallet_rpc_server_commands_defs.h:980
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:120
uint64_t threads_count
Definition: wallet_rpc_server_commands_defs.h:997
uint64_t timestamp
Definition: wallet_rpc_server_commands_defs.h:621
uint64_t height
Definition: blockchain.cpp:87
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:328
std::string address
Definition: wallet_rpc_server_commands_defs.h:106
Definition: wallet_rpc_server_commands_defs.h:901
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:118
uint64_t spent
Definition: wallet_rpc_server_commands_defs.h:832
Definition: wallet_rpc_server_commands_defs.h:94
std::string password
Definition: wallet_rpc_server_commands_defs.h:1073
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:273
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:423
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:245
uint64_t height
Definition: wallet_rpc_server_commands_defs.h:620
Definition: wallet_rpc_server_commands_defs.h:1030
Definition: wallet_rpc_server_commands_defs.h:468
Definition: wallet_rpc_server_commands_defs.h:1070
std::vector< signed_key_image > signed_key_images
Definition: wallet_rpc_server_commands_defs.h:799
Definition: wallet_rpc_server_commands_defs.h:437
Definition: wallet_rpc_server_commands_defs.h:140
Definition: wallet_rpc_server_commands_defs.h:862
Definition: wallet_rpc_server_commands_defs.h:899
uri_spec uri
Definition: wallet_rpc_server_commands_defs.h:889
Definition: wallet_rpc_server_commands_defs.h:669
Definition: wallet_rpc_server_commands_defs.h:986
std::string key_image
Definition: wallet_rpc_server_commands_defs.h:788
uint64_t block_height
Definition: wallet_rpc_server_commands_defs.h:361
Definition: wallet_rpc_server_commands_defs.h:926
bool pool
Definition: wallet_rpc_server_commands_defs.h:651
std::string tx_metadata
Definition: wallet_rpc_server_commands_defs.h:147
std::string address
Definition: wallet_rpc_server_commands_defs.h:903
Definition: wallet_rpc_server_commands_defs.h:298
Definition: wallet_rpc_server_commands_defs.h:115
std::string key_image
Definition: wallet_rpc_server_commands_defs.h:811
std::list< std::string > tx_blob_list
Definition: wallet_rpc_server_commands_defs.h:303
uint64_t min_block_height
Definition: wallet_rpc_server_commands_defs.h:400
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:123
bool filter_by_height
Definition: wallet_rpc_server_commands_defs.h:653
Definition: wallet_rpc_server_commands_defs.h:512
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:847
std::string description
Definition: wallet_rpc_server_commands_defs.h:940
std::string recipient_name
Definition: wallet_rpc_server_commands_defs.h:849
std::string note
Definition: wallet_rpc_server_commands_defs.h:624
std::string password
Definition: wallet_rpc_server_commands_defs.h:1052
std::string language
Definition: wallet_rpc_server_commands_defs.h:1053
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:220
std::list< std::string > tx_key_list
Definition: wallet_rpc_server_commands_defs.h:301
uint64_t mixin
Definition: wallet_rpc_server_commands_defs.h:266
Definition: wallet_rpc_server_commands_defs.h:778
std::vector< std::string > payment_ids
Definition: wallet_rpc_server_commands_defs.h:399
Definition: wallet_rpc_server_commands_defs.h:397
std::string address
Definition: wallet_rpc_server_commands_defs.h:758
uint64_t timestamp
Definition: wallet_rpc_server_commands_defs.h:360
std::list< payment_details > payments
Definition: wallet_rpc_server_commands_defs.h:410
std::string txid
Definition: wallet_rpc_server_commands_defs.h:618
Definition: wallet_rpc_server_commands_defs.h:768
Definition: wallet_rpc_server_commands_defs.h:734
std::vector< signed_key_image > signed_key_images
Definition: wallet_rpc_server_commands_defs.h:822
Definition: wallet_rpc_server_commands_defs.h:233
Definition: wallet_rpc_server_commands_defs.h:962
uint64_t min_height
Definition: wallet_rpc_server_commands_defs.h:654
std::string uri
Definition: wallet_rpc_server_commands_defs.h:868
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:167
Definition: wallet_rpc_server_commands_defs.h:68
Definition: wallet_rpc_server_commands_defs.h:56
std::list< std::string > tx_metadata_list
Definition: wallet_rpc_server_commands_defs.h:304
std::list< transfer_entry > in
Definition: wallet_rpc_server_commands_defs.h:671
Definition: wallet_rpc_server_commands_defs.h:1068
Definition: wallet_rpc_server_commands_defs.h:289
Definition: wallet_rpc_server_commands_defs.h:797
Definition: wallet_rpc_server_commands_defs.h:532
uint64_t max_height
Definition: wallet_rpc_server_commands_defs.h:655
Definition: wallet_rpc_server_commands_defs.h:585
Definition: wallet_rpc_server_commands_defs.h:216
Definition: wallet_rpc_server_commands_defs.h:348
bool get_tx_key
Definition: wallet_rpc_server_commands_defs.h:122
Definition: wallet_rpc_server_commands_defs.h:162
std::list< payment_details > payments
Definition: wallet_rpc_server_commands_defs.h:387
Definition: wallet_rpc_server_commands_defs.h:480
std::list< transfer_destination > destinations
Definition: wallet_rpc_server_commands_defs.h:117
Definition: wallet_rpc_server_commands_defs.h:1103
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:269
std::string old_password
Definition: wallet_rpc_server_commands_defs.h:1106
Definition: wallet_rpc_server_commands_defs.h:1049
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:124
bool out
Definition: wallet_rpc_server_commands_defs.h:648
uint64_t balance
Definition: wallet_rpc_server_commands_defs.h:58
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:223
Definition: wallet_rpc_server_commands_defs.h:1089
Various Tools.
Definition: base58.cpp:43
Definition: wallet_rpc_server_commands_defs.h:374
Definition: wallet_rpc_server_commands_defs.h:539
std::string txid
Definition: wallet_rpc_server_commands_defs.h:691
std::list< std::string > notes
Definition: wallet_rpc_server_commands_defs.h:559
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:939
bool get_tx_keys
Definition: wallet_rpc_server_commands_defs.h:169
Definition: wallet_rpc_server_commands_defs.h:645
uint64_t unspent
Definition: wallet_rpc_server_commands_defs.h:833
std::list< std::string > txids
Definition: wallet_rpc_server_commands_defs.h:578
std::list< uint64_t > fee_list
Definition: wallet_rpc_server_commands_defs.h:246
std::list< uint64_t > fee_list
Definition: wallet_rpc_server_commands_defs.h:201
Definition: wallet_rpc_server_commands_defs.h:866
Definition: wallet_rpc_server_commands_defs.h:995
transfer_entry transfer
Definition: wallet_rpc_server_commands_defs.h:700
bool do_background_mining
Definition: wallet_rpc_server_commands_defs.h:998
uint64_t fee
Definition: wallet_rpc_server_commands_defs.h:145
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:271
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:172
uint64_t global_index
Definition: wallet_rpc_server_commands_defs.h:422
Definition: wallet_rpc_server_commands_defs.h:710
Definition: wallet_rpc_server_commands_defs.h:446
std::string description
Definition: wallet_rpc_server_commands_defs.h:905
std::string new_password
Definition: wallet_rpc_server_commands_defs.h:1107
Definition: wallet_rpc_server_commands_defs.h:914
Definition: wallet_rpc_server_commands_defs.h:606
type
Definition: json.h:74
std::list< std::string > txids
Definition: wallet_rpc_server_commands_defs.h:558
std::string data
Definition: wallet_rpc_server_commands_defs.h:757
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:846
#define false
Definition: stdbool.h:38
std::list< transfer_entry > failed
Definition: wallet_rpc_server_commands_defs.h:674
Definition: wallet_rpc_server_commands_defs.h:1037
Definition: wallet_rpc_server_commands_defs.h:978
uint64_t height
Definition: wallet_rpc_server_commands_defs.h:96
std::list< std::string > keys
Definition: wallet_rpc_server_commands_defs.h:291
Definition: wallet_rpc_server_commands_defs.h:924
Definition: wallet_rpc_server_commands_defs.h:876
Definition: wallet_rpc_server_commands_defs.h:478
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:362
std::list< std::string > tx_blob_list
Definition: wallet_rpc_server_commands_defs.h:247
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:300
Definition: wallet_rpc_server_commands_defs.h:567
Definition: wallet_rpc_server_commands_defs.h:86
std::list< transfer_entry > out
Definition: wallet_rpc_server_commands_defs.h:672
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:244
Definition: wallet_rpc_server_commands_defs.h:809
Definition: wallet_rpc_server_commands_defs.h:698
Definition: wallet_rpc_server_commands_defs.h:541
Definition: wallet_rpc_server_commands_defs.h:960
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:327
Definition: wallet_rpc_server_commands_defs.h:103
Definition: wallet_rpc_server_commands_defs.h:725
Definition: wallet_rpc_server_commands_defs.h:576
std::string address
Definition: wallet_rpc_server_commands_defs.h:78
Definition: wallet_rpc_server_commands_defs.h:1061
std::list< transfer_details > transfers
Definition: wallet_rpc_server_commands_defs.h:448
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:222
Definition: wallet_rpc_server_commands_defs.h:1094
Definition: wallet_rpc_server_commands_defs.h:385
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:515
Definition: wallet_rpc_server_commands_defs.h:50
Definition: wallet_rpc_server_commands_defs.h:807
POD_CLASS signature
Definition: crypto.h:99
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:265
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:622
uint64_t height
Definition: wallet_rpc_server_commands_defs.h:831
Definition: wallet_rpc_server_commands_defs.h:262
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:358
std::vector< entry > entries
Definition: wallet_rpc_server_commands_defs.h:952
Definition: wallet_rpc_server_commands_defs.h:732
std::list< uint64_t > entries
Definition: wallet_rpc_server_commands_defs.h:928
std::list< uint64_t > amount_list
Definition: wallet_rpc_server_commands_defs.h:200
Definition: wallet_rpc_server_commands_defs.h:1015
uint64_t unlock_time
Definition: wallet_rpc_server_commands_defs.h:267
POD_CLASS key_image
Definition: crypto.h:93
bool get_tx_metadata
Definition: wallet_rpc_server_commands_defs.h:125
std::list< std::string > tx_blob_list
Definition: wallet_rpc_server_commands_defs.h:202
Definition: wallet_rpc_server_commands_defs.h:489
Definition: wallet_rpc_server_commands_defs.h:1101
std::string signature
Definition: wallet_rpc_server_commands_defs.h:759
std::string transfer_type
Definition: wallet_rpc_server_commands_defs.h:439
uint32_t priority
Definition: wallet_rpc_server_commands_defs.h:165
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:221
Definition: wallet_rpc_server_commands_defs.h:376
uint64_t tx_size
Definition: wallet_rpc_server_commands_defs.h:424
Definition: wallet_rpc_server_commands_defs.h:260
Definition: wallet_rpc_server_commands_defs.h:503
std::list< std::string > keys
Definition: wallet_rpc_server_commands_defs.h:189
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:964
std::list< std::string > tx_hash_list
Definition: wallet_rpc_server_commands_defs.h:198
Definition: wallet_rpc_server_commands_defs.h:160
std::string tx_hash
Definition: wallet_rpc_server_commands_defs.h:142
Definition: wallet_rpc_server_commands_defs.h:325
bool in
Definition: wallet_rpc_server_commands_defs.h:712
std::string address
Definition: wallet_rpc_server_commands_defs.h:845
bool do_not_relay
Definition: wallet_rpc_server_commands_defs.h:170
Definition: wallet_rpc_server_commands_defs.h:1080
std::list< std::string > amount_keys
Definition: wallet_rpc_server_commands_defs.h:144
std::list< std::string > notes
Definition: wallet_rpc_server_commands_defs.h:587
Definition: wallet_rpc_server_commands_defs.h:316
std::string address
Definition: wallet_rpc_server_commands_defs.h:264
Definition: wallet_rpc_server_commands_defs.h:318
Definition: wallet_rpc_server_commands_defs.h:342
Definition: wallet_rpc_server_commands_defs.h:218
Definition: wallet_rpc_server_commands_defs.h:1087
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:916
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:168
Definition: wallet_rpc_server_commands_defs.h:878
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:492
Definition: wallet_rpc_server_commands_defs.h:860
std::string filename
Definition: wallet_rpc_server_commands_defs.h:1105
std::list< std::string > tx_metadata_list
Definition: wallet_rpc_server_commands_defs.h:203
std::string signature
Definition: wallet_rpc_server_commands_defs.h:812
Definition: wallet_rpc_server_commands_defs.h:1023
std::string tx_key
Definition: wallet_rpc_server_commands_defs.h:143
Definition: wallet_rpc_server_commands_defs.h:574
Definition: wallet_rpc_server_commands_defs.h:971
Definition: wallet_rpc_server_commands_defs.h:597
std::string tx_description
Definition: wallet_rpc_server_commands_defs.h:848
Definition: wallet_rpc_server_commands_defs.h:526
uint64_t mixin
Definition: wallet_rpc_server_commands_defs.h:119
uint64_t index
Definition: wallet_rpc_server_commands_defs.h:937
std::string key
Definition: wallet_rpc_server_commands_defs.h:470
std::list< std::string > keys
Definition: wallet_rpc_server_commands_defs.h:235
std::vector< std::string > unknown_parameters
Definition: wallet_rpc_server_commands_defs.h:890
Definition: wallet_rpc_server_commands_defs.h:418
std::string data
Definition: wallet_rpc_server_commands_defs.h:736
std::string type
Definition: wallet_rpc_server_commands_defs.h:626
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:105
Definition: wallet_rpc_server_commands_defs.h:616
std::list< std::string > tx_metadata_list
Definition: wallet_rpc_server_commands_defs.h:248
Definition: wallet_rpc_server_commands_defs.h:70
Definition: wallet_rpc_server_commands_defs.h:743
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:482
std::string filename
Definition: wallet_rpc_server_commands_defs.h:1051
Definition: wallet_rpc_server_commands_defs.h:48
Definition: wallet_rpc_server_commands_defs.h:556
std::string integrated_address
Definition: wallet_rpc_server_commands_defs.h:505
std::string filename
Definition: wallet_rpc_server_commands_defs.h:1072
bool good
Definition: wallet_rpc_server_commands_defs.h:770
uint64_t max_height
Definition: wallet_rpc_server_commands_defs.h:715
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:619
std::list< transfer_entry > pending
Definition: wallet_rpc_server_commands_defs.h:673
Definition: wallet_rpc_server_commands_defs.h:935
bool spent
Definition: wallet_rpc_server_commands_defs.h:421
Definition: wallet_rpc_server_commands_defs.h:242
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:357
uint64_t min_height
Definition: wallet_rpc_server_commands_defs.h:714
std::string payment_id
Definition: wallet_rpc_server_commands_defs.h:121
bool get_tx_hex
Definition: wallet_rpc_server_commands_defs.h:171
uint64_t amount
Definition: wallet_rpc_server_commands_defs.h:420
Definition: wallet_rpc_server_commands_defs.h:820
std::string key_type
Definition: wallet_rpc_server_commands_defs.h:461
std::string signature
Definition: wallet_rpc_server_commands_defs.h:745