-
Notifications
You must be signed in to change notification settings - Fork 5
/
channel-bot.toml
44 lines (39 loc) · 1.57 KB
/
channel-bot.toml
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
# Notification options
[notifications]
# Interval in seconds at which the channel balances and closed channels should be checked. Set to 0 to disable this feature
interval = 60
# Channel Cleaner options
[channelcleaner]
# Interval in hours at which inactive channels should be checked and possibly closed. Set to 0 to disable this feature
interval = 24
# After how many days of inactivity a **public** channel should be force closed
maxInactiveTime = 30
# After how many days of inactivity a **private** channel should be force closed
maxInactivePrivate = 60
# Discord options
[discord]
# Prefix for Discord every message sent
prefix = "[channels-testnet-btc]"
# Name of the Discord channel to which the notifications should be sent
channel = "testnet"
# Discord authentication token
token = "<token>"
# LND options
[lnd]
host = "127.0.0.1"
port = 10009
certificate = "/home/bitcoin/.lnd/tls.cert"
# This does not have to be the admin macaroon. The read only one is enough in case the bot should not force close channels
macaroon = "/home/bitcoin/.lnd/data/chain/bitcoin/testnet/admin.macaroon"
# Set a significant channel
# There is no upper limit to the number of significant channels
[[significantchannels]]
# Give the channel a name to make them easily identifiable in the notifications
alias = "wumbo-boltz"
# Channel ID of the channel
channelid = 619899158240231424
# The ratio is calculated with: local balance / channel capacity
# The minimal ratio before the channel is considered imbalanced
minratio = "0.1"
# The maximal ratio before the channel is considered imbalanced
maxratio = "0.6"