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

Method serializeWrappedScript

tools/parser/address_writer.cpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void AddressWriter::serializeWrappedScript(const AnyScriptInput &input, uint32_t txNum, uint32_t outputTxNum) {
35 mpark::visit([&](auto &scriptInput) { this->serializeWrappedScript(scriptInput.data, txNum, outputTxNum); }, input.wrapped);
36}
37
38void AddressWriter::serializeOutputImp(const ScriptOutput<AddressType::PUBKEY> &output, ScriptFile<DedupAddressType::PUBKEY> &file, bool topLevel) {
39 auto data = file[output.scriptNum - 1];

Callers 1

stepsMethod · 0.45

Calls 2

isNewMethod · 0.80
visitFunction · 0.70

Tested by

no test coverage detected