mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 09:50:32 +01:00
NetworkParameters: remove deprecated method getMinNonDustOutput()
This commit is contained in:
parent
ea5de696e8
commit
6a7ac8e2c7
@ -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
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user