This change reduces the number of zero-related hashes
performed. Multiple consecutive hashes against zero will be reduced to
one. The verification cost is thus significantly reduced, initial
benchmark shows that verifying a single key in SMT, consumes roughly
130k cycles using current CKB's cost model.
This change reduces the number of zero-related hashes performed. Multiple consecutive hashes against zero will be reduced to one. The verification cost is thus significantly reduced, initial benchmark shows that verifying a single key in SMT, consumes roughly 130k cycles using current CKB's cost model.