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:
Michael Schmoock
2019-04-03 10:20:38 +02:00
committed by Christian Decker
parent 41dd975aac
commit c7af0c93c9
4 changed files with 17 additions and 2 deletions

View File

@@ -22,4 +22,5 @@ const struct config test_config = {
.rescan = 30,
.max_fee_multiplier = 10,
.use_dns = true,
.min_capacity_sat = 1000,
};