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

Method ScriptOutputData

tools/parser/script_output.cpp:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172// MARK: TX_PUBKEY
173
174ScriptOutputData<blocksci::AddressType::Enum::PUBKEY>::ScriptOutputData(const ranges::subrange<const unsigned char *> &vch1) {
175 pubkey.fill(0);
176 std::copy(vch1.begin(), vch1.end(), pubkey.begin());
177}
178
179blocksci::uint160 ScriptOutputData<blocksci::AddressType::Enum::PUBKEY>::getHash() const {
180 auto length = CPubKey::GetLen(pubkey[0]);

Callers

nothing calls this directly

Calls 4

insertMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetOpMethod · 0.45

Tested by

no test coverage detected