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

Method CServiceHash

src/netaddress.h:574–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572{
573public:
574 CServiceHash()
575 : m_salt_k0{FastRandomContext().rand64()},
576 m_salt_k1{FastRandomContext().rand64()}
577 {
578 }
579
580 CServiceHash(uint64_t salt_k0, uint64_t salt_k1) : m_salt_k0{salt_k0}, m_salt_k1{salt_k1} {}
581

Callers

nothing calls this directly

Calls 2

FastRandomContextClass · 0.70
rand64Method · 0.45

Tested by

no test coverage detected