diff options
author | fanquake <fanquake@gmail.com> | 2021-08-23 11:13:49 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-08-23 11:40:18 +0800 |
commit | a93e7a442250d3522261d6e04d5660c5fecd2d8a (patch) | |
tree | 63399f4b1df746df9981767aca13671e3e455f37 /src/script/interpreter.h | |
parent | e9d6eb1b8071805cec1cc4e1352a13a7adc55ca8 (diff) | |
parent | 2f0190320ddf45ff35f07950e8f01e8f15538043 (diff) |
Merge bitcoin/bitcoin#22748: refactor: Avoid temporary vectors/uint256s in VerifyTaprootCommitment
2f0190320ddf45ff35f07950e8f01e8f15538043 Avoid temporary vectors/uint256s in VerifyTaprootCommitment (Pieter Wuille)
Pull request description:
As XOnlyPubKey has a Span-based constructor, that can be used directly without needing to first convert the byte sequence into a vector, only to convert that to a uint256, which only then can then be passed as a span to the constructor.
Reported by @ roconnor-blockstream.
ACKs for top commit:
Zero-1729:
crACK 2f0190320ddf45ff35f07950e8f01e8f15538043
theStack:
re-ACK 2f0190320ddf45ff35f07950e8f01e8f15538043
jonatack:
ACK 2f0190320ddf45ff35f07950e8f01e8f15538043
Tree-SHA512: f5e809d693cf6f6e899278cd706548eb4341e73b3f7ca8926b5fb50afb2098077d691579aea84fd7db2a7edd76be8e400aa2ed886091ee3416651b8a36efba37
Diffstat (limited to 'src/script/interpreter.h')
0 files changed, 0 insertions, 0 deletions