MCPcopy Create free account
hub / github.com/ElementsProject/elements / PushTxInventory

Method PushTxInventory

src/net.h:670–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668 }
669
670 void PushTxInventory(const uint256& hash)
671 {
672 if (m_tx_relay == nullptr) return;
673 LOCK(m_tx_relay->cs_tx_inventory);
674 if (!m_tx_relay->filterInventoryKnown.contains(hash)) {
675 m_tx_relay->setInventoryTxToSend.insert(hash);
676 }
677 }
678
679 void CloseSocketDisconnect();
680

Callers 2

_RelayTransactionMethod · 0.80
FUZZ_TARGET_INITFunction · 0.80

Calls 2

containsMethod · 0.45
insertMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.64