This commit is contained in:
jl777
2019-07-05 06:26:01 -11:00
parent 4bfb81956b
commit 21e87ec48f

View File

@@ -7636,6 +7636,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
else if (strCommand == "tx")
{
fprintf(stderr,"got tx message\n");
if (IsInitialBlockDownload())
return true;
@@ -7657,6 +7658,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
if (!AlreadyHave(inv) && AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs))
{
fprintf(stderr,"process new tx\n");
mempool.check(pcoinsTip);
RelayTransaction(tx);
vWorkQueue.push_back(inv.hash);