Just a code reading question -
This is the code that generates the signtext that OP_CHECKSIG checks the P2PKH signature against:
https://github.com/libbitcoin/libbitcoin-consensus/blob/master/src/clone/script/interpreter.cpp#L1120
For each of the now-being-checked transaction's transaction outputs, the code here runs "::Serialize(s, txTo.vout[nOutput]);".
Where is the "Serialize" logics for the transaction output (CTxOut)?