| 1226 | |
| 1227 | template <class T> |
| 1228 | uint256 GetSequenceHash(const T& txTo) |
| 1229 | { |
| 1230 | CHashWriter ss(SER_GETHASH, 0); |
| 1231 | for (const auto& txin : txTo.vin) { |
| 1232 | ss << txin.nSequence; |
| 1233 | } |
| 1234 | return ss.GetHash(); |
| 1235 | } |
| 1236 | |
| 1237 | template <class T> |
| 1238 | uint256 GetOutputsHash(const T& txTo) |
no test coverage detected