-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.ini.example
More file actions
127 lines (112 loc) · 4.45 KB
/
Copy pathconfig.ini.example
File metadata and controls
127 lines (112 loc) · 4.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# rename file to config.ini. No 'highcomma' or "quotation marks"
[credentials]
#Amboss API Key
amboss_authorization =
#LNDg username+pwd from lndg/data/lndg-admin.txt
lndg_username =
lndg_password =
[lndg]
lndg_api_url = http://localhost:8889
[pubkey]
#Add Pubkeys you want to ignore in automated LNDg updates, comma-separated for adding multiple pubkeys.
base_fee_ignore = pubkey1,pubkey2,pubkey3
#Add Pubkeys you want to auto-reject when Magma channel-buy orders are coming in
banned_magma_pubkeys = pubkey1,pubkey2,pubkey3
[no-swapout]
#Add Pubkeys you want to filter out for swapout outputs, comma-separated for adding multiple pubkeys.
swapout_blacklist =
[paths]
# set your paths in case you cron-job it: $ whereis lncli & whereis pscli
lncli_path = /usr/local/bin/lncli
pscli_path = /usr/local/bin/pscli
boltzcli_path = /usr/local/bin/boltzcli
# Paths for boltzcli to connect to the boltzd gRPC interface
# This is boltzd's own TLS certificate, not LND's.
boltzd_tlscert_path = /home/boltz/.boltz/tls.cert
boltzd_admin_macaroon_path = /home/boltz/.boltz/macaroons/admin.macaroon
[telegram]
chat_id =
magma_bot_token =
peerswap_bot_token =
telegram_user_id =
lnbits_bot_token =
[info]
node =
[system]
full_path_bos = /usr/bin/bos
BCK_SOURCE_PATH = /home/elements/.elements/liquidv1/wallets
BCK_DEST_PATH = /mnt/backup/liquid
path_command = /usr/local/bin/
# Desired logging level for scripts. Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
log_level = INFO
[urls]
mempool_tx = https://mempool.space/tx/
liquid_tx = https://liquid.network/tx/
mempool_fees_api = https://mempool.space/api/v1/fees/recommended
[parameters]
fee_updated_hours_ago = 3
capped_ceiling = 3100
agg_liquidity_threshold = 10
[magma]
# Invoice expiry in seconds
invoice_expiry_seconds = 180000
# Include routing hints in invoice for private channels (--private)
invoice_include_route_hints = false
# Maximum percentage of the invoice amount that can be consumed by on-chain fees for channel opening
# e.g., 0.90 means 90% of the invoice can be fees.
max_fee_percentage_of_invoice = 0.90
# Default fee rate in parts per million for the new channel
channel_fee_rate_ppm = 350
# How long to wait in seconds before retrying to connect to a buyer's node
connect_retry_delay_seconds = 60
# Maximum number of times to retry connecting to a buyer's node
max_connect_retries = 30
# Polling interval in minutes to check for new orders
polling_interval_minutes = 10
## LNBits Pocket Money Settings
[LNBits]
# http:// for localhost or https:// for your external domain
base_url = https://yourdomain.com/api/v1
# admin key for the main LNBits wallet (parent wallet)
admin_key = admin_key_1
[Schedule]
# Options: daily, weekly
recurrence = weekly
# Time of day to run the transfer
time = 09:00
# Only used if recurrence is weekly
day_of_week = friday
[lnd]
rpcserver = your_lnd_host:port
tlscertpath = /path/to/your/lnd/tls.cert
macaroonpath = /path/to/your/lnd/admin.macaroon
[loop]
# Path or alias to litloop/loop command. Defaults to litloop or loop
loop_command = litloop
# Path to loop's local SQLite database (Source of Truth for history and swap accounting)
loop_db_path = ~/.loop/mainnet/loop_sqlite.db
# Public key of the Lightning Labs Loop server node
loop_pubkey = 021c97a90a411ff2b10dc2a8e32de2f29d2fa49d41bfbb52bd416e460db0747d0d
# Default confirmation target for sweep transaction (minimum 6 for economical sweep)
conf_target = 9
# Default maximum local fee rate (ppm) to consider for looping out (opportunity cost cap)
max_local_fee_ppm = 100
# Minimum local balance ratio (percentage) on candidate channel to consider
min_local_balance_ratio = 60
# Minimum channel capacity (sats)
min_capacity = 3000000
# Target local balance ratio (percentage) when calculating dynamic loop-out size
target_local_ratio = 50
# Number of concurrent workers for route probing (default: 1 for zero downstream collision, 2 for parallel)
workers = 1
# Timeout in seconds for individual route prepay probes (default: 15)
probe_timeout = 15
# Percentage leeway added on top of probed routing fee for max off-chain fee limit (default: 100 for +100% / 2x headroom)
fee_leeway_pct = 100
# Base satoshis buffer added to fee leeway to absorb base fees and small fluctuations (default: 500)
fee_leeway_base_sats = 500
# Maximum number of outgoing channels to batch in a multi-channel Loop Out (default: 3)
max_channels = 3
# Loop daemon connection parameters (used if loop_command is 'loop' instead of 'litloop')
# rpcserver = localhost:8443
# tlscertpath = ~/.lit/tls.cert