mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
0080f79a05
Remove `DefaultAddressParserProvder.fromNetworks()` and everything that depends on it. All methods being removed were previously deprecated. Removing `DefaultAddressParserProvder.fromNetworks()` propagates to the 3 AddressParser getLegacy() methods and several other deprecated methods in Address, LegacyAddress, and Segwit Address. This change means that nothing in `o.b.base` will use the global list of supported networks stored in `Networks`. This is a mechanism we previously added to support other Bitcoin-compatible networks and their addressing schemes (e.g. LiteCoin.) "Alt networks" are still supported, but applications using them will need to create their own implementations of AddressParser to do it. We hope to eventually entirely remove the global state returned by Networks.get(), but this PR is just about removing its usage from `o.b.base`. Note: this also removes all uses of javax.annotation.Nullable from o.b.base. There are still instances of @NonNull which we should probably leave in until we move to JSpecify. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
findbugs.xml |