diff --git a/core/src/main/java/org/bitcoinj/core/NetworkParameters.java b/core/src/main/java/org/bitcoinj/core/NetworkParameters.java index bd5f30ba9..fd10b8bc3 100644 --- a/core/src/main/java/org/bitcoinj/core/NetworkParameters.java +++ b/core/src/main/java/org/bitcoinj/core/NetworkParameters.java @@ -408,13 +408,6 @@ public abstract class NetworkParameters { @Deprecated public abstract Coin getMaxMoney(); - /** - * @return coin value - * @deprecated use {@link TransactionOutput#getMinNonDustValue()} - */ - @Deprecated - public abstract Coin getMinNonDustOutput(); - /** * The monetary object for this currency. * @return formatting utility object diff --git a/core/src/main/java/org/bitcoinj/params/BitcoinNetworkParams.java b/core/src/main/java/org/bitcoinj/params/BitcoinNetworkParams.java index d1de54842..b599ff301 100644 --- a/core/src/main/java/org/bitcoinj/params/BitcoinNetworkParams.java +++ b/core/src/main/java/org/bitcoinj/params/BitcoinNetworkParams.java @@ -26,8 +26,6 @@ import org.bitcoinj.base.Coin; import org.bitcoinj.core.NetworkParameters; import org.bitcoinj.base.Sha256Hash; import org.bitcoinj.core.StoredBlock; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.TransactionOutput; import org.bitcoinj.core.VerificationException; import org.bitcoinj.protocols.payments.PaymentProtocol; import org.bitcoinj.store.BlockStore; @@ -232,13 +230,6 @@ public abstract class BitcoinNetworkParams extends NetworkParameters { return BitcoinNetwork.MAX_MONEY; } - /** @deprecated use {@link TransactionOutput#getMinNonDustValue()} */ - @Override - @Deprecated - public Coin getMinNonDustOutput() { - return Transaction.MIN_NONDUST_OUTPUT; - } - /** * @deprecated Get one another way or construct your own {@link MonetaryFormat} as needed. */ diff --git a/core/src/main/java/org/bitcoinj/testing/MockAltNetworkParams.java b/core/src/main/java/org/bitcoinj/testing/MockAltNetworkParams.java index 1e05748a1..bc43ddb71 100644 --- a/core/src/main/java/org/bitcoinj/testing/MockAltNetworkParams.java +++ b/core/src/main/java/org/bitcoinj/testing/MockAltNetworkParams.java @@ -58,11 +58,6 @@ public class MockAltNetworkParams extends NetworkParameters { return (Coin) this.network.maxMoney(); } - @Override - public Coin getMinNonDustOutput() { - return null; - } - @Override public MonetaryFormat getMonetaryFormat() { return null;