MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SerializeOutput

Method SerializeOutput

src/script/interpreter.cpp:1328–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1326 /** Serialize an output of txTo */
1327 template<typename S>
1328 void SerializeOutput(S &s, unsigned int nOutput) const {
1329 if (fHashSingle && nOutput != nIn)
1330 // Do not lock-in the txout payee at other indices as txin
1331 ::Serialize(s, CTxOut());
1332 else
1333 ::Serialize(s, txTo.vout[nOutput]);
1334 }
1335
1336 /** Serialize txTo */
1337 template<typename S>

Callers

nothing calls this directly

Calls 2

CTxOutClass · 0.70
SerializeFunction · 0.50

Tested by

no test coverage detected