From 2dff74a71bd8ed34534e817f9316c72d81dae6f8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 12 May 2016 15:08:59 -0500 Subject: [PATCH] test --- iguana/SuperNET.c | 23 +- iguana/SuperNET_keys.c | 4 +- iguana/chart.html | 168 + iguana/iguana_instantdex.c | 8 +- iguana/iguana_rpc.c | 2 +- iguana/iguana_wallet.c | 6 + iguana/index.html | 126 + iguana/js/amcharts/amcharts.js | 391 + iguana/js/amcharts/amstock.js | 104 + iguana/js/amcharts/images/dragIcon.gif | Bin 0 -> 122 bytes iguana/js/amcharts/images/dragIconBlack.gif | Bin 0 -> 122 bytes iguana/js/amcharts/images/dragIconH.gif | Bin 0 -> 111 bytes iguana/js/amcharts/images/dragIconHBlack.gif | Bin 0 -> 111 bytes iguana/js/amcharts/images/dragIconRectBig.png | Bin 0 -> 1235 bytes iguana/js/amcharts/images/dragIconRectBig.svg | 15 + .../amcharts/images/dragIconRectBigBlack.png | Bin 0 -> 1205 bytes .../amcharts/images/dragIconRectBigBlack.svg | 14 + .../amcharts/images/dragIconRectBigBlackH.png | Bin 0 -> 681 bytes .../amcharts/images/dragIconRectBigBlackH.svg | 13 + .../js/amcharts/images/dragIconRectBigH.png | Bin 0 -> 715 bytes .../js/amcharts/images/dragIconRectBigH.svg | 13 + .../js/amcharts/images/dragIconRectSmall.png | Bin 0 -> 1110 bytes .../js/amcharts/images/dragIconRectSmall.svg | 15 + .../images/dragIconRectSmallBlack.png | Bin 0 -> 1087 bytes .../images/dragIconRectSmallBlack.svg | 15 + .../images/dragIconRectSmallBlackH.png | Bin 0 -> 1092 bytes .../images/dragIconRectSmallBlackH.svg | 15 + .../js/amcharts/images/dragIconRectSmallH.png | Bin 0 -> 1115 bytes .../js/amcharts/images/dragIconRectSmallH.svg | 15 + .../js/amcharts/images/dragIconRoundBig.png | Bin 0 -> 1333 bytes .../js/amcharts/images/dragIconRoundBig.svg | 15 + .../amcharts/images/dragIconRoundBigBlack.png | Bin 0 -> 1090 bytes .../amcharts/images/dragIconRoundBigBlack.svg | 15 + .../images/dragIconRoundBigBlackH.png | Bin 0 -> 1095 bytes .../images/dragIconRoundBigBlackH.svg | 15 + .../js/amcharts/images/dragIconRoundBigH.png | Bin 0 -> 1368 bytes .../js/amcharts/images/dragIconRoundBigH.svg | 15 + .../js/amcharts/images/dragIconRoundSmall.png | Bin 0 -> 1273 bytes .../js/amcharts/images/dragIconRoundSmall.svg | 15 + .../images/dragIconRoundSmallBlack.png | Bin 0 -> 1205 bytes .../images/dragIconRoundSmallBlack.svg | 15 + .../images/dragIconRoundSmallBlackH.png | Bin 0 -> 1190 bytes .../images/dragIconRoundSmallBlackH.svg | 15 + .../amcharts/images/dragIconRoundSmallH.png | Bin 0 -> 1274 bytes .../amcharts/images/dragIconRoundSmallH.svg | 15 + iguana/js/amcharts/images/eraserIcon.gif | Bin 0 -> 91 bytes iguana/js/amcharts/images/eraserIcon.png | Bin 0 -> 1706 bytes iguana/js/amcharts/images/eraserIcon.svg | 15 + iguana/js/amcharts/images/eraserIconH.gif | Bin 0 -> 107 bytes iguana/js/amcharts/images/eraserIconH.png | Bin 0 -> 1728 bytes iguana/js/amcharts/images/eraserIconH.svg | 15 + iguana/js/amcharts/images/export.png | Bin 0 -> 216 bytes iguana/js/amcharts/images/exportWhite.png | Bin 0 -> 213 bytes iguana/js/amcharts/images/lens.png | Bin 0 -> 1408 bytes iguana/js/amcharts/images/lens.svg | 7 + iguana/js/amcharts/images/lensWhite.png | Bin 0 -> 1313 bytes iguana/js/amcharts/images/lensWhite.svg | 7 + iguana/js/amcharts/images/lensWhite_old.png | Bin 0 -> 262 bytes iguana/js/amcharts/images/lens_old.png | Bin 0 -> 257 bytes iguana/js/amcharts/images/pencilIcon.gif | Bin 0 -> 97 bytes iguana/js/amcharts/images/pencilIcon.png | Bin 0 -> 1695 bytes iguana/js/amcharts/images/pencilIcon.svg | 22 + iguana/js/amcharts/images/pencilIconH.gif | Bin 0 -> 113 bytes iguana/js/amcharts/images/pencilIconH.png | Bin 0 -> 1677 bytes iguana/js/amcharts/images/pencilIconH.svg | 22 + iguana/js/amcharts/images/xIcon.gif | Bin 0 -> 93 bytes iguana/js/amcharts/images/xIcon.png | Bin 0 -> 1564 bytes iguana/js/amcharts/images/xIcon.svg | 7 + iguana/js/amcharts/images/xIconH.gif | Bin 0 -> 79 bytes iguana/js/amcharts/images/xIconH.png | Bin 0 -> 1194 bytes iguana/js/amcharts/images/xIconH.svg | 7 + iguana/js/amcharts/lang/az.js | 1 + iguana/js/amcharts/lang/bg.js | 1 + iguana/js/amcharts/lang/de.js | 1 + iguana/js/amcharts/lang/es.js | 1 + iguana/js/amcharts/lang/fi.js | 1 + iguana/js/amcharts/lang/fo.js | 1 + iguana/js/amcharts/lang/fr.js | 1 + iguana/js/amcharts/lang/hr.js | 1 + iguana/js/amcharts/lang/hu.js | 1 + iguana/js/amcharts/lang/id.js | 1 + iguana/js/amcharts/lang/is.js | 1 + iguana/js/amcharts/lang/it.js | 1 + iguana/js/amcharts/lang/ja.js | 1 + iguana/js/amcharts/lang/ko.js | 1 + iguana/js/amcharts/lang/lt.js | 1 + iguana/js/amcharts/lang/lv.js | 1 + iguana/js/amcharts/lang/mk.js | 1 + iguana/js/amcharts/lang/mn.js | 1 + iguana/js/amcharts/lang/mt.js | 1 + iguana/js/amcharts/lang/nl.js | 1 + iguana/js/amcharts/lang/no.js | 1 + iguana/js/amcharts/lang/pl.js | 1 + iguana/js/amcharts/lang/pt.js | 1 + iguana/js/amcharts/lang/ro.js | 1 + iguana/js/amcharts/lang/ru.js | 1 + iguana/js/amcharts/lang/rw.js | 1 + iguana/js/amcharts/lang/sk.js | 1 + iguana/js/amcharts/lang/so.js | 1 + iguana/js/amcharts/lang/th.js | 1 + iguana/js/amcharts/lang/tr.js | 1 + iguana/js/amcharts/lang/zh.js | 9 + .../js/amcharts/patterns/black/pattern1.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/black/pattern10.png | Bin 0 -> 155 bytes .../js/amcharts/patterns/black/pattern11.png | Bin 0 -> 161 bytes .../js/amcharts/patterns/black/pattern12.png | Bin 0 -> 161 bytes .../js/amcharts/patterns/black/pattern13.png | Bin 0 -> 153 bytes .../js/amcharts/patterns/black/pattern14.png | Bin 0 -> 160 bytes .../js/amcharts/patterns/black/pattern15.png | Bin 0 -> 157 bytes .../js/amcharts/patterns/black/pattern16.png | Bin 0 -> 160 bytes .../js/amcharts/patterns/black/pattern17.png | Bin 0 -> 162 bytes .../js/amcharts/patterns/black/pattern18.png | Bin 0 -> 155 bytes .../js/amcharts/patterns/black/pattern19.png | Bin 0 -> 160 bytes .../js/amcharts/patterns/black/pattern2.png | Bin 0 -> 161 bytes .../js/amcharts/patterns/black/pattern20.png | Bin 0 -> 161 bytes .../js/amcharts/patterns/black/pattern21.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/black/pattern3.png | Bin 0 -> 156 bytes .../js/amcharts/patterns/black/pattern4.png | Bin 0 -> 154 bytes .../js/amcharts/patterns/black/pattern5.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/black/pattern6.png | Bin 0 -> 155 bytes .../js/amcharts/patterns/black/pattern7.png | Bin 0 -> 153 bytes .../js/amcharts/patterns/black/pattern8.png | Bin 0 -> 160 bytes .../js/amcharts/patterns/black/pattern9.png | Bin 0 -> 153 bytes .../js/amcharts/patterns/chalk/pattern1.jpg | Bin 0 -> 116199 bytes .../js/amcharts/patterns/chalk/pattern1r.jpg | Bin 0 -> 113803 bytes .../js/amcharts/patterns/chalk/pattern2.jpg | Bin 0 -> 116889 bytes .../js/amcharts/patterns/chalk/pattern3.jpg | Bin 0 -> 163966 bytes .../js/amcharts/patterns/chalk/pattern4.jpg | Bin 0 -> 163538 bytes .../js/amcharts/patterns/chalk/pattern5.jpg | Bin 0 -> 177475 bytes .../js/amcharts/patterns/chalk/pattern6.jpg | Bin 0 -> 146193 bytes .../js/amcharts/patterns/white/pattern1.png | Bin 0 -> 156 bytes .../js/amcharts/patterns/white/pattern10.png | Bin 0 -> 155 bytes .../js/amcharts/patterns/white/pattern11.png | Bin 0 -> 159 bytes .../js/amcharts/patterns/white/pattern12.png | Bin 0 -> 160 bytes .../js/amcharts/patterns/white/pattern13.png | Bin 0 -> 154 bytes .../js/amcharts/patterns/white/pattern14.png | Bin 0 -> 161 bytes .../js/amcharts/patterns/white/pattern15.png | Bin 0 -> 155 bytes .../js/amcharts/patterns/white/pattern16.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/white/pattern17.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/white/pattern18.png | Bin 0 -> 155 bytes .../js/amcharts/patterns/white/pattern19.png | Bin 0 -> 159 bytes .../js/amcharts/patterns/white/pattern2.png | Bin 0 -> 157 bytes .../js/amcharts/patterns/white/pattern20.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/white/pattern21.png | Bin 0 -> 158 bytes .../js/amcharts/patterns/white/pattern3.png | Bin 0 -> 146 bytes .../js/amcharts/patterns/white/pattern4.png | Bin 0 -> 154 bytes .../js/amcharts/patterns/white/pattern5.png | Bin 0 -> 159 bytes .../js/amcharts/patterns/white/pattern6.png | Bin 0 -> 161 bytes .../js/amcharts/patterns/white/pattern7.png | Bin 0 -> 154 bytes .../js/amcharts/patterns/white/pattern8.png | Bin 0 -> 160 bytes .../js/amcharts/patterns/white/pattern9.png | Bin 0 -> 155 bytes .../amcharts/plugins/dataloader/dataloader.js | 744 + .../plugins/dataloader/dataloader.min.js | 1 + .../plugins/dataloader/examples/data/MSFT.csv | 3674 + .../dataloader/examples/data/MSFT_events.csv | 56 + .../plugins/dataloader/examples/data/TXN.csv | 3674 + .../dataloader/examples/data/gantt.json | 237 + .../dataloader/examples/data/gauge.json | 25 + .../plugins/dataloader/examples/data/map.json | 155 + .../dataloader/examples/data/map_areas.json | 152 + .../plugins/dataloader/examples/data/pie.csv | 8 + .../plugins/dataloader/examples/data/pie.json | 22 + .../dataloader/examples/data/serial.csv | 20 + .../dataloader/examples/data/serial.json | 96 + .../dataloader/examples/data/serial2.json | 21 + .../dataloader/examples/gantt_json.html | 70 + .../dataloader/examples/gauge_json.html | 58 + .../plugins/dataloader/examples/map_json.html | 47 + .../examples/map_json_external_function.html | 55 + .../plugins/dataloader/examples/pie_csv.html | 58 + .../plugins/dataloader/examples/pie_json.html | 44 + .../dataloader/examples/serial2_json.html | 85 + .../dataloader/examples/serial_csv.html | 112 + .../dataloader/examples/serial_json.html | 108 + .../examples/serial_with_dynamic_graphs.html | 100 + .../examples/stock_csv_data_and_events.html | 312 + .../examples/stock_csv_progressbar.html | 371 + .../js/amcharts/plugins/dataloader/lang/en.js | 6 + .../js/amcharts/plugins/dataloader/lang/fr.js | 6 + .../js/amcharts/plugins/dataloader/lang/lt.js | 6 + .../amcharts/plugins/dataloader/license.txt | 201 + .../js/amcharts/plugins/dataloader/readme.md | 374 + iguana/js/amcharts/plugins/export/LICENSE | 202 + iguana/js/amcharts/plugins/export/README.md | 1149 + .../export/examples/export.config.advanced.js | 277 + .../export/examples/export.config.default.js | 84 + .../plugins/export/examples/funnel.html | 80 + .../plugins/export/examples/gantt.html | 311 + .../plugins/export/examples/gauge.html | 77 + .../export/examples/images/bicycle.png | Bin 0 -> 1177 bytes .../plugins/export/examples/images/car.png | Bin 0 -> 759 bytes .../export/examples/images/motorcycle.png | Bin 0 -> 1020 bytes .../plugins/export/examples/index.html | 62 + .../amcharts/plugins/export/examples/map.html | 209 + .../plugins/export/examples/pie1.html | 72 + .../plugins/export/examples/pie2.html | 97 + .../plugins/export/examples/pie3.html | 84 + .../plugins/export/examples/pie4.html | 101 + .../plugins/export/examples/radar.html | 92 + .../plugins/export/examples/serial1.html | 213 + .../plugins/export/examples/serial2.html | 112 + .../plugins/export/examples/serial3.html | 112 + .../plugins/export/examples/stock.html | 223 + .../amcharts/plugins/export/examples/xy.html | 139 + iguana/js/amcharts/plugins/export/export.css | 348 + iguana/js/amcharts/plugins/export/export.js | 3239 + .../js/amcharts/plugins/export/export.min.js | 2 + iguana/js/amcharts/plugins/export/lang/de.js | 29 + iguana/js/amcharts/plugins/export/lang/en.js | 29 + iguana/js/amcharts/plugins/export/lang/fr.js | 29 + iguana/js/amcharts/plugins/export/lang/ko.js | 29 + iguana/js/amcharts/plugins/export/lang/lt.js | 29 + iguana/js/amcharts/plugins/export/lang/pl.js | 29 + iguana/js/amcharts/plugins/export/lang/pt.js | 35 + .../export/libs/FileSaver.js/FileSaver.js | 253 + .../export/libs/FileSaver.js/FileSaver.min.js | 2 + .../plugins/export/libs/blob.js/blob.js | 211 + .../plugins/export/libs/fabric.js/fabric.js | 23452 ++++++ .../export/libs/fabric.js/fabric.min.js | 15 + .../plugins/export/libs/jszip/jszip.js | 9155 +++ .../plugins/export/libs/jszip/jszip.min.js | 14 + .../plugins/export/libs/pdfmake/pdfmake.js | 66555 ++++++++++++++++ .../export/libs/pdfmake/pdfmake.min.js | 18 + .../export/libs/pdfmake/pdfmake.min.js.map | 1 + .../plugins/export/libs/pdfmake/vfs_fonts.js | 1 + .../amcharts/plugins/export/libs/xlsx/LICENSE | 17 + .../amcharts/plugins/export/libs/xlsx/xlsx.js | 11654 +++ .../plugins/export/libs/xlsx/xlsx.min.js | 9 + .../plugins/export/libs/xlsx/xlsx.min.map | 1 + .../js/amcharts/plugins/export/shapes/1.svg | 1 + .../js/amcharts/plugins/export/shapes/10.svg | 1 + .../js/amcharts/plugins/export/shapes/11.svg | 1 + .../js/amcharts/plugins/export/shapes/12.svg | 1 + .../js/amcharts/plugins/export/shapes/13.svg | 1 + .../js/amcharts/plugins/export/shapes/14.svg | 1 + .../js/amcharts/plugins/export/shapes/15.svg | 1 + .../js/amcharts/plugins/export/shapes/16.svg | 1 + .../js/amcharts/plugins/export/shapes/17.svg | 1 + .../js/amcharts/plugins/export/shapes/18.svg | 1 + .../js/amcharts/plugins/export/shapes/19.svg | 1 + .../js/amcharts/plugins/export/shapes/2.svg | 1 + .../js/amcharts/plugins/export/shapes/20.svg | 1 + .../js/amcharts/plugins/export/shapes/21.svg | 1 + .../js/amcharts/plugins/export/shapes/22.svg | 1 + .../js/amcharts/plugins/export/shapes/23.svg | 1 + .../js/amcharts/plugins/export/shapes/24.svg | 1 + .../js/amcharts/plugins/export/shapes/25.svg | 1 + .../js/amcharts/plugins/export/shapes/26.svg | 1 + .../js/amcharts/plugins/export/shapes/27.svg | 1 + .../js/amcharts/plugins/export/shapes/28.svg | 1 + .../js/amcharts/plugins/export/shapes/29.svg | 1 + .../js/amcharts/plugins/export/shapes/3.svg | 1 + .../js/amcharts/plugins/export/shapes/30.svg | 1 + .../js/amcharts/plugins/export/shapes/31.svg | 1 + .../js/amcharts/plugins/export/shapes/4.svg | 1 + .../js/amcharts/plugins/export/shapes/5.svg | 1 + .../js/amcharts/plugins/export/shapes/6.svg | 1 + .../js/amcharts/plugins/export/shapes/7.svg | 1 + .../js/amcharts/plugins/export/shapes/8.svg | 1 + .../js/amcharts/plugins/export/shapes/9.svg | 1 + .../plugins/responsive/examples/funnel.html | 71 + .../plugins/responsive/examples/gantt.html | 304 + .../plugins/responsive/examples/gauge.html | 71 + .../responsive/examples/images/bicycle.png | Bin 0 -> 1177 bytes .../responsive/examples/images/car.png | Bin 0 -> 759 bytes .../responsive/examples/images/motorcycle.png | Bin 0 -> 1020 bytes .../plugins/responsive/examples/index.html | 112 + .../plugins/responsive/examples/map.html | 198 + .../plugins/responsive/examples/pie1.html | 71 + .../plugins/responsive/examples/pie2.html | 73 + .../plugins/responsive/examples/pie3.html | 106 + .../plugins/responsive/examples/radar.html | 67 + .../plugins/responsive/examples/serial1.html | 203 + .../plugins/responsive/examples/serial2.html | 84 + .../plugins/responsive/examples/serial3.html | 103 + .../plugins/responsive/examples/stock.html | 210 + .../plugins/responsive/examples/xy.html | 145 + .../amcharts/plugins/responsive/license.txt | 201 + .../js/amcharts/plugins/responsive/readme.md | 363 + .../amcharts/plugins/responsive/responsive.js | 1245 + .../plugins/responsive/responsive.min.js | 2 + .../plugins/responsive/responsive.min.js.map | 8 + iguana/js/amcharts/serial.js | 93 + iguana/js/amcharts/style.css | 66 + iguana/js/amcharts/themes/black.js | 196 + iguana/js/amcharts/themes/chalk.js | 213 + iguana/js/amcharts/themes/dark.js | 195 + iguana/js/amcharts/themes/light.js | 189 + iguana/js/amcharts/themes/patterns.js | 256 + iguana/js/amcharts_licence.txt | 16 + iguana/js/style.css | 10 + 291 files changed, 135840 insertions(+), 20 deletions(-) create mode 100755 iguana/chart.html create mode 100755 iguana/js/amcharts/amcharts.js create mode 100755 iguana/js/amcharts/amstock.js create mode 100755 iguana/js/amcharts/images/dragIcon.gif create mode 100755 iguana/js/amcharts/images/dragIconBlack.gif create mode 100755 iguana/js/amcharts/images/dragIconH.gif create mode 100755 iguana/js/amcharts/images/dragIconHBlack.gif create mode 100755 iguana/js/amcharts/images/dragIconRectBig.png create mode 100755 iguana/js/amcharts/images/dragIconRectBig.svg create mode 100755 iguana/js/amcharts/images/dragIconRectBigBlack.png create mode 100755 iguana/js/amcharts/images/dragIconRectBigBlack.svg create mode 100755 iguana/js/amcharts/images/dragIconRectBigBlackH.png create mode 100755 iguana/js/amcharts/images/dragIconRectBigBlackH.svg create mode 100755 iguana/js/amcharts/images/dragIconRectBigH.png create mode 100755 iguana/js/amcharts/images/dragIconRectBigH.svg create mode 100755 iguana/js/amcharts/images/dragIconRectSmall.png create mode 100755 iguana/js/amcharts/images/dragIconRectSmall.svg create mode 100755 iguana/js/amcharts/images/dragIconRectSmallBlack.png create mode 100755 iguana/js/amcharts/images/dragIconRectSmallBlack.svg create mode 100755 iguana/js/amcharts/images/dragIconRectSmallBlackH.png create mode 100755 iguana/js/amcharts/images/dragIconRectSmallBlackH.svg create mode 100755 iguana/js/amcharts/images/dragIconRectSmallH.png create mode 100755 iguana/js/amcharts/images/dragIconRectSmallH.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundBig.png create mode 100755 iguana/js/amcharts/images/dragIconRoundBig.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundBigBlack.png create mode 100755 iguana/js/amcharts/images/dragIconRoundBigBlack.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundBigBlackH.png create mode 100755 iguana/js/amcharts/images/dragIconRoundBigBlackH.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundBigH.png create mode 100755 iguana/js/amcharts/images/dragIconRoundBigH.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundSmall.png create mode 100755 iguana/js/amcharts/images/dragIconRoundSmall.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundSmallBlack.png create mode 100755 iguana/js/amcharts/images/dragIconRoundSmallBlack.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundSmallBlackH.png create mode 100755 iguana/js/amcharts/images/dragIconRoundSmallBlackH.svg create mode 100755 iguana/js/amcharts/images/dragIconRoundSmallH.png create mode 100755 iguana/js/amcharts/images/dragIconRoundSmallH.svg create mode 100755 iguana/js/amcharts/images/eraserIcon.gif create mode 100755 iguana/js/amcharts/images/eraserIcon.png create mode 100755 iguana/js/amcharts/images/eraserIcon.svg create mode 100755 iguana/js/amcharts/images/eraserIconH.gif create mode 100755 iguana/js/amcharts/images/eraserIconH.png create mode 100755 iguana/js/amcharts/images/eraserIconH.svg create mode 100755 iguana/js/amcharts/images/export.png create mode 100755 iguana/js/amcharts/images/exportWhite.png create mode 100755 iguana/js/amcharts/images/lens.png create mode 100755 iguana/js/amcharts/images/lens.svg create mode 100755 iguana/js/amcharts/images/lensWhite.png create mode 100755 iguana/js/amcharts/images/lensWhite.svg create mode 100755 iguana/js/amcharts/images/lensWhite_old.png create mode 100755 iguana/js/amcharts/images/lens_old.png create mode 100755 iguana/js/amcharts/images/pencilIcon.gif create mode 100755 iguana/js/amcharts/images/pencilIcon.png create mode 100755 iguana/js/amcharts/images/pencilIcon.svg create mode 100755 iguana/js/amcharts/images/pencilIconH.gif create mode 100755 iguana/js/amcharts/images/pencilIconH.png create mode 100755 iguana/js/amcharts/images/pencilIconH.svg create mode 100755 iguana/js/amcharts/images/xIcon.gif create mode 100755 iguana/js/amcharts/images/xIcon.png create mode 100755 iguana/js/amcharts/images/xIcon.svg create mode 100755 iguana/js/amcharts/images/xIconH.gif create mode 100755 iguana/js/amcharts/images/xIconH.png create mode 100755 iguana/js/amcharts/images/xIconH.svg create mode 100755 iguana/js/amcharts/lang/az.js create mode 100755 iguana/js/amcharts/lang/bg.js create mode 100755 iguana/js/amcharts/lang/de.js create mode 100755 iguana/js/amcharts/lang/es.js create mode 100755 iguana/js/amcharts/lang/fi.js create mode 100755 iguana/js/amcharts/lang/fo.js create mode 100755 iguana/js/amcharts/lang/fr.js create mode 100755 iguana/js/amcharts/lang/hr.js create mode 100755 iguana/js/amcharts/lang/hu.js create mode 100755 iguana/js/amcharts/lang/id.js create mode 100755 iguana/js/amcharts/lang/is.js create mode 100755 iguana/js/amcharts/lang/it.js create mode 100755 iguana/js/amcharts/lang/ja.js create mode 100755 iguana/js/amcharts/lang/ko.js create mode 100755 iguana/js/amcharts/lang/lt.js create mode 100755 iguana/js/amcharts/lang/lv.js create mode 100755 iguana/js/amcharts/lang/mk.js create mode 100755 iguana/js/amcharts/lang/mn.js create mode 100755 iguana/js/amcharts/lang/mt.js create mode 100755 iguana/js/amcharts/lang/nl.js create mode 100755 iguana/js/amcharts/lang/no.js create mode 100755 iguana/js/amcharts/lang/pl.js create mode 100755 iguana/js/amcharts/lang/pt.js create mode 100755 iguana/js/amcharts/lang/ro.js create mode 100755 iguana/js/amcharts/lang/ru.js create mode 100755 iguana/js/amcharts/lang/rw.js create mode 100755 iguana/js/amcharts/lang/sk.js create mode 100755 iguana/js/amcharts/lang/so.js create mode 100755 iguana/js/amcharts/lang/th.js create mode 100755 iguana/js/amcharts/lang/tr.js create mode 100755 iguana/js/amcharts/lang/zh.js create mode 100755 iguana/js/amcharts/patterns/black/pattern1.png create mode 100755 iguana/js/amcharts/patterns/black/pattern10.png create mode 100755 iguana/js/amcharts/patterns/black/pattern11.png create mode 100755 iguana/js/amcharts/patterns/black/pattern12.png create mode 100755 iguana/js/amcharts/patterns/black/pattern13.png create mode 100755 iguana/js/amcharts/patterns/black/pattern14.png create mode 100755 iguana/js/amcharts/patterns/black/pattern15.png create mode 100755 iguana/js/amcharts/patterns/black/pattern16.png create mode 100755 iguana/js/amcharts/patterns/black/pattern17.png create mode 100755 iguana/js/amcharts/patterns/black/pattern18.png create mode 100755 iguana/js/amcharts/patterns/black/pattern19.png create mode 100755 iguana/js/amcharts/patterns/black/pattern2.png create mode 100755 iguana/js/amcharts/patterns/black/pattern20.png create mode 100755 iguana/js/amcharts/patterns/black/pattern21.png create mode 100755 iguana/js/amcharts/patterns/black/pattern3.png create mode 100755 iguana/js/amcharts/patterns/black/pattern4.png create mode 100755 iguana/js/amcharts/patterns/black/pattern5.png create mode 100755 iguana/js/amcharts/patterns/black/pattern6.png create mode 100755 iguana/js/amcharts/patterns/black/pattern7.png create mode 100755 iguana/js/amcharts/patterns/black/pattern8.png create mode 100755 iguana/js/amcharts/patterns/black/pattern9.png create mode 100755 iguana/js/amcharts/patterns/chalk/pattern1.jpg create mode 100755 iguana/js/amcharts/patterns/chalk/pattern1r.jpg create mode 100755 iguana/js/amcharts/patterns/chalk/pattern2.jpg create mode 100755 iguana/js/amcharts/patterns/chalk/pattern3.jpg create mode 100755 iguana/js/amcharts/patterns/chalk/pattern4.jpg create mode 100755 iguana/js/amcharts/patterns/chalk/pattern5.jpg create mode 100755 iguana/js/amcharts/patterns/chalk/pattern6.jpg create mode 100755 iguana/js/amcharts/patterns/white/pattern1.png create mode 100755 iguana/js/amcharts/patterns/white/pattern10.png create mode 100755 iguana/js/amcharts/patterns/white/pattern11.png create mode 100755 iguana/js/amcharts/patterns/white/pattern12.png create mode 100755 iguana/js/amcharts/patterns/white/pattern13.png create mode 100755 iguana/js/amcharts/patterns/white/pattern14.png create mode 100755 iguana/js/amcharts/patterns/white/pattern15.png create mode 100755 iguana/js/amcharts/patterns/white/pattern16.png create mode 100755 iguana/js/amcharts/patterns/white/pattern17.png create mode 100755 iguana/js/amcharts/patterns/white/pattern18.png create mode 100755 iguana/js/amcharts/patterns/white/pattern19.png create mode 100755 iguana/js/amcharts/patterns/white/pattern2.png create mode 100755 iguana/js/amcharts/patterns/white/pattern20.png create mode 100755 iguana/js/amcharts/patterns/white/pattern21.png create mode 100755 iguana/js/amcharts/patterns/white/pattern3.png create mode 100755 iguana/js/amcharts/patterns/white/pattern4.png create mode 100755 iguana/js/amcharts/patterns/white/pattern5.png create mode 100755 iguana/js/amcharts/patterns/white/pattern6.png create mode 100755 iguana/js/amcharts/patterns/white/pattern7.png create mode 100755 iguana/js/amcharts/patterns/white/pattern8.png create mode 100755 iguana/js/amcharts/patterns/white/pattern9.png create mode 100755 iguana/js/amcharts/plugins/dataloader/dataloader.js create mode 100755 iguana/js/amcharts/plugins/dataloader/dataloader.min.js create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/MSFT.csv create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/MSFT_events.csv create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/TXN.csv create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/gantt.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/gauge.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/map.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/map_areas.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/pie.csv create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/pie.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/serial.csv create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/serial.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/data/serial2.json create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/gantt_json.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/gauge_json.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/map_json.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/map_json_external_function.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/pie_csv.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/pie_json.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/serial2_json.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/serial_csv.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/serial_json.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/serial_with_dynamic_graphs.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/stock_csv_data_and_events.html create mode 100755 iguana/js/amcharts/plugins/dataloader/examples/stock_csv_progressbar.html create mode 100755 iguana/js/amcharts/plugins/dataloader/lang/en.js create mode 100755 iguana/js/amcharts/plugins/dataloader/lang/fr.js create mode 100755 iguana/js/amcharts/plugins/dataloader/lang/lt.js create mode 100755 iguana/js/amcharts/plugins/dataloader/license.txt create mode 100755 iguana/js/amcharts/plugins/dataloader/readme.md create mode 100755 iguana/js/amcharts/plugins/export/LICENSE create mode 100755 iguana/js/amcharts/plugins/export/README.md create mode 100755 iguana/js/amcharts/plugins/export/examples/export.config.advanced.js create mode 100755 iguana/js/amcharts/plugins/export/examples/export.config.default.js create mode 100755 iguana/js/amcharts/plugins/export/examples/funnel.html create mode 100755 iguana/js/amcharts/plugins/export/examples/gantt.html create mode 100755 iguana/js/amcharts/plugins/export/examples/gauge.html create mode 100755 iguana/js/amcharts/plugins/export/examples/images/bicycle.png create mode 100755 iguana/js/amcharts/plugins/export/examples/images/car.png create mode 100755 iguana/js/amcharts/plugins/export/examples/images/motorcycle.png create mode 100755 iguana/js/amcharts/plugins/export/examples/index.html create mode 100755 iguana/js/amcharts/plugins/export/examples/map.html create mode 100755 iguana/js/amcharts/plugins/export/examples/pie1.html create mode 100755 iguana/js/amcharts/plugins/export/examples/pie2.html create mode 100755 iguana/js/amcharts/plugins/export/examples/pie3.html create mode 100755 iguana/js/amcharts/plugins/export/examples/pie4.html create mode 100755 iguana/js/amcharts/plugins/export/examples/radar.html create mode 100755 iguana/js/amcharts/plugins/export/examples/serial1.html create mode 100755 iguana/js/amcharts/plugins/export/examples/serial2.html create mode 100755 iguana/js/amcharts/plugins/export/examples/serial3.html create mode 100755 iguana/js/amcharts/plugins/export/examples/stock.html create mode 100755 iguana/js/amcharts/plugins/export/examples/xy.html create mode 100755 iguana/js/amcharts/plugins/export/export.css create mode 100755 iguana/js/amcharts/plugins/export/export.js create mode 100755 iguana/js/amcharts/plugins/export/export.min.js create mode 100755 iguana/js/amcharts/plugins/export/lang/de.js create mode 100755 iguana/js/amcharts/plugins/export/lang/en.js create mode 100755 iguana/js/amcharts/plugins/export/lang/fr.js create mode 100755 iguana/js/amcharts/plugins/export/lang/ko.js create mode 100755 iguana/js/amcharts/plugins/export/lang/lt.js create mode 100755 iguana/js/amcharts/plugins/export/lang/pl.js create mode 100755 iguana/js/amcharts/plugins/export/lang/pt.js create mode 100755 iguana/js/amcharts/plugins/export/libs/FileSaver.js/FileSaver.js create mode 100755 iguana/js/amcharts/plugins/export/libs/FileSaver.js/FileSaver.min.js create mode 100755 iguana/js/amcharts/plugins/export/libs/blob.js/blob.js create mode 100755 iguana/js/amcharts/plugins/export/libs/fabric.js/fabric.js create mode 100755 iguana/js/amcharts/plugins/export/libs/fabric.js/fabric.min.js create mode 100755 iguana/js/amcharts/plugins/export/libs/jszip/jszip.js create mode 100755 iguana/js/amcharts/plugins/export/libs/jszip/jszip.min.js create mode 100755 iguana/js/amcharts/plugins/export/libs/pdfmake/pdfmake.js create mode 100755 iguana/js/amcharts/plugins/export/libs/pdfmake/pdfmake.min.js create mode 100755 iguana/js/amcharts/plugins/export/libs/pdfmake/pdfmake.min.js.map create mode 100755 iguana/js/amcharts/plugins/export/libs/pdfmake/vfs_fonts.js create mode 100755 iguana/js/amcharts/plugins/export/libs/xlsx/LICENSE create mode 100755 iguana/js/amcharts/plugins/export/libs/xlsx/xlsx.js create mode 100755 iguana/js/amcharts/plugins/export/libs/xlsx/xlsx.min.js create mode 100755 iguana/js/amcharts/plugins/export/libs/xlsx/xlsx.min.map create mode 100755 iguana/js/amcharts/plugins/export/shapes/1.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/10.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/11.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/12.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/13.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/14.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/15.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/16.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/17.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/18.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/19.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/2.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/20.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/21.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/22.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/23.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/24.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/25.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/26.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/27.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/28.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/29.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/3.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/30.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/31.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/4.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/5.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/6.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/7.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/8.svg create mode 100755 iguana/js/amcharts/plugins/export/shapes/9.svg create mode 100755 iguana/js/amcharts/plugins/responsive/examples/funnel.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/gantt.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/gauge.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/images/bicycle.png create mode 100755 iguana/js/amcharts/plugins/responsive/examples/images/car.png create mode 100755 iguana/js/amcharts/plugins/responsive/examples/images/motorcycle.png create mode 100755 iguana/js/amcharts/plugins/responsive/examples/index.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/map.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/pie1.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/pie2.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/pie3.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/radar.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/serial1.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/serial2.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/serial3.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/stock.html create mode 100755 iguana/js/amcharts/plugins/responsive/examples/xy.html create mode 100755 iguana/js/amcharts/plugins/responsive/license.txt create mode 100755 iguana/js/amcharts/plugins/responsive/readme.md create mode 100755 iguana/js/amcharts/plugins/responsive/responsive.js create mode 100755 iguana/js/amcharts/plugins/responsive/responsive.min.js create mode 100755 iguana/js/amcharts/plugins/responsive/responsive.min.js.map create mode 100755 iguana/js/amcharts/serial.js create mode 100755 iguana/js/amcharts/style.css create mode 100755 iguana/js/amcharts/themes/black.js create mode 100755 iguana/js/amcharts/themes/chalk.js create mode 100755 iguana/js/amcharts/themes/dark.js create mode 100755 iguana/js/amcharts/themes/light.js create mode 100755 iguana/js/amcharts/themes/patterns.js create mode 100755 iguana/js/amcharts_licence.txt create mode 100755 iguana/js/style.css diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index 0cc2ef705..9d69f7880 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -1410,27 +1410,21 @@ struct supernet_info *SuperNET_accountfind(cJSON *json) FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase) { - char *argstr,*str,*decryptstr = 0; cJSON *argjson; //uint32_t expire = myinfo->expiration; //savehandle[1024],savepassword[1024],savepermanentfile[1024] + char *argstr,*str,*decryptstr = 0; cJSON *argjson; if ( remoteaddr != 0 ) return(clonestr("{\"error\":\"no remote\"}")); - //safecopy(savehandle,myinfo->handle,sizeof(myinfo->handle)); - //safecopy(savepassword,myinfo->secret,sizeof(myinfo->secret)); - //safecopy(savepermanentfile,myinfo->permanentfile,sizeof(myinfo->permanentfile)); - //if ( bits256_nonz(myinfo->persistent_priv) != 0 && (str= SuperNET_logout(IGUANA_CALLARGS)) != 0 ) - // free(str); - //myinfo->expiration = expire; if ( handle != 0 && handle[0] != 0 ) safecopy(myinfo->handle,handle,sizeof(myinfo->handle)); else memset(myinfo->handle,0,sizeof(myinfo->handle)); - if ( password != 0 && password[0] != 0 ) + if ( password == 0 || password[0] == 0 ) + password = passphrase; + /*if ( password != 0 && password[0] != 0 ) safecopy(myinfo->secret,password,sizeof(myinfo->secret)); else if ( passphrase != 0 && passphrase[0] != 0 ) - safecopy(myinfo->secret,passphrase,sizeof(myinfo->secret)); - //else memset(myinfo->secret,0,sizeof(myinfo->secret)); + safecopy(myinfo->secret,passphrase,sizeof(myinfo->secret));*/ if ( permanentfile != 0 ) safecopy(myinfo->permanentfile,permanentfile,sizeof(myinfo->permanentfile)); - //else memset(myinfo->permanentfile,0,sizeof(myinfo->permanentfile)); - if ( (decryptstr= SuperNET_decryptjson(IGUANA_CALLARGS,myinfo->secret,myinfo->permanentfile)) != 0 ) + if ( (decryptstr= SuperNET_decryptjson(IGUANA_CALLARGS,password,myinfo->permanentfile)) != 0 ) { if ( (argjson= cJSON_Parse(decryptstr)) != 0 ) { @@ -1472,12 +1466,11 @@ FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase) } else argjson = cJSON_CreateObject(); jaddstr(argjson,"passphrase",passphrase); argstr = jprint(argjson,1); - if ( (str= SuperNET_encryptjson(IGUANA_CALLARGS,myinfo->secret,myinfo->permanentfile,argstr)) != 0 ) + if ( (str= SuperNET_encryptjson(IGUANA_CALLARGS,password,myinfo->permanentfile,argstr)) != 0 ) free(str); free(argstr); return(SuperNET_activehandle(IGUANA_CALLARGS)); - } - else return(clonestr("{\"error\":\"need passphrase\"}")); + } else return(clonestr("{\"error\":\"need passphrase\"}")); printf("logged into (%s) %s %s\n",myinfo->myaddr.NXTADDR,myinfo->myaddr.BTC,myinfo->myaddr.BTCD); return(SuperNET_activehandle(IGUANA_CALLARGS)); } diff --git a/iguana/SuperNET_keys.c b/iguana/SuperNET_keys.c index 999ed6c0e..0864afa9f 100755 --- a/iguana/SuperNET_keys.c +++ b/iguana/SuperNET_keys.c @@ -202,7 +202,7 @@ cJSON *SuperNET_decryptedjson(char *destfname,char *passphrase,int32_t passsize, wallethash = SuperNET_linehash(passphrase); SuperNET_linehash(fname2fa); // maps special chars wallet2priv = SuperNET_wallet2priv(fname2fa,wallethash); - //char str[65],str2[65]; printf("(%s + %s) -> wallethash.%s 2.(%s)\n",passphrase,fname2fa,bits256_str(str,wallethash),bits256_str(str2,wallet2priv)); + char str[65],str2[65]; printf("(%s + %s) -> wallethash.%s 2.(%s)\n",passphrase,fname2fa,bits256_str(str,wallethash),bits256_str(str2,wallet2priv)); } first = (bits256_nonz(wallethash) != 0 && bits256_cmp(wallethash,GENESIS_PRIVKEY) != 0); second = (bits256_nonz(wallet2priv) != 0 && bits256_cmp(wallet2priv,GENESIS_PRIVKEY) != 0); @@ -213,7 +213,7 @@ cJSON *SuperNET_decryptedjson(char *destfname,char *passphrase,int32_t passsize, wallet2shared = SuperNET_wallet2shared(wallethash,wallet2priv); wallet2pub = curve25519(wallet2shared,curve25519_basepoint9()); sprintf(destfname,"confs/%s",bits256_str(str,wallet2pub)); - //printf("fname.(%s) wallet2pub.%s < [%s, %s]\n",destfname,bits256_str(str,wallet2pub),passphrase,fname2fa); + printf("fname.(%s) wallet2pub.%s < [%s, %s]\n",destfname,bits256_str(str,wallet2pub),passphrase,fname2fa); if ( (confstr= OS_filestr(&allocsize,destfname)) != 0 ) { if ( (filejson= cJSON_Parse(confstr)) != 0 ) diff --git a/iguana/chart.html b/iguana/chart.html new file mode 100755 index 000000000..510a34544 --- /dev/null +++ b/iguana/chart.html @@ -0,0 +1,168 @@ + + + + + amStock Example + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/iguana/iguana_instantdex.c b/iguana/iguana_instantdex.c index 43e1efd14..ae3b19d5f 100755 --- a/iguana/iguana_instantdex.c +++ b/iguana/iguana_instantdex.c @@ -885,7 +885,8 @@ int32_t instantdex_quoterequest(struct supernet_info *myinfo,struct iguana_info int32_t instantdex_quotep2p(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_peer *addr,uint8_t *serialized,int32_t recvlen) { - bits256 orderhash,encodedhash; int32_t checklen; struct instantdex_accept A,*ap; struct exchange_info *exchange = exchanges777_find("bitcoin"); //char hexstr[8192]; + bits256 orderhash,encodedhash; int32_t checklen; struct instantdex_accept A,*ap; struct exchange_info *exchange; char *retstr; cJSON *argjson; uint64_t txid; + exchange = exchanges777_find("bitcoin"); memset(&A,0,sizeof(A)); orderhash = instantdex_rwoffer(0,&checklen,serialized,&A.offer), A.orderid = orderhash.txid; if ( checklen == recvlen ) @@ -899,7 +900,10 @@ int32_t instantdex_quotep2p(struct supernet_info *myinfo,struct iguana_info *coi ap = calloc(1,sizeof(*ap)); *ap = A; SETBIT(ap->peerhas,addr->addrind); - queue_enqueue("acceptableQ",&exchange->acceptableQ,&ap->DL,0); + argjson = cJSON_Parse("{}"); + if ( (retstr= instantdex_checkoffer(myinfo,&txid,exchange,ap,argjson)) != 0 ) + free(retstr); + free_json(argjson); } } else diff --git a/iguana/iguana_rpc.c b/iguana/iguana_rpc.c index 4f611ba80..f398cdc79 100755 --- a/iguana/iguana_rpc.c +++ b/iguana/iguana_rpc.c @@ -664,7 +664,7 @@ char *iguana_bitcoinRPC(struct supernet_info *myinfo,char *method,cJSON *json,ch { safecopy(symbol,jstr(json,"coin"),sizeof(symbol)); for (i=0; symbol[i]!=0; i++) - symbol[i] = toupper(symbol[i]); + symbol[i] = toupper((int32_t)symbol[i]); } if ( myinfo->rpcsymbol[0] == 0 ) strcpy(myinfo->rpcsymbol,symbol); diff --git a/iguana/iguana_wallet.c b/iguana/iguana_wallet.c index 210e85f0c..a58aa5405 100755 --- a/iguana/iguana_wallet.c +++ b/iguana/iguana_wallet.c @@ -1207,6 +1207,8 @@ STRING_ARG(bitcoinrpc,dumpwallet,filename) char *retstr,*walletstr; cJSON *retjson,*walletobj,*strobj; if ( remoteaddr != 0 ) return(clonestr("{\"error\":\"no remote\"}")); + if ( myinfo->expiration == 0 ) + return(clonestr("{\"error\":\"need to unlock wallet\"}")); if ( myinfo->expiration != 0 ) { myinfo->expiration++; @@ -1239,6 +1241,8 @@ STRING_ARG(bitcoinrpc,backupwallet,filename) char *loginstr,*retstr = 0; cJSON *retjson,*payload; if ( remoteaddr != 0 ) return(clonestr("{\"error\":\"no remote\"}")); + if ( myinfo->expiration == 0 ) + return(clonestr("{\"error\":\"need to unlock wallet\"}")); if ( myinfo->expiration != 0 ) { myinfo->expiration++; @@ -1265,6 +1269,8 @@ STRING_ARG(bitcoinrpc,importwallet,filename) cJSON *retjson = 0,*importjson,*loginjson = 0; long filesize; char *importstr,*loginstr; if ( remoteaddr != 0 ) return(clonestr("{\"error\":\"no remote\"}")); + if ( myinfo->expiration == 0 ) + return(clonestr("{\"error\":\"need to unlock wallet\"}")); if ( myinfo->expiration != 0 ) { myinfo->expiration++; diff --git a/iguana/index.html b/iguana/index.html index 50efa9c89..3f4af3aff 100755 --- a/iguana/index.html +++ b/iguana/index.html @@ -15,6 +15,130 @@ + + + + + + + + @@ -53,6 +177,8 @@ data-path="{tc}/{config}">