| 72 | |
| 73 | template <typename Stream> |
| 74 | void Serialize(Stream& s) const { |
| 75 | // TODO: avoid reimplementing vector serializer |
| 76 | uint64_t count = vprevout.size(); |
| 77 | ::Serialize(s, COMPACTSIZE(REF(count))); |
| 78 | for (const auto& prevout : vprevout) { |
| 79 | ::Serialize(s, TxInUndoSerializer(&prevout)); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | template <typename Stream> |
| 84 | void Unserialize(Stream& s) { |
nothing calls this directly
no test coverage detected