MCPcopy Create free account
hub / github.com/citp/BlockSci / steps

Method steps

tools/parser/block_processor.cpp:283–288  ·  view source on GitHub ↗

0. step of the processing pipeline * Calculate hash of transaction and write it to the hash file (chain/tx_hashes.dat) */

Source from the content-addressed store, hash-verified

281/** 0. step of the processing pipeline
282 * Calculate hash of transaction and write it to the hash file (chain/tx_hashes.dat) */
283std::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. */

Callers 1

makeStandardProcessStepFunction · 0.80

Calls 15

isSpendableFunction · 0.85
dedupTypeFunction · 0.85
calculateHashMethod · 0.80
typeMethod · 0.80
eraseMethod · 0.80
getOutputPointerMethod · 0.80
setScriptNumMethod · 0.80
getRawTransactionMethod · 0.80
isNewMethod · 0.80
writeMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected