1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-26 15:40:29 +01:00
eclair/eclair-core/src/main
Pierre-Marie Padiou 1aea66457a
Explicitely ack all relayed messages (#390)
In order to gracefully handle cases when the counterparty goes online while we are in
the middle of processing payments, we need to explicitely ack all
`fulfill`/`fail`/`fail_malformed` messages.

We previously only acked `fulfill` messages.

Also, we now fail timed out htlcs at the right time, which is:
- for dust htlcs, when the commitment tx reaches `min_depth`
- for non-dust htlcs, when the htlc-timeout or claim-htlc-timeout tx
  reaches `min_depth`

Moved preimage extraction to `Helper` file.

This fixes #376, #377 and #378.
2018-02-16 16:42:08 +01:00
..
resources Persisted channel capacity an added fees and capacity to Channel GUI (#416) 2018-02-12 17:28:21 +01:00
scala/fr/acinq/eclair Explicitely ack all relayed messages (#390) 2018-02-16 16:42:08 +01:00