| 1144 | } |
| 1145 | |
| 1146 | uint256 GetSequenceHash(const CTransaction &txTo) { |
| 1147 | CHashWriter ss(SER_GETHASH, 0); |
| 1148 | for (unsigned int n = 0; n < txTo.vin.size(); n++) { |
| 1149 | ss << txTo.vin[n].nSequence; |
| 1150 | } |
| 1151 | return ss.GetHash(); |
| 1152 | } |
| 1153 | |
| 1154 | uint256 GetOutputsHash(const CTransaction &txTo) { |
| 1155 | CHashWriter ss(SER_GETHASH, 0); |
no test coverage detected