NSPV_MEMPOOL_CCEVALCODE

Searches mempool for CC evalcode and fancied
This commit is contained in:
jl777
2019-07-18 02:43:13 -11:00
parent 94294cbee6
commit 730ad7e6e8
4 changed files with 33 additions and 2 deletions

View File

@@ -718,6 +718,13 @@ bool NSPV_inmempool(uint256 txid)
else return(false);
}
bool NSPV_evalcode_inmempool(uint8_t evalcode,uint8_t funcid)
{
int32_t vout;
vout = ((uint32_t)funcid << 8) | evalcode;
NSPV_mempooltxids((char *)"",1,NSPV_MEMPOOL_CCEVALCODE,zeroid,vout);
}
UniValue NSPV_notarizations(int32_t reqheight)
{
uint8_t msg[64]; int32_t i,iter,len = 0; struct NSPV_ntzsresp N,*ptr;