Skip to content

Commit

Permalink
Merge branch 'master' into delete_invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Taranchenko authored and Roman Taranchenko committed Oct 14, 2021
2 parents d42b048 + df63ea4 commit 6082a6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/release-notes/eclair-v0.6.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Relay fees are now set per node instead of per channel:

Note that you can use the `updaterelayfee` API *before* opening a channel to ensure that the channel doesn't use the default relay fees from `eclair.conf`.

The config for default fees has also be changed to allow different default fees for announced/unannounced channels: `fee-base-msat`/`fee-proportional-millionths` are now nested inside `relay.fees.public-channels`/`relay.fees.private-channels`.

:warning: When updating eclair, the relay fees for your existing channels will be reset to the value from your `eclair.conf`. You should use the `updaterelayfee` API to reconfigure relay fees if you don't want to use the default fees for every node you're connected to.

### Beta support for anchor outputs
Expand Down
2 changes: 2 additions & 0 deletions eclair-core/src/main/scala/fr/acinq/eclair/NodeParams.scala
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ object NodeParams extends Logging {
"enable-db-backup" -> "file-backup.enabled",
"backup-notify-script" -> "file-backup.notify-script",
// v0.6.2
"fee-base-msat" -> "relay.fees.public-channels.fee-base-msat",
"fee-proportional-millionths" -> "relay.fees.public-channels.fee-proportional-millionths",
"router.randomize-route-selection" -> "router.path-finding.default.randomize-route-selection",
"router.path-finding.max-route-length" -> "router.path-finding.default.boundaries.max-route-length",
"router.path-finding.max-cltv" -> "router.path-finding.default.boundaries.max-cltv",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class PaymentIntegrationSpec extends IntegrationSpec {
instantiateEclairNode("D", ConfigFactory.parseMap(Map("eclair.node-alias" -> "D", "eclair.expiry-delta-blocks" -> 133, "eclair.server.port" -> 29733, "eclair.api.port" -> 28083, "eclair.trampoline-payments-enable" -> true).asJava).withFallback(commonFeatures).withFallback(commonConfig))
instantiateEclairNode("E", ConfigFactory.parseMap(Map("eclair.node-alias" -> "E", "eclair.expiry-delta-blocks" -> 134, "eclair.server.port" -> 29734, "eclair.api.port" -> 28084).asJava).withFallback(withAnchorOutputsZeroFeeHtlcTxs).withFallback(commonConfig))
instantiateEclairNode("F", ConfigFactory.parseMap(Map("eclair.node-alias" -> "F", "eclair.expiry-delta-blocks" -> 135, "eclair.server.port" -> 29735, "eclair.api.port" -> 28085, "eclair.trampoline-payments-enable" -> true).asJava).withFallback(withWumbo).withFallback(commonConfig))
instantiateEclairNode("G", ConfigFactory.parseMap(Map("eclair.node-alias" -> "G", "eclair.expiry-delta-blocks" -> 136, "eclair.server.port" -> 29736, "eclair.api.port" -> 28086, "eclair.fee-base-msat" -> 1010, "eclair.fee-proportional-millionths" -> 102, "eclair.trampoline-payments-enable" -> true).asJava).withFallback(commonConfig))
instantiateEclairNode("G", ConfigFactory.parseMap(Map("eclair.node-alias" -> "G", "eclair.expiry-delta-blocks" -> 136, "eclair.server.port" -> 29736, "eclair.api.port" -> 28086, "eclair.relay.fees.public-channels.fee-base-msat" -> 1010, "eclair.relay.fees.public-channels.fee-proportional-millionths" -> 102, "eclair.trampoline-payments-enable" -> true).asJava).withFallback(commonConfig))
}

test("connect nodes") {
Expand Down

0 comments on commit 6082a6b

Please sign in to comment.