base fee 0

This commit is contained in:
2025-07-23 10:31:08 +02:00
parent e4415b9634
commit 22679c1aa2
5 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
)

View File

@@ -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

View File

@@ -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