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
parent a296887a73
commit 56377d8930
No known key found for this signature in database
GPG key ID: 02AA2BAE387C8307

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
// 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.
// 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.
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.
// We prefer a rather high fee rate to not risk that the DPT gets stuck if required fee rate would