diff --git a/.gitignore b/.gitignore index 14b005133..37c54960f 100755 --- a/.gitignore +++ b/.gitignore @@ -229,259 +229,10 @@ iguana/confs/630929d976025fafde221c7358eb5805f4359bad3c6b8bd50ad3f6e0a9b5ce78 iguana/confs/5f3283a017c31e52443d61cb43944e2157f7c03eb12d701ebf4a35a695688e1f - -iguana/DB/SWAPS/1313603851-3952777544 - -iguana/DB/SWAPS/1923456555-3815385469 - -iguana/DB/SWAPS/897416195-4050269921 - -iguana/DB/SWAPS/2465996447-4202128826 - -iguana/DB/SWAPS/3078036996-3700749298 - -iguana/DB/SWAPS/1061498231-3266306388 - -iguana/DB/SWAPS/1060082251-3390546616 - -iguana/SVM/rawfeatures/BTCD_BTC - -iguana/DB/SWAPS/1032184933-1028220623 - -iguana/DB/SWAPS/771249356-2746947221 - -iguana/DB/SWAPS/2311778512-3235676199 - -iguana/DB/SWAPS/3385048746-2109923340 - -iguana/DB/SWAPS/1739581643-2099619754 - -iguana/DB/SWAPS/2247429570-1367058185 - -iguana/DB/SWAPS/3178831915-912907861 - -iguana/DB/SWAPS/445514331-1083446761 - -iguana/DB/SWAPS/2510768478-2766365035 - -iguana/DB/SWAPS/2072817844-2263105627 - -iguana/DB/SWAPS/230888617-1894645930 - -iguana/DB/SWAPS/3606847984-2574036327 - -iguana/DB/SWAPS/2384443255-1263480722 - -iguana/DB/SWAPS/845549832-3630913950 - -iguana/DB/SWAPS/2050938501-203733478 - -iguana/DB/SWAPS/3434672913-3981690962 - -iguana/DB/SWAPS/2840127595-1174059534 - -iguana/DB/SWAPS/2448551545-1211445977 - -*.alicepayment - -*.myfee - -iguana/DB/SWAPS/1313312572-123661666 - -iguana/DB/SWAPS/3408402932-4088991610 - -iguana/DB/SWAPS/3772541120-2007204891 - -iguana/DB/SWAPS/784303571-1929722462 - -iguana/DB/SWAPS/3221116355-3522779294 - -iguana/DB/SWAPS/1703578312-1139459191 - -iguana/DB/SWAPS/1192374491-1050242469 - -iguana/DB/SWAPS/4244307493-1619487751 - -iguana/DB/SWAPS/3213119432-553439289 - -iguana/DB/SWAPS/3854521391-612984356 - -iguana/DB/SWAPS/3611231334-1171171579 - -iguana/DB/SWAPS/1505015888-2633757068 - -iguana/DB/SWAPS/3430299677-3087427598 - -iguana/DB/SWAPS/2275651697-591036515 - -iguana/DB/SWAPS/2180638961-896149751 - -iguana/DB/SWAPS/2349180798-2344225091 - -iguana/DB/SWAPS/1395238080-4120976642 - -iguana/DB/SWAPS/1914406677-1452353494 - -iguana/DB/SWAPS/3193054754-2514575257 - -iguana/DB/SWAPS/3004995589-1950720855 - -iguana/3193054754-2514575257 - -iguana/DB/SWAPS/2912654530-2125064238 - -iguana/DB/SWAPS/3448271011-3628813832 - -iguana/DB/SWAPS/3448271011-3628813832 - -iguana/DB/SWAPS/403615495-1237768524 - -iguana/DB/SWAPS/3448271011-3628813832 - -iguana/DB/SWAPS/403615495-1237768524 - -iguana/DB/SWAPS/3448271011-3628813832 - -iguana/DB/SWAPS/246664144-1570119145 - -iguana/DB/SWAPS/171316098-410428064 - -iguana/DB/SWAPS/178665381-1950467641 - -iguana/DB/SWAPS/4126499968-376410338 - -iguana/DB/SWAPS/1518259123-2214130634 - -iguana/DB/SWAPS/152114847-907489057 - -iguana/DB/SWAPS/61119357-1960547076 - -iguana/DB/SWAPS/26534791-3105729230 - -*.finished - -iguana/DB/SWAPS/2279906047-2580050792 - -iguana/DB/SWAPS/1672096208-4211948211 - -iguana/DB/SWAPS/3062665554-3128383014 - -iguana/DB/SWAPS/2668150969-2698996317 - -iguana/DB/SWAPS/3462690702-2419919594 - -iguana/DB/SWAPS/543051861-1532200070 - -iguana/DB/SWAPS/442294237-2721246052 - -iguana/DB/SWAPS/1247864366-3828803132 - -iguana/DB/SWAPS/2910626293-1439062588 - -iguana/DB/SWAPS/3893087081-2278083649 - -iguana/DB/SWAPS/2990527454-48620696 - -iguana/DB/SWAPS/217534954-2300638414 - -iguana/DB/SWAPS/2780026367-3028893038 - -iguana/DB/SWAPS/467080987-1442519493 - -iguana/DB/SWAPS/1504818827-1454232932 - -iguana/DB/SWAPS/4093850898-2949785771 - -iguana/DB/SWAPS.old/1247864366-3828803132 - -iguana/DB/SWAPS.old/.tmpmarker - -iguana/DB/SWAPS/2723832060-1788071166 - -iguana/DB/SWAPS/3210648667-2626363704 - -iguana/DB/SWAPS/415703857-2769362858 - -iguana/3193054754-2514575257 - -iguana/DB/SWAPS/2723832060-1788071166 - - - -iguana/DB/SWAPS/3213598586-2281632307 - -iguana/DB/SWAPS/2686675855-3655454671 - -iguana/DB/SWAPS/1878868608-154367763 - -iguana/DB/SWAPS/1306454711-1938980379 - -iguana/DB/SWAPS/912783809-2523701920 - -iguana/DB/SWAPS/1238069553-2363573428 - -iguana/DB/SWAPS/2895470622-2170247626 - -iguana/confs/ed476386688e486f359ce67e44ce4268a875125527e122ea9126ebc54f473d31 - -iguana/confs/f6e8e8ab82ed33b2de063d6820dcaefb99b95cf1aef6527b8f27e1e5b1fe882d - -iguana/e - -iguana/a - -iguana/t - -iguana/stats - -iguana/DEXstats - -iguana/DEXstats.dSYM/Contents/Info.plist - -iguana/DEXstats.dSYM/Contents/Resources/DWARF/DEXstats - -iguana/confs/dc54d862abd6809d9fd200759538014248f18a5a69e7bc22c0a1f2111a896157 - -iguana/confs/589983f94d17d8e0dc6fbf3fce34b20efc81183c0ab0158cf81a60f03711e15c - -iguana/confs/67201409eb7644e398c8090ac6e3ccf4b69d186b8478aa8488211e9b474dd245 - -iguana/confs/982dfa0e535a6e856cca3cd919af03f50050408fcfed1cd71bb4aa1e2e69070f - -iguana/confs/aa45c35599c9c75a9788fa9740ce8713cc457919e6f6f7d8d8115da5193f5722 - -iguana/confs/ab828d4425655df6bf409f0e23be49ae4a19b2c974008385b18a7a9c79b0314c - -iguana/confs/b29fa937dd00ed7dd73ff4eef8b49bd3103ebddaee9fae05f44ffed42c5a4611 - -iguana/confs/LTC_hdrs.txt - -iguana/confs/LTC_oldhdrs.txt - -iguana/DB/LTC_peers.dat - -iguana/debug.log - -iguana/DB/LTC/.tmpmarker - -iguana/DB/purgeable/LTC/.tmpmarker - -iguana/DB/SWAPS/654629381-1010651560 - -iguana/DB/SWAPS/1780095668-2225891679 - -iguana/DB/SWAPS/3085356347-2346291696 - -iguana/DB/SWAPS/1819165332-1507632737 - -iguana/DB/SWAPS/283982730-556239841 +iguana/marketmaker.dSYM/Contents/Resources/DWARF/marketmaker iguana/marketmaker.dSYM/Contents/Info.plist -iguana/client - -iguana/marketmaker.dSYM/Contents/Resources/DWARF/marketmaker - iguana/confs/97f18454bb61e9eb7a827cfbefe42fbf7ae2832dc74c4812bdaef8bcf5c10474 iguana/DB/PRICES/.tmpmarker diff --git a/README.md b/README.md index d9dfd7341..57e2376e8 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#SuperNET Client "iguana" +# SuperNET Client "iguana" OS | Build Status -------------|------ @@ -22,7 +22,7 @@ iguana: most efficient bitcoin core implementation that can simultaneously be fu komodo: this is the top secret project I cant talk about publicly yet -> #TL;DR# +> # TL;DR > > ```sudo apt-get update; sudo apt-get install git libcurl4-openssl-dev build-essential libnanomsg-dev; git clone https://github.com/jl777/SuperNET; cd SuperNET; ./m_onetime m_unix;``` > @@ -40,14 +40,14 @@ TOOL_DIR := /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin MINGW := i586-mingw32 The above two definitions need to be changed to match the mingw install on your system. m_win32 and m_win64 just invokes the makefile in mingw32 and mingw64 -##For chrome app## +## For chrome app You need to make sure the nacl sdk is properly installed and you are able to build the examples. Now you will need to get the external libs, which can be built from scratch using naclports or there use the reference builds of libcurl.a and libz.a in the SuperNET/crypto777/pnacl_libs. You can just copy those over into $(NACL_SDK_ROOT)//lib/pnacl. -##For android## +## For android You have to build a native libnanomsg for android. This section is work in progress. Contact ca333@protonmail.ch for assistance on building latest iguana for android. -#ONETIME# +# ONETIME Now you are ready to build. I try to make the build process as simple as possible, so there are no `autoconf`, `autoreconf`, `configure`, `cmake`, `make`, to get properly installed and running and run, etc. You do need a C compiler, like gcc. @@ -82,12 +82,12 @@ To build just iguana, you can ```cd``` into SuperNET/iguana and do ```./m_unix`` ```./m_clean``` will remove the files created from the building -#RUNNING# +# RUNNING The native versions are command line applications: agents/iguana {JSON} The chrome app pexe requires that the chrome is launched with a command line parameter (tools/chrome.localhost) and then browse to *http://127.0.0.1:7777* to see the pexe -#SUPERUGLYGUI# +# SUPERUGLYGUI Once iguana is running, you can see the superuglyGUI at *http://127.0.0.1:7778/?method* by submitting API calls using the forms, you will see it go to some specific URL. You can also do a programmatic GET request to ```http://127.0.0.1:7778/api/``` @@ -134,9 +134,9 @@ on OSX mksquashfs is not native, you will need to install fuse: https://osxfuse. A Note on Installation from pebwindkraft at bitco.in ======================= Though I had xcode installed, aclocal didn’t work. I installed homebrew, and then: -# brew install autoconf -# brew install automake -# brew install gmp +`brew install autoconf` +`brew install automake` +`brew install gmp` 2.) libsecp256 it complained, that libsecp256 was not there in includes, so I linked it. diff --git a/iguana/client b/iguana/client new file mode 100755 index 000000000..93673afdd --- /dev/null +++ b/iguana/client @@ -0,0 +1,23 @@ +source randval +pkill -15 marketmaker; +git pull; +./m_mm; +#./m_mmosx; +./marketmaker "{\"client\":1,\"coins\":[{\"coin\":\"REVS\",\"active\":1, \"asset\":\"REVS\",\"rpcport\":10196},{\"coin\":\"JUMBLR\",\"active\":1, \"asset\":\"JUMBLR\",\"rpcport\":15106}, +{\"active\":0,\"coin\":\"ZEC\",\"name\":\"zcash\",\"rpcport\":8232,\"taddr\":28,\"pubtype\":184,\"p2shtype\":189,\"wiftype\":128,\"txfee\":10000 }, +{\"coin\":\"DOGE\", \"name\":\"dogecoin\", \"pubtype\":30, \"p2shtype\":5, \"wiftype\":128, \"txfee\":100000000}, +{\"coin\":\"DGB\", \"name\":\"digibyte\", \"pubtype\":30, \"p2shtype\":5, \"wiftype\":128, \"txfee\":10000}, +{\"coin\":\"MZC\", \"name\":\"mazacoin\", \"pubtype\":50, \"p2shtype\":9, \"wiftype\":224, \"txfee\":0}, +{\"coin\":\"SYS\", \"name\":\"syscoin\", \"pubtype\":0, \"p2shtype\":5, \"wiftype\":128, \"txfee\":100000}, +{\"coin\":\"UNO\", \"name\":\"unobtanium\", \"pubtype\":130, \"p2shtype\":30, \"wiftype\":224, \"txfee\":1000000}, +{\"coin\":\"ZET\", \"name\":\"zetacoin\", \"pubtype\":80, \"p2shtype\":9, \"wiftype\":224, \"txfee\":10000}, +{\"coin\":\"ZEC\", \"name\":\"zcash\", \"pubtype\":184, \"p2shtype\":189, \"wiftype\":128, \"txfee\":10000}, +{\"coin\":\"BTM\", \"name\":\"bitmark\", \"pubtype\":85, \"p2shtype\":5, \"wiftype\":213, \"txfee\":0}, +{\"coin\":\"CARB\", \"name\":\"carboncoin\", \"pubtype\":47, \"p2shtype\":5, \"wiftype\":175, \"txfee\":0}, +{\"coin\":\"ANC\", \"name\":\"anoncoin\", \"pubtype\":23, \"p2shtype\":5, \"wiftype\":151, \"txfee\":2000000}, +{\"coin\":\"FRK\", \"name\":\"franko\", \"pubtype\":35, \"p2shtype\":5, \"wiftype\":163, \"txfee\":0}, +{\"coin\":\"GAME\", \"name\":\"gamecredits\", \"pubtype\":38, \"p2shtype\":5, \"wiftype\":166, \"txfee\":100000}, +{\"coin\":\"LTC\", \"name\":\"litecoin\", \"rpcport\":9332, \"pubtype\":48, \"p2shtype\":5, \"wiftype\":176, \"txfee\":100000 }, +{\"coin\":\"SUPERNET\",\"asset\":\"SUPERNET\",\"rpcport\":11341},{\"coin\":\"WLC\",\"asset\":\"WLC\",\"rpcport\":12167},{\"coin\":\"PANGEA\",\"asset\":\"PANGEA\",\"rpcport\":14068},{\"coin\":\"DEX\",\"asset\":\"DEX\",\"rpcport\":11890},{\"coin\":\"BET\",\"asset\":\"BET\",\"rpcport\":14250},{\"coin\":\"CRYPTO\",\"asset\":\"CRYPTO\",\"rpcport\":8516},{\"coin\":\"HODL\",\"asset\":\"HODL\",\"rpcport\":14431},{\"coin\":\"SHARK\",\"asset\":\"SHARK\",\"rpcport\":10114},{\"coin\":\"BOTS\",\"asset\":\"BOTS\",\"rpcport\":11964},{\"coin\":\"MGW\",\"asset\":\"MGW\",\"rpcport\":12386},{\"coin\":\"COQUI\",\"asset\":\"COQUI\",\"rpcport\":14276},{\"coin\":\"KV\",\"asset\":\"KV\",\"rpcport\":9747},{\"coin\":\"CEAL\",\"asset\":\"CEAL\",\"rpcport\":11116},{\"coin\":\"MESH\",\"asset\":\"MESH\",\"rpcport\":9455} +], \"userhome\":\"/${HOME#"/"}\",\"passphrase\":\"$randval\"}" & + diff --git a/makeRelease.sh b/makeRelease.sh new file mode 100644 index 000000000..89f5c8a88 --- /dev/null +++ b/makeRelease.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +binaries=("iguana") + +for binary in "${binaries[@]}"; +do + # find the dylibs to copy for komodod + DYLIBS=`otool -L agents/$binary | grep "/usr/local" | awk -F' ' '{ print $1 }'` + echo "copying $DYLIBS to agents" + # copy the dylibs to the agents-dir + for dylib in $DYLIBS; do cp -rf $dylib agents/; done + + # modify komodod to point to dylibs + echo "modifying $binary to use local libraries" + for dylib in $DYLIBS; do install_name_tool -change $dylib @executable_path/`basename $dylib` agents/$binary; done; + chmod +x agents/$binary +done diff --git a/pthreadVC2.lib b/pthreadVC2.lib deleted file mode 100644 index d793e7144..000000000 Binary files a/pthreadVC2.lib and /dev/null differ