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

Method ScriptAddress

src/scripts/multisig_pubkey_script.cpp:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18namespace blocksci {
19 ScriptAddress<AddressType::MULTISIG_PUBKEY>::ScriptAddress(uint32_t addressNum_, DataAccess &access_) : ScriptAddress(addressNum_, access_.getScripts().getScriptData<dedupType(addressType)>(addressNum_), access_) {}
20
21 std::string ScriptAddress<AddressType::MULTISIG_PUBKEY>::addressString() const {
22 return CBitcoinAddress(getPubkeyHash(), AddressType::Enum::MULTISIG_PUBKEY, getAccess().config.chainConfig).ToString();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected