| 1190 | } |
| 1191 | |
| 1192 | uint256 GetSequenceHash(const CTransaction& txTo) { |
| 1193 | CHashWriter ss(SER_GETHASH, 0); |
| 1194 | for (const auto& txin : txTo.vin) { |
| 1195 | ss << txin.nSequence; |
| 1196 | } |
| 1197 | return ss.GetHash(); |
| 1198 | } |
| 1199 | |
| 1200 | uint256 GetOutputsHash(const CTransaction& txTo) { |
| 1201 | CHashWriter ss(SER_GETHASH, 0); |
no test coverage detected