HomePhabricator

[electrum] start adding typehints and documentation to network.py

Description

[electrum] start adding typehints and documentation to network.py

Summary:
Also rename the type alias Request to interfaceRequest in interface.py, so we can add a NetworkRequest type alias in network.py. The two are similar but different.

Depends on D14952

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/D14955

Details

Provenance
PiRKAuthored on Dec 8 2023, 13:38
PiRKPushed on Dec 8 2023, 14:31
Reviewer
Restricted Project
Differential Revision
D14955: [electrum] start adding typehints and documentation to network.py
Parents
rABCce73331041c0: [electrum] add more typehints for blockchain related functions
Branches
Unknown
Tags
Unknown