dcrd icon indicating copy to clipboard operation
dcrd copied to clipboard

wire: Optimize writes to hashers

Open jrick opened this issue 3 weeks ago • 0 comments

This adds two additional type cases to the optimized writes for BLAKE-256 (used by transactions and the original PoW algorithm) and BLAKE-3 (used by the current PoW algorithm). It also updates both the block header and transaction code to use these hashers during the calculation of block and transaction hashes.

Requires #3589.

jrick avatar Dec 11 '25 22:12 jrick