jl777
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
src/cc/CCutils.cpp
src/main.cpp
src/rpcmisc.cpp
@ -266,7 +266,7 @@ bool ProcessCC(struct CCcontract_info *cp,Eval* eval, std::vector<uint8_t> param
from_mempool = 1 ;
height & = ( ( 1 < < 30 ) - 1 ) ;
}
fprintf ( stderr , " KOMODO_CONNECTING.%d mempool.%d \n " , height , from_mempool ) ;
fprintf ( stderr , " KOMODO_CONNECTING.%d mempool.%d vs CCactive.%d \n " , height , from_mempool , KOMODO_CCACTIVATE ) ;
// 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 )
@ -1541,7 +1541,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
}
if ( flag ! = 0 )
KOMODO_CONNECTING = - 1 ;
// Store transaction in memory
if ( komodo_is_notarytx ( tx ) = = 0 )
KOMODO_ON_DEMAND + + ;
@ -55,7 +55,7 @@ extern char ASSETCHAINS_SYMBOL[KOMODO_ASSETCHAIN_MAXLEN];
uint32_t komodo_segid32 ( char * coinaddr ) ;
int64_t komodo_coinsupply ( int64_t * zfundsp , int32_t height ) ;
int32_t notarizedtxid_height ( char * dest , char * txidstr , int32_t * kmdnotarized_heightp ) ;
# define KOMODO_VERSION "0.2.0 "
# define KOMODO_VERSION "0.2.1 "
extern uint16_t ASSETCHAINS_P2PPORT , ASSETCHAINS_RPCPORT ;
extern uint32_t ASSETCHAINS_CC ;
extern uint32_t ASSETCHAINS_MAGIC ;