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

Method CServiceHash

src/netaddress.h:564–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562{
563public:
564 CServiceHash()
565 : m_salt_k0{GetRand(std::numeric_limits<uint64_t>::max())},
566 m_salt_k1{GetRand(std::numeric_limits<uint64_t>::max())}
567 {
568 }
569
570 CServiceHash(uint64_t salt_k0, uint64_t salt_k1) : m_salt_k0{salt_k0}, m_salt_k1{salt_k1} {}
571

Callers

nothing calls this directly

Calls 1

GetRandFunction · 0.85

Tested by

no test coverage detected