Reduce DPT_MIN_REMAINDER_TO_LEGACY_BM from 50k sat to 25k sat.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-01-03 17:32:10 -05:00 committed by Alejandro García
parent 063ef02f54
commit 25c42e81da
No known key found for this signature in database
GPG key ID: F806F422E222AA02

View file

@ -69,9 +69,9 @@ public class DelayedPayoutTxReceiverService implements DaoStateListener {
// If at DPT there is some leftover amount due to capping of some receivers (burn share is // If at DPT there is some leftover amount due to capping of some receivers (burn share is
// max. ISSUANCE_BOOST_FACTOR times the issuance share) we send it to legacy BM if it is larger // max. ISSUANCE_BOOST_FACTOR times the issuance share) we send it to legacy BM if it is larger
// than DPT_MIN_REMAINDER_TO_LEGACY_BM, otherwise we spend it as miner fee. // than DPT_MIN_REMAINDER_TO_LEGACY_BM, otherwise we spend it as miner fee.
// 50000 sat is about 10 USD @ 20k price. We use a rather high value as we want to avoid that the legacy BM // 25000 sat is about 5 USD @ 20k price. We use a rather high value as we want to avoid that the legacy BM
// gets still payouts. // gets still payouts.
private static final long DPT_MIN_REMAINDER_TO_LEGACY_BM = 50000; private static final long DPT_MIN_REMAINDER_TO_LEGACY_BM = 25000;
// Min. fee rate for DPT. If fee rate used at take offer time was higher we use that. // Min. fee rate for DPT. If fee rate used at take offer time was higher we use that.
// We prefer a rather high fee rate to not risk that the DPT gets stuck if required fee rate would // We prefer a rather high fee rate to not risk that the DPT gets stuck if required fee rate would