forked from ACINQ/eclair
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreference.conf
More file actions
81 lines (65 loc) · 2.83 KB
/
reference.conf
File metadata and controls
81 lines (65 loc) · 2.83 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
eclair {
chain = "testnet" // "regtest" for regtest, "testnet" for testnet, "mainnet" for mainnet
server {
public-ips = [] // external ips, will be announced on the network
binding-ip = "0.0.0.0"
port = 9735
}
api {
enabled = false // disabled by default for security reasons
binding-ip = "127.0.0.1"
port = 8080
password = "" // password for basic auth, must be non empty if json-rpc api is enabled
}
watcher-type = "bitcoind" // other *experimental* values include "electrum"
bitcoind {
host = "localhost"
rpcport = 18332
rpcuser = "foo"
rpcpassword = "bar"
zmq = "tcp://127.0.0.1:29000"
}
default-feerates { // those are in satoshis per kilobyte
delay-blocks {
1 = 210000
2 = 180000
6 = 150000
12 = 110000
36 = 50000
72 = 20000
}
}
min-feerate = 2 // minimum feerate in satoshis per byte
node-alias = "eclair"
node-color = "49daaa"
global-features = ""
local-features = "0a" // initial_routing_sync + option_data_loss_protect
channel-flags = 1 // announce channels
dust-limit-satoshis = 546
max-htlc-value-in-flight-msat = 1000000000 // 10 mBTC
htlc-minimum-msat = 1
max-accepted-htlcs = 30
reserve-to-funding-ratio = 0.01 // recommended by BOLT #2
max-reserve-to-funding-ratio = 0.05 // channel reserve can't be more than 5% of the funding amount (recommended: 1%)
to-remote-delay-blocks = 144 // number of blocks that the other node's to-self outputs must be delayed (144 ~ 1 day)
max-to-local-delay-blocks = 2000 // maximum number of blocks that we are ready to accept for our own delayed outputs (2000 ~ 2 weeks)
mindepth-blocks = 3
expiry-delta-blocks = 144
fee-base-msat = 1000
fee-proportional-millionths = 100 // fee charged per transferred satoshi in millionths of a satoshi (100 = 0.01%)
// maximum local vs remote feerate mismatch; 1.0 means 100%
// actual check is abs((local feerate - remote fee rate) / (local fee rate + remote fee rate)/2) > fee rate mismatch
max-feerate-mismatch = 1.5
// funder will send an UpdateFee message if the difference between current commitment fee and actual current network fee is greater
// than this ratio.
update-fee_min-diff-ratio = 0.1
channel-exclude-duration = 60 seconds // when a temporary channel failure is returned, we exclude the channel from our payment routes for this duration
router-broadcast-interval = 60 seconds // see BOLT #7
ping-interval = 30 seconds
auto-reconnect = true
payment-handler = "local"
payment-request-expiry = 1 hour // default expiry for payment requests generated by this node
max-pending-payment-requests = 10000000
max-payment-fee = 0.03 // max total fee for outgoing payments, in percentage: sending a payment will not be attempted if the cheapest route found is more expensive than that
min-funding-satoshis = 100000
}