Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #781: feat: optimize pushbytes by removing unreachable minimal …
…check 84d1ad5 feat: optimize pushbytes by removing unreachable minimal check (ChrisCho-H) Pull request description: In [rust-bitcoin](https://github.com/rust-bitcoin/rust-bitcoin/blob/aa25adfc64ea0d742ca202991140f280024aba1b/bitcoin/src/blockdata/script/push_bytes.rs#L312), `read_scriptint` checks `NonMinimalPush`, which makes an additional minimal check needless and `PushBytes` inefficient. ACKs for top commit: apoelstra: ACK 84d1ad5; successfully ran local tests; yep, I think you are right Tree-SHA512: d16a199fd5caef13b4fa78584d61c7feb843accb2097b29ca7ccdabfd1cae3e5af9d54d70dc7b7b93f50809c2719f70a87cf4dbba9da53ed55d427568de9eed2
- Loading branch information