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

Method serializeInput

tools/parser/address_writer.cpp:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
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);

Callers 1

stepsMethod · 0.45

Calls 1

visitFunction · 0.70

Tested by

no test coverage detected