HomePhabricator

[electrum] avoid unneccessary bytes <-> hex conversion for block header

Description

[electrum] avoid unneccessary bytes <-> hex conversion for block header

Summary:
Make serialize_header return bytes to avoid converting to bytes at all callsites.

Depends on D14569

Test Plan: python test_runner.py

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D14570

Details

Provenance
PiRKAuthored on Oct 2 2023, 11:31
PiRKPushed on Oct 2 2023, 15:33
Reviewer
Restricted Project
Differential Revision
D14570: [electrum] avoid unneccessary bytes <-> hex conversion for block header
Parents
rABC1c5159fd0fe1: [electrum] use bytes for pubkey in keypairs arg for tx.sign()
Branches
Unknown
Tags
Unknown