MCPcopy Create free account
hub / github.com/citp/BlockSci / getPubkeyHash

Method getPubkeyHash

src/scripts/pubkey_base_script.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 uint160 PubkeyAddressBase::getPubkeyHash() const {
28 auto pubkey = getPubkey();
29 if (pubkey) {
30 return pubkey->GetID();
31 } else {
32 return getData()->address;
33 }
34 }
35
36 ranges::any_view<Address> PubkeyAddressBase::getIncludingMultisigs() const {
37 auto access_ = &getAccess();

Callers

nothing calls this directly

Calls 2

GetIDMethod · 0.80
getDataFunction · 0.50

Tested by

no test coverage detected