Iteratively hash rather than building a vec then hashing
authorMatt Corallo <git@bluematt.me>
Wed, 21 Feb 2024 07:08:20 +0000 (07:08 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 3 Apr 2024 09:15:18 +0000 (09:15 +0000)
commit1e523fdd415597eaaa660fad675a116af0f4dc99
treee239296b6641fc47dccd5f28e29a0e75660d5f0a
parent7f6b9eb2482dff65e7571b131e12dc75e833eb8c
Iteratively hash rather than building a vec then hashing

... in signature checking.

Now that we control the signature checking API, we don't have to
pass a full buffer and can build our own hashes, avoiding the
allocation.
src/validation.rs