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

Method SerializeOutput

src/script/interpreter.cpp:1189–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1187 /** Serialize an output of txTo */
1188 template<typename S>
1189 void SerializeOutput(S &s, unsigned int nOutput) const {
1190 if (fHashSingle && nOutput != nIn)
1191 // Do not lock-in the txout payee at other indices as txin
1192 ::Serialize(s, CTxOut());
1193 else
1194 ::Serialize(s, txTo.vout[nOutput]);
1195 }
1196
1197 /** Serialize txTo */
1198 template<typename S>

Callers

nothing calls this directly

Calls 2

SerializeFunction · 0.50
CTxOutClass · 0.50

Tested by

no test coverage detected