| 1248 | |
| 1249 | template <class T> |
| 1250 | PrecomputedTransactionData::PrecomputedTransactionData(const T& txTo) |
| 1251 | { |
| 1252 | // Cache is calculated only for transactions with witness |
| 1253 | if (txTo.HasWitness()) { |
| 1254 | hashPrevouts = GetPrevoutHash(txTo); |
| 1255 | hashSequence = GetSequenceHash(txTo); |
| 1256 | hashOutputs = GetOutputsHash(txTo); |
| 1257 | ready = true; |
| 1258 | } |
| 1259 | } |
| 1260 | |
| 1261 | // explicit instantiation |
| 1262 | template PrecomputedTransactionData::PrecomputedTransactionData(const CTransaction& txTo); |
nothing calls this directly
no test coverage detected