Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. eclair {
  2.  
  3. chain = "mainnet" // "regtest" for regtest, "test" for testnet. Livenet is not supported.
  4.  
  5. server {
  6. public-ips = [xxx.xxx.xxx.xx] // external ips, will be announced on the network
  7. binding-ip = "0.0.0.0"
  8. port = 9735
  9. }
  10.  
  11. api {
  12. binding-ip = "127.0.0.1"
  13. port = 8080
  14. }
  15.  
  16. watcher-type = "bitcoind" // other *experimental* values include "bitcoinj" or "electrum"
  17.  
  18. bitcoind {
  19. host = "localhost"
  20. rpcport = 8332
  21. rpcuser = "xxx"
  22. rpcpassword = "xxx"
  23. zmq = "tcp://127.0.0.1:29000"
  24. }
  25.  
  26. bitcoinj {
  27. static-peers = [
  28. #{ // currently used in integration tests to override default port
  29. # host = "localhost"
  30. # port = 28333
  31. #}
  32. ]
  33. }
  34.  
  35. default-feerates { // those are in satoshis per byte
  36. delay-blocks {
  37. 1 = 210
  38. 2 = 180
  39. 6 = 150
  40. 12 = 110
  41. 36 = 50
  42. 72 = 20
  43. }
  44. }
  45.  
  46. node-alias = "lightning_strike"
  47. node-color = "49daaa"
  48. global-features = ""
  49. local-features = "0a" // initial_routing_sync
  50. channel-flags = 1 // announce channels
  51. dust-limit-satoshis = 546
  52.  
  53. max-htlc-value-in-flight-msat = 1000000000 // 10 mBTC
  54. htlc-minimum-msat = 1
  55. max-accepted-htlcs = 30
  56.  
  57. reserve-to-funding-ratio = 0.01 // recommended by BOLT #2
  58. max-reserve-to-funding-ratio = 0.05 // channel reserve can't be more than 5% of the funding amount (recommended: 1%)
  59.  
  60. to-remote-delay-blocks = 144 // number of blocks that the other node's to-self outputs must be delayed (144 ~ 1 day)
  61. max-to-local-delay-blocks = 2000 // maximum number of blocks that we are ready to accept for our own delayed outputs (2000 ~ 2 weeks)
  62. mindepth-blocks = 3
  63. expiry-delta-blocks = 144
  64.  
  65. fee-base-msat = 1000
  66. fee-proportional-millionths = 100 // fee charged per transferred satoshi in millionths of a satoshi (100 = 0.1%)
  67.  
  68. // maximum local vs remote feerate mismatch; 1.0 means 100%
  69. // actual check is abs((local feerate - remote fee rate) / (local fee rate + remote fee rate)/2) > fee rate mismatch
  70. max-feerate-mismatch = 1.5
  71.  
  72. // funder will send an UpdateFee message if the difference between current commitment fee and actual current network fee is greater
  73. // than this ratio.
  74. update-fee_min-diff-ratio = 0.1
  75.  
  76. channel-exclude-duration = 60 seconds // when a temporary channel failure is returned, we exclude the channel from our payment routes for this duration
  77. router-broadcast-interval = 60 seconds // this should be 60 seconds on mainnet
  78.  
  79. ping-interval = 30 seconds
  80. auto-reconnect = true
  81.  
  82. payment-handler = "local"
  83. payment-request-expiry = 1 hour // default expiry for payment requests generated by this node
  84. max-pending-payment-requests = 10000000
  85. 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
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement