| 2391 | /** Compute the (single) SHA256 of the concatenation of all outpoint flags of a tx. */ |
| 2392 | template <class T> |
| 2393 | uint256 GetOutpointFlagsSHA256(const T& txTo) |
| 2394 | { |
| 2395 | CHashWriter ss(SER_GETHASH, 0); |
| 2396 | for (const auto& txin : txTo.vin) { |
| 2397 | ss << GetOutpointFlag(txin); |
| 2398 | } |
| 2399 | return ss.GetSHA256(); |
| 2400 | } |
| 2401 | |
| 2402 | /** Compute the (single) SHA256 of the concatenation of all prevouts of a tx. */ |
| 2403 | template <class T> |
no test coverage detected