mirror of
https://github.com/aljazceru/lnflow.git
synced 2026-02-07 21:14:22 +01:00
base fee 0
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[default]
|
||||
# Default settings for all channels (non-final policy)
|
||||
final = false
|
||||
base_fee_msat = 1000
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 1000
|
||||
time_lock_delta = 80
|
||||
strategy = static
|
||||
|
||||
@@ -507,7 +507,7 @@ class PolicyEngine:
|
||||
|
||||
return (
|
||||
outbound_fee_ppm or 1000,
|
||||
outbound_base_fee or 1000,
|
||||
outbound_base_fee or 0,
|
||||
inbound_fee_ppm or 0,
|
||||
inbound_base_fee or 0
|
||||
)
|
||||
@@ -567,7 +567,7 @@ def create_sample_config() -> str:
|
||||
[default]
|
||||
# Non-final policy that sets defaults
|
||||
final = false
|
||||
base_fee_msat = 1000
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 1000
|
||||
time_lock_delta = 80
|
||||
strategy = static
|
||||
@@ -639,7 +639,7 @@ priority = 50
|
||||
chan.max_ratio = 0.1
|
||||
chan.min_capacity = 250000
|
||||
strategy = static
|
||||
base_fee_msat = 1000
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 3000
|
||||
inbound_fee_ppm = 100
|
||||
priority = 90
|
||||
|
||||
@@ -462,7 +462,7 @@ class PolicyManager:
|
||||
chan_point=chan_point,
|
||||
fee_rate_ppm=action['old_outbound'],
|
||||
inbound_fee_rate_ppm=action['old_inbound'],
|
||||
base_fee_msat=1000,
|
||||
base_fee_msat=0,
|
||||
time_lock_delta=80
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
[default]
|
||||
strategy = static
|
||||
base_fee_msat = 1000
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 1000
|
||||
time_lock_delta = 80
|
||||
|
||||
@@ -11,7 +11,7 @@ time_lock_delta = 80
|
||||
# Test basic matching and fee setting
|
||||
chan.min_capacity = 5000000
|
||||
strategy = static
|
||||
base_fee_msat = 1500
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 1200
|
||||
inbound_fee_ppm = -50
|
||||
priority = 10
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
[default]
|
||||
# Non-final policy that sets defaults
|
||||
final = false
|
||||
base_fee_msat = 1000
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 1000
|
||||
time_lock_delta = 80
|
||||
strategy = static
|
||||
@@ -77,7 +77,7 @@ priority = 50
|
||||
chan.max_ratio = 0.1
|
||||
chan.min_capacity = 250000
|
||||
strategy = static
|
||||
base_fee_msat = 1000
|
||||
base_fee_msat = 0
|
||||
fee_ppm = 3000
|
||||
inbound_fee_ppm = 100
|
||||
priority = 90
|
||||
|
||||
Reference in New Issue
Block a user