From 62a996e4266cc4cfc7ecfc00f53e13ed5595c6fd Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 13 Nov 2016 14:13:09 -0300 Subject: [PATCH] test --- iguana/main.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/iguana/main.c b/iguana/main.c index f54edccf2..a6b4af3a0 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1652,6 +1652,25 @@ void iguana_main(void *arg) } } else printf("couldnt parse.(%s)\n",jsonstr); } + if ( 0 ) + { + int32_t komodo_notaries(char *symbol,uint8_t pubkeys[64][33],int32_t height); + char CURRENCIES[][8] = { "USD", "EUR", "JPY", "GBP", "AUD", "CAD", "CHF", "NZD", // major currencies + "CNY", "RUB", "MXN", "BRL", "INR", "HKD", "TRY", "ZAR", "PLN", "NOK", "SEK", "DKK", "CZK", "HUF", "ILS", "KRW", "MYR", "PHP", "RON", "SGD", "THB", "BGN", "IDR", "HRK", + "REVS" }; + uint8_t pubkeys[64][33]; char coinaddr[64]; int32_t i,j; double val = 0.01; + //n = komodo_notaries("KMD",pubkeys,0); +#include "notaries.h" + for (i=0; i<=32; i++) + { + for (j=0; j