Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. eclair {
  2.  
  3. chain = "mainnet" // "regtest" for regtest, "testnet" for testnet, "mainnet" for mainnet
  4.  
  5. server {
  6. public-ips = [85.221.49.35] // external ips, will be announced on the network
  7. binding-ip = "127.0.0.1"
  8. port = 9735
  9. }
  10.  
  11. api {
  12. enabled = true // disabled by default for security reasons
  13. binding-ip = "127.0.0.1"
  14. port = 8080
  15. password = "......." // password for basic auth, must be non empty if json-rpc api is enabled
  16. }
  17.  
  18. watcher-type = "bitcoind" // other *experimental* values include "electrum"
  19.  
  20. bitcoind {
  21. host = "localhost"
  22. rpcport = 8332
  23. rpcuser = "........."
  24. rpcpassword = "........"
  25. zmqblock = "tcp://127.0.0.1:29000"
  26. zmqtx = "tcp://127.0.0.1:29000"
  27. }
  28.  
  29. default-feerates { // those are in satoshis per kilobyte
  30. delay-blocks {
  31. 1 = 210000
  32. 2 = 180000
  33. 6 = 150000
  34. 12 = 110000
  35. 36 = 50000
  36. 72 = 20000
  37. }
  38. }
  39. min-feerate = 2 // minimum feerate in satoshis per byte
  40. smooth-feerate-window = 3 // 1 = no smoothing
  41.  
  42. node-alias = "Lightningnorway"
  43. node-color = "ff9900"
  44.  
  45. global-features = ""
  46. local-features = "8a" // initial_routing_sync + option_data_loss_protect + option_channel_range_queries
  47.  
  48. channel-flags = 1 // announce channels
  49.  
  50. dust-limit-satoshis = 546
  51. max-htlc-value-in-flight-msat = 5000000000 // 50 mBTC
  52. htlc-minimum-msat = 1
  53. max-accepted-htlcs = 30
  54.  
  55. reserve-to-funding-ratio = 0.01 // recommended by BOLT #2
  56. max-reserve-to-funding-ratio = 0.05 // channel reserve can't be more than 5% of the funding amount (recommended: 1%)
  57.  
  58. to-remote-delay-blocks = 144 // number of blocks that the other node's to-self outputs must be delayed (144 ~ 1 day)
  59. max-to-local-delay-blocks = 2016 // maximum number of blocks that we are ready to accept for our own delayed outputs (2016 ~ 2 weeks)
  60. mindepth-blocks = 3
  61. expiry-delta-blocks = 144
  62.  
  63. fee-base-msat = 400
  64. fee-proportional-millionths = 100 // fee charged per transferred satoshi in millionths of a satoshi (100 = 0.01%)
  65.  
  66. // maximum local vs remote feerate mismatch; 1.0 means 100%
  67. // actual check is abs((local feerate - remote fee rate) / (local fee rate + remote fee rate)/2) > fee rate mismatch
  68. max-feerate-mismatch = 1.5
  69.  
  70. // funder will send an UpdateFee message if the difference between current commitment fee and actual current network fee is greater
  71. // than this ratio.
  72. update-fee_min-diff-ratio = 0.1
  73.  
  74. revocation-timeout = 20 seconds // after sending a commit_sig, we will wait for at most that duration before disconnecting
  75.  
  76. ping-interval = 30 seconds
  77. ping-timeout = 10 seconds // will disconnect if peer takes longer than that to respond
  78. ping-disconnect = true // disconnect if no answer to our pings
  79. auto-reconnect = true
  80.  
  81. payment-handler = "local"
  82. payment-request-expiry = 1 hour // default expiry for payment requests generated by this node
  83. max-pending-payment-requests = 10000000
  84. min-funding-satoshis = 100000
  85.  
  86. autoprobe-count = 0 // number of parallel tasks that send test payments to detect invalid channels
  87.  
  88. router {
  89. randomize-route-selection = true // when computing a route for a payment we randomize the final selection
  90. channel-exclude-duration = 60 seconds // when a temporary channel failure is returned, we exclude the channel from our payment routes for this duration
  91. broadcast-interval = 60 seconds // see BOLT #7
  92. init-timeout = 5 minutes
  93.  
  94. // the values below will be used to perform route searching
  95. path-finding {
  96. max-route-length = 6 // max route length for the 'first pass', if none is found then a second pass is made with no limit
  97. max-cltv = 1008 // max acceptable cltv expiry for the payment (1008 ~ 1 week)
  98. fee-threshold-sat = 21 // if fee is below this value we skip the max-fee-pct check
  99. 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
  100. }
  101. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement