Browse Source

Allow arbitrary minsigs

pass-iguana-arg
jl777 7 years ago
parent
commit
9290731dbd
  1. 3
      iguana/dpow/dpow_rpc.c
  2. 2
      iguana/exchanges/LP_nativeDEX.c
  3. 2
      iguana/exchanges/coins

3
iguana/dpow/dpow_rpc.c

@ -99,8 +99,7 @@ int32_t komodo_initjson(char *fname)
Notaries_port = port; Notaries_port = port;
if ( (num= juint(argjson,"BTCminsigs")) > Notaries_BTCminsigs ) if ( (num= juint(argjson,"BTCminsigs")) > Notaries_BTCminsigs )
Notaries_BTCminsigs = num; Notaries_BTCminsigs = num;
if ( (num= juint(argjson,"minsigs")) > Notaries_minsigs ) Notaries_minsigs = juint(argjson,"minsigs");
Notaries_minsigs = num;
if ( (array= jarray(&n,argjson,"seeds")) != 0 && n <= 64 ) if ( (array= jarray(&n,argjson,"seeds")) != 0 && n <= 64 )
{ {
for (i=0; i<n&&i<64; i++) for (i=0; i<n&&i<64; i++)

2
iguana/exchanges/LP_nativeDEX.c

@ -664,7 +664,7 @@ void LP_coinsloop(void *_coins)
{ {
if ( LP_blockinit(coin,coin->lastscanht) < 0 ) if ( LP_blockinit(coin,coin->lastscanht) < 0 )
{ {
printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht); printf("pleae ignore this blockinit.%s %d error\n",coin->symbol,coin->lastscanht);
sleep(10); sleep(10);
break; break;
} }

2
iguana/exchanges/coins

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save