| 1182 | }; |
| 1183 | |
| 1184 | uint256 GetPrevoutHash(const CTransaction& txTo) { |
| 1185 | CHashWriter ss(SER_GETHASH, 0); |
| 1186 | for (const auto& txin : txTo.vin) { |
| 1187 | ss << txin.prevout; |
| 1188 | } |
| 1189 | return ss.GetHash(); |
| 1190 | } |
| 1191 | |
| 1192 | uint256 GetSequenceHash(const CTransaction& txTo) { |
| 1193 | CHashWriter ss(SER_GETHASH, 0); |
no test coverage detected