HomePhabricator

[electrum] add more typehints for blockchain related functions

Description

[electrum] add more typehints for blockchain related functions

Summary:
And refactor can_connect -> get_connecting_chain because it return a Blockchain that is used in network.py (same rationale as get_chain_for_header refactoring in D14950)

Depends on D14951

Test Plan:

python test_runner.py
pytest electrumabc/tests/regtest

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

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

Details

Provenance
PiRKAuthored on Dec 8 2023, 10:14
PiRKPushed on Dec 8 2023, 13:59
Reviewer
Restricted Project
Differential Revision
D14952: [electrum] add more typehints for blockchain related functions
Parents
rABCe33666e462ce: [Cashtab] Do not give a change address to opreturn outputs
Branches
Unknown
Tags
Unknown