NetworkParameters: remove deprecated method getMinNonDustOutput()

This commit is contained in:
micheal swiggs-malmevik 2023-02-07 14:55:22 +01:00 committed by Andreas Schildbach
parent ea5de696e8
commit 6a7ac8e2c7
3 changed files with 0 additions and 21 deletions

View File

@ -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

View File

@ -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.
*/

View File

@ -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;