mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 00:09:31 +01:00
We do not need to specify the curve for each instance as bitcoinj uses SECP256K1 curve exclusively. This change reduces per instance memory usage, simplifies the API, and reduces public API dependence on Bouncy Castle. One two-arg constructor is deprecated and replaced with a single-arg constructor that no longer requires the curve parameter. Just to be extra safe, in the deprecated method we validate the curve argument and make sure it is the P256K1 curve. Also correctly mark private `bits` field as @Nullable, and improve JavaDoc and other comments. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
findbugs.xml |