1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 10:39:19 +01:00
eclair/eclair-core
Pierre-Marie Padiou 85592de0e5
Proper management of expiry-related errors (#469)
Make `Commitment` return `ExpiryTooSmall` and `ExpiryTooBig` when
appropriate, and don't do the check in the `Relayer`.

Be more restrictive when sending HTLCs, so that counterparty doesn't
close the channel when a block just appeared and there is temporarily a
1-block discrepancy between two peers.

Proper management of `FinalExpiryTooSoon` in the payment handler.

On top of that, added more tests and simplified some.
2018-03-01 18:48:54 +01:00
..
src Proper management of expiry-related errors (#469) 2018-03-01 18:48:54 +01:00
eclair-cli Make eclair-cli executable (#382) 2018-01-20 23:37:21 +01:00
pom.xml Removed BitcoinJ watcher (#447) 2018-02-20 14:26:38 +01:00