tln: raise our dust/reserve to 546 to be compatible with c-lightning - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit ed62a2154771401f50066eb2152eff0d2d8740db
DIR parent b26e028d9ba2de4d65aa804264db4a7268af0f58
HTML Author: Janus <ysangkok@gmail.com>
Date: Mon, 9 Jul 2018 15:29:49 +0200
ln: raise our dust/reserve to 546 to be compatible with c-lightning
Diffstat:
M lib/lnbase.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/lib/lnbase.py b/lib/lnbase.py
t@@ -518,7 +518,7 @@ class Peer(PrintError):
delayed_basepoint=keypair_generator(keyfamilydelaybase, 0),
revocation_basepoint=keypair_generator(keyfamilyrevocationbase, 0),
to_self_delay=143,
- dust_limit_sat=10,
+ dust_limit_sat=546,
max_htlc_value_in_flight_msat=0xffffffffffffffff,
max_accepted_htlcs=5
)
t@@ -546,7 +546,7 @@ class Peer(PrintError):
to_self_delay=local_config.to_self_delay,
max_htlc_value_in_flight_msat=local_config.max_htlc_value_in_flight_msat,
channel_flags=0x01, # publicly announcing channel
- channel_reserve_satoshis=10
+ channel_reserve_satoshis=546
)
self.send_message(msg)
payload = await self.channel_accepted[temp_channel_id].get()