Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eclair {
- chain = "mainnet" // "regtest" for regtest, "testnet" for testnet, "mainnet" for mainnet
- server {
- public-ips = [85.221.49.35] // external ips, will be announced on the network
- binding-ip = "127.0.0.1"
- port = 9735
- }
- api {
- enabled = true // 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 = 8332
- rpcuser = "........."
- rpcpassword = "........"
- zmqblock = "tcp://127.0.0.1:29000"
- zmqtx = "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
- smooth-feerate-window = 3 // 1 = no smoothing
- node-alias = "Lightningnorway"
- node-color = "ff9900"
- global-features = ""
- local-features = "8a" // initial_routing_sync + option_data_loss_protect + option_channel_range_queries
- channel-flags = 1 // announce channels
- dust-limit-satoshis = 546
- max-htlc-value-in-flight-msat = 5000000000 // 50 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 = 2016 // maximum number of blocks that we are ready to accept for our own delayed outputs (2016 ~ 2 weeks)
- mindepth-blocks = 3
- expiry-delta-blocks = 144
- fee-base-msat = 400
- 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
- revocation-timeout = 20 seconds // after sending a commit_sig, we will wait for at most that duration before disconnecting
- ping-interval = 30 seconds
- ping-timeout = 10 seconds // will disconnect if peer takes longer than that to respond
- ping-disconnect = true // disconnect if no answer to our pings
- 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
- min-funding-satoshis = 100000
- autoprobe-count = 0 // number of parallel tasks that send test payments to detect invalid channels
- router {
- randomize-route-selection = true // when computing a route for a payment we randomize the final selection
- channel-exclude-duration = 60 seconds // when a temporary channel failure is returned, we exclude the channel from our payment routes for this duration
- broadcast-interval = 60 seconds // see BOLT #7
- init-timeout = 5 minutes
- // the values below will be used to perform route searching
- path-finding {
- max-route-length = 6 // max route length for the 'first pass', if none is found then a second pass is made with no limit
- max-cltv = 1008 // max acceptable cltv expiry for the payment (1008 ~ 1 week)
- fee-threshold-sat = 21 // if fee is below this value we skip the max-fee-pct check
- max-fee-pct = 0.03 // route will be discarded if fee is above this value (in percentage relative to the total payment amount); doesn't apply if fee < fee-threshold-sat
- }
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement