jl777 8 years ago
parent
commit
94b80b8585
  1. 7
      iguana/iguana_notary.c
  2. 1
      includes/iguana_apideclares.h

7
iguana/iguana_notary.c

@ -277,6 +277,13 @@ TWO_STRINGS(komodo,passthru,function,hex)
else return(clonestr("{\"error\":\"KMD not active, start in bitcoind mode\"}"));
}
THREE_STRINGS(iguana,passthru,asset,function,hex)
{
if ( asset != 0 && (coin= iguana_coinfind(asset)) != 0 )
return(dpow_passthru(coin,function,hex));
else return(clonestr("{\"error\":\"assetchain not active, start in bitcoind mode\"}"));
}
STRING_ARG(dpow,pending,fiat)
{
struct dpow_info *dp; char base[64]; int32_t i;

1
includes/iguana_apideclares.h

@ -18,6 +18,7 @@ TWO_STRINGS(iguana,dpow,symbol,pubkey);
STRING_ARG(dpow,active,maskhex);
TWOINTS_AND_ARRAY(dpow,ratify,minsigs,timestamp,ratified);
ZERO_ARGS(dpow,cancelratify);
THREE_STRINGS(iguana,passthru,asset,function,hex);
TWO_STRINGS(zcash,passthru,function,hex);
TWO_STRINGS(komodo,passthru,function,hex);

Loading…
Cancel
Save