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

Function MayHaveUsefulAddressDB

src/protocol.h:372–375  ·  view source on GitHub ↗

* Checks if a peer with the given service flags may be capable of having a * robust address-storage DB. */

Source from the content-addressed store, hash-verified

370 * robust address-storage DB.
371 */
372static inline bool MayHaveUsefulAddressDB(ServiceFlags services)
373{
374 return (services & NODE_NETWORK) || (services & NODE_NETWORK_LIMITED);
375}
376
377/** A CService with information about it as peer */
378class CAddress : public CService

Callers 3

ProcessAddrsMethod · 0.85
ThreadOpenConnectionsMethod · 0.85
integer.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected