Advertisement
Guest User

Untitled

a guest
Feb 8th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 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 = [xx.xx.xx.172] // external ips, will be announced on the network
  7. binding-ip = "0.0.0.0"
  8. port = 9735
  9. }
  10.  
  11. api {
  12. enabled = false // 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 = "xxxx"
  24. rpcpassword = "xxxxxxxxx"
  25. zmq = "tcp://127.0.0.1:29000"
  26. }
  27.  
  28. default-feerates { // those are in satoshis per kilobyte
  29. delay-blocks {
  30. 1 = 210000
  31. 2 = 180000
  32. 6 = 150000
  33. 12 = 110000
  34. 36 = 50000
  35. 72 = 20000
  36. }
  37. }
  38. min-feerate = 2 // minimum feerate in satoshis per byte
  39. smooth-feerate-window = 3 // 1 = no smoothing
  40.  
  41. node-alias = "SilentBob"
  42. node-color = "0000ff"
  43. global-features = ""
  44. local-features = "8a" // initial_routing_sync + option_data_loss_protect + option_channel_range_queries
  45. channel-flags = 1 // announce channels
  46. dust-limit-satoshis = 546
  47.  
  48. max-htlc-value-in-flight-msat = 1000000000 // 10 mBTC
  49. htlc-minimum-msat = 1
  50. max-accepted-htlcs = 30
  51.  
  52. reserve-to-funding-ratio = 0.01 // recommended by BOLT #2
  53. max-reserve-to-funding-ratio = 0.05 // channel reserve can't be more than 5% of the funding amount (recommended: 1%)
  54.  
  55. to-remote-delay-blocks = 720 // number of blocks that the other node's to-self outputs must be delayed (144 ~ 1 day)
  56. max-to-local-delay-blocks = 2000 // maximum number of blocks that we are ready to accept for our own delayed outputs (2000 ~ 2 weeks)
  57. mindepth-blocks = 3
  58. expiry-delta-blocks = 144
  59.  
  60. fee-base-msat = 100
  61. fee-proportional-millionths = 001 // fee charged per transferred satoshi in millionths of a satoshi (100 = 0.01%)
  62.  
  63. // maximum local vs remote feerate mismatch; 1.0 means 100%
  64. // actual check is abs((local feerate - remote fee rate) / (local fee rate + remote fee rate)/2) > fee rate mismatch
  65. max-feerate-mismatch = 1.5
  66.  
  67. // funder will send an UpdateFee message if the difference between current commitment fee and actual current network fee is greater
  68. // than this ratio.
  69. update-fee_min-diff-ratio = 0.1
  70.  
  71. channel-exclude-duration = 60 seconds // when a temporary channel failure is returned, we exclude the channel from our payment routes for this duration
  72. router-broadcast-interval = 60 seconds // see BOLT #7
  73.  
  74. ping-interval = 30 seconds
  75. auto-reconnect = true
  76.  
  77. payment-handler = "local"
  78. payment-request-expiry = 1 hour // default expiry for payment requests generated by this node
  79. max-pending-payment-requests = 10000000
  80. 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
  81. min-funding-satoshis = 100000
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement