0. step of the processing pipeline * Calculate hash of transaction and write it to the hash file (chain/tx_hashes.dat) */
| 281 | /** 0. step of the processing pipeline |
| 282 | * Calculate hash of transaction and write it to the hash file (chain/tx_hashes.dat) */ |
| 283 | std::vector<std::function<void(RawTransaction &tx)>> CalculateTxHashStep::steps() { |
| 284 | return {[&](RawTransaction &tx) { |
| 285 | tx.calculateHash(); |
| 286 | hashFile.write(tx.hash); |
| 287 | }}; |
| 288 | } |
| 289 | |
| 290 | /** 1. step of the processing pipeline |
| 291 | * Parse the output scripts (into CScriptView) of the transaction in order to identify address types and extract relevant information. */ |
no test coverage detected