1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 02:27:32 +01:00
eclair/eclair-core
Pierre-Marie Padiou 99566f525c
Disconnect peer after a timeout when waiting for revocation (#761)
* added a revocation timeout

If a peer doesn't quickly reply to a `commit_sig`, we assume that it is
experiencing technical issues, and we disconnect. This will make pending
(unsigned) `update_add_htlc` to be fast-failed and will hopefully limit
the number of htlc that time out in the network.

By default we wait 20 seconds, configurable with
`eclair.revocation-timeout`.

This fixes #745.
2018-12-07 14:49:51 +01:00
..
src Disconnect peer after a timeout when waiting for revocation (#761) 2018-12-07 14:49:51 +01:00
eclair-cli Updated readme.md and eclair-cli (#750) 2018-11-13 17:35:16 +01:00
pom.xml Switch sttp backend async-http-client -> okhttp (#764) 2018-11-23 11:58:23 +01:00