diff --git a/src/komodo_defs.h b/src/komodo_defs.h index b36af620d..0a628b216 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -339,14 +339,6 @@ int32_t komodo_currentheight(); bool Getscriptaddress(char *destaddr,const CScript &scriptPubKey); std::vector Mypubkey(); -struct NSPV_spentinfo -{ - struct NSPV_txproof spent; - uint256 txid; - int32_t height,spentvini; -}; -void komodo_NSPV_spentinfoclear(); -struct NSPV_spentinfo komodo_NSPV_spentinfo(uint256 txid,int32_t vout); #endif diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 9235916e1..0085d356e 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -321,6 +321,13 @@ struct NSPV_MMRproof // tbd }; +struct NSPV_spentinfo +{ + struct NSPV_txproof spent; + uint256 txid; + int32_t height,spentvini; +}; + int32_t NSPV_rwspentinfo(int32_t rwflag,uint8_t *serialized,struct NSPV_spentinfo *ptr) // check mempool { int32_t len = 0;