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

Method getHash

tools/parser/script_output.cpp:179–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179blocksci::uint160 ScriptOutputData<blocksci::AddressType::Enum::PUBKEY>::getHash() const {
180 auto length = CPubKey::GetLen(pubkey[0]);
181 return hash160(pubkey.data(), length);
182}
183
184blocksci::PubkeyData ScriptOutputData<blocksci::AddressType::Enum::PUBKEY>::getData(uint32_t txNum, bool topLevel) const {
185 blocksci::PubkeyData data{txNum, pubkey};

Callers 3

findAddressMethod · 0.45
recordMempoolMethod · 0.45
RANGES_FORMethod · 0.45

Calls 6

hash160Function · 0.85
ripemd160Function · 0.85
resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected