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

Method serializeExistingOutput

tools/parser/address_writer.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void AddressWriter::serializeExistingOutput(const AnyScriptOutput &output, bool topLevel) {
27 mpark::visit([&](auto &scriptOutput) { return this->serializeExistingOutput(scriptOutput, topLevel); }, output.wrapped);
28}
29
30void AddressWriter::serializeInput(const AnyScriptInput &input, uint32_t txNum, uint32_t outputTxNum) {
31 mpark::visit([&](auto &scriptInput) { this->serializeInput(scriptInput, txNum, outputTxNum); }, input.wrapped);

Callers 1

stepsMethod · 0.45

Calls 1

visitFunction · 0.70

Tested by

no test coverage detected