Browse Source

Test

etomic
jl777 8 years ago
parent
commit
84eb8cb71c
  1. 4
      iguana/exchanges/LP_utxos.c
  2. 2
      iguana/exchanges/install

4
iguana/exchanges/LP_utxos.c

@ -917,7 +917,9 @@ char *LP_secretaddresses(void *ctx,char *passphrase,int32_t n,uint8_t taddr,uint
n = 16;
else if ( n > 777 )
n = 777;
printf("secrets.[%d] <%s> t.%u p.%u\n",n,passphrase,taddr,pubtype);
conv_NXTpassword(privkey.bytes,pubkey.bytes,(uint8_t *)passphrase,(int32_t)strlen(passphrase));
bitcoin_priv2pub(ctx,pubkey33,coinaddr,privkey,taddr,pubtype);
printf("generator (%s) secrets.[%d] <%s> t.%u p.%u\n",coinaddr,n,passphrase,taddr,pubtype);
for (i=0; i<n; i++)
{
sprintf(buf,"secretaddress %s %03d",passphrase,i);

2
iguana/exchanges/install

@ -1,4 +1,4 @@
cp dividends snapshot goals goal portfolio autoprice deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv setprice status utxos ../dexscripts
cp secretaddresses dividends snapshot goals goal portfolio autoprice deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv setprice status utxos ../dexscripts
cd ../dexscripts
#cp ../exchanges/passphrase ../exchanges/userpass .
echo you will need to have a passphrase file with your passphrase and userpass file with userpass value in dexscripts dir

Loading…
Cancel
Save