mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
NativeSecp256k1: deprecate native interface to libsecp256k1
This native implementation is unmaintained and untested for years.
This commit is contained in:
parent
7f50aa78b3
commit
24095fd9b8
@ -39,7 +39,9 @@ import static org.bitcoin.NativeSecp256k1Util.assertEquals;
|
||||
* and `make` then copy `.libs/libsecp256k1.so` to your system library path
|
||||
* or point the JVM to the folder containing it with -Djava.library.path
|
||||
* </p>
|
||||
* @deprecated See https://github.com/bitcoinj/bitcoinj/issues/2267
|
||||
*/
|
||||
@Deprecated
|
||||
public class NativeSecp256k1 {
|
||||
|
||||
private static final ReentrantReadWriteLock rwl = new ReentrantReadWriteLock();
|
||||
|
@ -21,7 +21,9 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Assertion utilities for {@link NativeSecp256k1}
|
||||
* @deprecated See https://github.com/bitcoinj/bitcoinj/issues/2267
|
||||
*/
|
||||
@Deprecated
|
||||
public class NativeSecp256k1Util {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(NativeSecp256k1Util.class);
|
||||
|
@ -21,7 +21,9 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* This class holds the context reference used in native methods to handle ECDSA operations.
|
||||
* @deprecated See https://github.com/bitcoinj/bitcoinj/issues/2267
|
||||
*/
|
||||
@Deprecated
|
||||
public class Secp256k1Context {
|
||||
|
||||
private static final boolean enabled; // true if the library is loaded
|
||||
|
Loading…
Reference in New Issue
Block a user