| 1216 | |
| 1217 | template <class T> |
| 1218 | uint256 GetPrevoutHash(const T& txTo) |
| 1219 | { |
| 1220 | CHashWriter ss(SER_GETHASH, 0); |
| 1221 | for (const auto& txin : txTo.vin) { |
| 1222 | ss << txin.prevout; |
| 1223 | } |
| 1224 | return ss.GetHash(); |
| 1225 | } |
| 1226 | |
| 1227 | template <class T> |
| 1228 | uint256 GetSequenceHash(const T& txTo) |
no test coverage detected