Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 735 Lines • ▼ Show 20 Lines | bool MemPoolAccept::AcceptSingleTransaction(const CTransactionRef &ptx, | ||||
if (args.m_test_accept) { | if (args.m_test_accept) { | ||||
return true; | return true; | ||||
} | } | ||||
if (!Finalize(args, workspace)) { | if (!Finalize(args, workspace)) { | ||||
return false; | return false; | ||||
} | } | ||||
GetMainSignals().TransactionAddedToMempool(ptx); | GetMainSignals().TransactionAddedToMempool( | ||||
ptx, m_pool.GetAndIncrementSequence()); | |||||
return true; | return true; | ||||
} | } | ||||
} // namespace | } // namespace | ||||
/** | /** | ||||
* (try to) add transaction to memory pool with a specified acceptance time. | * (try to) add transaction to memory pool with a specified acceptance time. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 5,374 Lines • Show Last 20 Lines |