|
|
@ -101,6 +101,7 @@ int32_t dpow_paxpending(uint8_t *hex) |
|
|
|
decode_hex(hex,n,hexstr); |
|
|
|
free_json(retjson); |
|
|
|
} |
|
|
|
printf("PAXPENDING.(%s)\n",retstr); |
|
|
|
free(retstr); |
|
|
|
} |
|
|
|
} |
|
|
@ -780,7 +781,7 @@ void dpow_issuer_voutupdate(struct dpow_info *dp,char *symbol,int32_t isspecial, |
|
|
|
|
|
|
|
int32_t dpow_issuer_tx(struct dpow_info *dp,struct iguana_info *coin,int32_t height,int32_t txi,char *txidstr,uint32_t port) |
|
|
|
{ |
|
|
|
char *retstr,params[256],*hexstr; uint8_t script[10000]; cJSON *json,*oldpub,*newpub,*result,*vouts,*item,*sobj; int32_t vout,n,len,isspecial,retval = -1; uint64_t value; bits256 txid; |
|
|
|
char *retstr,params[256],*hexstr; uint8_t script[16384]; cJSON *json,*oldpub,*newpub,*result,*vouts,*item,*sobj; int32_t vout,n,len,isspecial,retval = -1; uint64_t value; bits256 txid; |
|
|
|
sprintf(params,"[\"%s\", 1]",txidstr); |
|
|
|
if ( (retstr= dpow_issuemethod(coin->chain->userpass,(char *)"getrawtransaction",params,port)) != 0 ) |
|
|
|
{ |
|
|
|