Page MenuHomePhabricator

[electrum] cleanup point_to_ser and stop leaking ecdsa implementation details for ECPubkey
ClosedPublic

Authored by PiRK on Jun 19 2024, 12:29.

Details

Summary

Better variable names, support Tuple[int, int] as input

User of ECPubkey should not have to know anything about the ecdsa library, so ECPubkey.point() now returns an int 2-tuple and ECPubkey.from_point() accepts such a tuple.

Depends on D16349

This is split out of D16301

Test Plan

python test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable