MCPcopy Create free account
hub / github.com/citp/BlockSci / operator()

Function operator()

include/blocksci/scripts/nulldata_script.hpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47namespace std {
48 template<> struct BLOCKSCI_EXPORT hash<blocksci::ScriptAddress<blocksci::AddressType::NULL_DATA>> {
49 size_t operator()(const blocksci::ScriptAddress<blocksci::AddressType::NULL_DATA> &address) const {
50 std::size_t seed = 32847956;
51 blocksci::hash_combine(seed, static_cast<const blocksci::ScriptBase &>(address));
52 return seed;
53 }
54 };
55} // namespace std
56

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected