mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 14:22:39 +01:00
Set default to-remote-delay-blocks
to 720 (#879)
It sounds like a more reasonable default value, 144 was too short. Keep using 144 blocks for our integration tests.
This commit is contained in:
parent
fe31f2d9d2
commit
f9ead30b5c
2 changed files with 14 additions and 3 deletions
|
@ -61,7 +61,7 @@ eclair {
|
|||
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)
|
||||
to-remote-delay-blocks = 720 // number of blocks that the other node's to-self outputs must be delayed (720 ~ 5 days)
|
||||
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
|
||||
|
@ -132,4 +132,4 @@ eclair {
|
|||
port = 9051
|
||||
private-key-file = "tor.dat"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,7 +73,18 @@ class IntegrationSpec extends TestKit(ActorSystem("test")) with BitcoindService
|
|||
))
|
||||
))
|
||||
|
||||
val commonConfig = ConfigFactory.parseMap(Map("eclair.chain" -> "regtest", "eclair.server.public-ips.1" -> "127.0.0.1", "eclair.bitcoind.port" -> 28333, "eclair.bitcoind.rpcport" -> 28332, "eclair.bitcoind.zmqblock" -> "tcp://127.0.0.1:28334", "eclair.bitcoind.zmqtx" -> "tcp://127.0.0.1:28335", "eclair.mindepth-blocks" -> 2, "eclair.max-htlc-value-in-flight-msat" -> 100000000000L, "eclair.router.broadcast-interval" -> "2 second", "eclair.auto-reconnect" -> false))
|
||||
val commonConfig = ConfigFactory.parseMap(Map(
|
||||
"eclair.chain" -> "regtest",
|
||||
"eclair.server.public-ips.1" -> "127.0.0.1",
|
||||
"eclair.bitcoind.port" -> 28333,
|
||||
"eclair.bitcoind.rpcport" -> 28332,
|
||||
"eclair.bitcoind.zmqblock" -> "tcp://127.0.0.1:28334",
|
||||
"eclair.bitcoind.zmqtx" -> "tcp://127.0.0.1:28335",
|
||||
"eclair.mindepth-blocks" -> 2,
|
||||
"eclair.max-htlc-value-in-flight-msat" -> 100000000000L,
|
||||
"eclair.router.broadcast-interval" -> "2 second",
|
||||
"eclair.auto-reconnect" -> false,
|
||||
"eclair.to-remote-delay-blocks" -> 144))
|
||||
|
||||
implicit val formats = DefaultFormats
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue