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

Function ToKeyID

src/script/standard.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37WitnessV0KeyHash::WitnessV0KeyHash(const PKHash& pubkey_hash) : BaseHash(static_cast<uint160>(pubkey_hash)) {}
38
39CKeyID ToKeyID(const PKHash& key_hash)
40{
41 return CKeyID{static_cast<uint160>(key_hash)};
42}
43
44CKeyID ToKeyID(const WitnessV0KeyHash& key_hash)
45{

Callers 4

SignMessageMethod · 0.85
operator()Method · 0.85
GetKeyForDestinationFunction · 0.85
updateLabelsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected