MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / EXCLUSIVE_LOCKS_REQUIRED

Method EXCLUSIVE_LOCKS_REQUIRED

src/validation.cpp:591–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589
590 // Single transaction acceptance
591 MempoolAcceptResult AcceptSingleTransactionAndCleanup(const CTransactionRef& ptx, ATMPArgs& args) EXCLUSIVE_LOCKS_REQUIRED(cs_main) {
592 LOCK(m_pool.cs);
593 MempoolAcceptResult result = AcceptSingleTransactionInternal(ptx, args);
594 ClearSubPackageState();
595 return result;
596 }
597 MempoolAcceptResult AcceptSingleTransactionInternal(const CTransactionRef& ptx, ATMPArgs& args) EXCLUSIVE_LOCKS_REQUIRED(cs_main, m_pool.cs);
598
599 /**

Callers

nothing calls this directly

Calls 3

InvalidMethod · 0.80
GetFeeMethod · 0.45
GetMinFeeMethod · 0.45

Tested by

no test coverage detected