diff --git a/core/src/main/java/org/bitcoinj/coinjoin/CoinJoinClientOptions.java b/core/src/main/java/org/bitcoinj/coinjoin/CoinJoinClientOptions.java index d48f268bd..fc050abb9 100644 --- a/core/src/main/java/org/bitcoinj/coinjoin/CoinJoinClientOptions.java +++ b/core/src/main/java/org/bitcoinj/coinjoin/CoinJoinClientOptions.java @@ -58,6 +58,9 @@ public static void setAmount(Coin amount) { get().coinJoinAmount.set(amount); } + public static void setDenomsGoal(int goal) { get().coinJoinDenomsGoal.set(goal); } + public static void setDenomsHardCap(int hardCap) { get().coinJoinDenomsHardCap.set(hardCap); } + public static boolean isEnabled() { return CoinJoinClientOptions.get().enableCoinJoin.get(); } public static boolean isMultiSessionEnabled() { return CoinJoinClientOptions.get().isCoinJoinMultiSession.get(); }