Browse Source

Merge pull request #871 from cipig/dev

add Commercium (CMM)
pass-iguana-arg
jl777 7 years ago
committed by GitHub
parent
commit
0c42b55c77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      iguana/exchanges/LP_coins.c
  2. 2
      iguana/exchanges/LP_secp.c
  3. 2
      iguana/exchanges/coins

5
iguana/exchanges/LP_coins.c

@ -429,6 +429,11 @@ uint16_t LP_coininit(struct iguana_info *coin,char *symbol,char *name,char *asse
coin->zcash = LP_IS_BITCOINGOLD; coin->zcash = LP_IS_BITCOINGOLD;
printf("set coin.%s <- LP_IS_BITCOINGOLD %d\n",symbol,coin->zcash); printf("set coin.%s <- LP_IS_BITCOINGOLD %d\n",symbol,coin->zcash);
} }
else if ( strcmp(symbol,"CMM") == 0 )
{
coin->zcash = LP_IS_BITCOINCASH;
//printf("set coin.%s <- LP_IS_BITCOINCASH %d\n",symbol,coin->zcash);
}
return(port); return(port);
} }

2
iguana/exchanges/LP_secp.c

@ -97,7 +97,7 @@ int32_t bitcoin_sign(void *ctx,char *symbol,uint8_t *sig,bits256 txhash2,bits256
printf("bitcoin_sign illegal privkey\n"); printf("bitcoin_sign illegal privkey\n");
return(-1); return(-1);
} }
if ( strcmp(symbol,"BCH") == 0 || strcmp(symbol,"BTG") == 0 ) if ( strcmp(symbol,"BCH") == 0 || strcmp(symbol,"BTG") == 0 || strcmp(symbol,"CMM") == 0 )
{ {
//char str[65]; printf("BCH/BTG deterministic signature %s\n",bits256_str(str,txhash2)); //char str[65]; printf("BCH/BTG deterministic signature %s\n",bits256_str(str,txhash2));
funcp = 0; funcp = 0;

2
iguana/exchanges/coins

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