bitcoinj/core
Sean Gilligan 0080f79a05 base: remove all (deprecated) usage of Networks.get()
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.
2024-08-29 23:33:26 +02:00
..
src base: remove all (deprecated) usage of Networks.get() 2024-08-29 23:33:26 +02:00
build.gradle build.gradle: remove sourceCompatibility, targetCompatibility 2024-08-29 23:07:30 +02:00
findbugs.xml Renamespace to org.bitcoinj away from com.google.bitcoin, as bitcoinj is no longer a Google project and being namespaced under com.google causes issues with Sonatype/Maven Central. 2014-09-30 17:05:07 +02:00