mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
feat: add min_capacity_sat config value and switch
- add config value min_capacity_sat that will replaces the magic value min_effective_htlc_capacity = AMOUNT_MSAT(1000000) - add config switch min_capacity_sat
This commit is contained in:
committed by
Christian Decker
parent
41dd975aac
commit
c7af0c93c9
@@ -67,6 +67,9 @@ struct config {
|
||||
|
||||
/* Are we allowed to use DNS lookup for peers. */
|
||||
bool use_dns;
|
||||
|
||||
/* Minimal amount of effective funding_satoshis for accepting channels */
|
||||
u64 min_capacity_sat;
|
||||
};
|
||||
|
||||
struct lightningd {
|
||||
|
||||
Reference in New Issue
Block a user