KOMODO_CONNECTING
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include <univalue.h>
|
||||
#include <exception>
|
||||
|
||||
extern int32_t KOMODO_CONNECTING;
|
||||
|
||||
#define SMALLVAL 0.000000000000001
|
||||
union _bits256 { uint8_t bytes[32]; uint16_t ushorts[16]; uint32_t uints[8]; uint64_t ulongs[4]; uint64_t txid; };
|
||||
|
||||
@@ -256,6 +256,7 @@ CPubKey GetUnspendable(struct CCcontract_info *cp,uint8_t *unspendablepriv)
|
||||
bool ProcessCC(struct CCcontract_info *cp,Eval* eval, std::vector<uint8_t> paramsNull,const CTransaction &ctx, unsigned int nIn)
|
||||
{
|
||||
CTransaction createTx; uint256 assetid,assetid2,hashBlock; uint8_t funcid; int32_t i,n; int64_t amount; std::vector<uint8_t> origpubkey;
|
||||
fprintf(stderr,"KOMODO_CONNECTING.%d\n",KOMODO_CONNECTING);
|
||||
// there is a chance CC tx is valid in mempool, but invalid when in block, so we cant filter duplicate requests. if any of the vins are spent, for example
|
||||
//txid = ctx.GetHash();
|
||||
//if ( txid == cp->prevtxid )
|
||||
|
||||
Reference in New Issue
Block a user