Page MenuHomePhabricator

Just pass a TxId to AddInventoryKnown, rename to AddKnownTx
ClosedPublic

Authored by Fabien on Nov 23 2020, 16:11.

Details

Summary
Since it's only used for transactions, there's no need to pass in an inv
type.

Backport of core PR18044.

Since thie PR is Segwit related, there is not much left.
Full commits:

Only the CInv equality operator in messages.py is relevant:

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.