|
@ -224,6 +224,7 @@ char *LP_pubkey_trustset(bits256 pubkey,uint32_t trustval) |
|
|
uint64_t LP_unspents_metric(struct iguana_info *coin,char *coinaddr) |
|
|
uint64_t LP_unspents_metric(struct iguana_info *coin,char *coinaddr) |
|
|
{ |
|
|
{ |
|
|
cJSON *array,*item; int32_t i,n; uint64_t metric=0,total; |
|
|
cJSON *array,*item; int32_t i,n; uint64_t metric=0,total; |
|
|
|
|
|
printf("unspents metric\n"); |
|
|
LP_listunspent_both(coin->symbol,coinaddr); |
|
|
LP_listunspent_both(coin->symbol,coinaddr); |
|
|
if ( (array= LP_address_utxos(coin,coinaddr,1)) != 0 ) |
|
|
if ( (array= LP_address_utxos(coin,coinaddr,1)) != 0 ) |
|
|
{ |
|
|
{ |
|
|