Spent info rpc helper

This commit is contained in:
jl777
2019-07-02 09:16:11 -11:00
parent ab5954e7ef
commit 0dc11fbb02
3 changed files with 59 additions and 2 deletions

View File

@@ -336,5 +336,13 @@ int32_t komodo_priceget(int64_t *buf64,int32_t ind,int32_t height,int32_t numblo
uint64_t komodo_accrued_interest(int32_t *txheightp,uint32_t *locktimep,uint256 hash,int32_t n,int32_t checkheight,uint64_t checkvalue,int32_t tipheight);
int32_t komodo_currentheight();
struct NSPV_spentinfo
{
uint256 txid,spenttxid;
int32_t vout,height,spentvin,spentheight;
};
void komodo_nSPV_spentinfoclear();
struct nSPV_spentinfo komodo_nSPV_spentinfo(bits256 txid,int32_t vout);
#endif