| 1750 | } |
| 1751 | |
| 1752 | static void AddKnownProof(Peer &peer, const avalanche::ProofId &proofid) { |
| 1753 | if (peer.m_proof_relay != nullptr) { |
| 1754 | LOCK(peer.m_proof_relay->m_proof_inventory_mutex); |
| 1755 | peer.m_proof_relay->m_proof_inventory_known_filter.insert(proofid); |
| 1756 | } |
| 1757 | } |
| 1758 | |
| 1759 | bool PeerManagerImpl::isPreferredDownloadPeer(const CNode &pfrom) { |
| 1760 | LOCK(cs_main); |
no test coverage detected