| 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 |