mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-12 19:42:15 -04:00
update to bitcoinJ master
This commit is contained in:
parent
2190772370
commit
0f04d3c483
56 changed files with 671 additions and 824 deletions
|
@ -1,17 +1,16 @@
|
|||
package io.bitsquare.btc;
|
||||
|
||||
import com.google.bitcoin.core.*;
|
||||
import java.math.BigInteger;
|
||||
import javax.inject.Inject;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class FeePolicy
|
||||
{
|
||||
public static final BigInteger TX_FEE = Transaction.REFERENCE_DEFAULT_MIN_TX_FEE;
|
||||
public static final BigInteger ACCOUNT_REGISTRATION_FEE = Utils.toNanoCoins("0.01");
|
||||
public static final BigInteger CREATE_OFFER_FEE = Utils.toNanoCoins("0.001");
|
||||
public static final BigInteger TAKE_OFFER_FEE = CREATE_OFFER_FEE;
|
||||
public static final Coin TX_FEE = Transaction.REFERENCE_DEFAULT_MIN_TX_FEE;
|
||||
public static final Coin ACCOUNT_REGISTRATION_FEE = Coin.CENT; // 0.01
|
||||
public static final Coin CREATE_OFFER_FEE = Coin.MILLICOIN; // 0.001
|
||||
public static final Coin TAKE_OFFER_FEE = CREATE_OFFER_FEE;
|
||||
private static final Logger log = LoggerFactory.getLogger(FeePolicy.class);
|
||||
private static final String registrationFeeAddress = "mvkDXt4QmN4Nq9dRUsRigBCaovde9nLkZR";
|
||||
private static final String createOfferFeeAddress = "n2upbsaKAe4PD3cc4JfS7UCqPC5oNd7Ckg";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue