mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-24 06:47:46 +01:00
* use a map for feature->channelType resolution Instead of explicitly listing all the combination of features, and risk inconsistency, we may has well build the reverse map using the channel type objects. * better and less spammy logs We can switch the "funding tx already spent" router log from _warn_ to _debug_ because as soon as there are more than 10 of them, the peer's announcements will be ignored and there will be a warning message about that. * timedOutHtlcs -> trimmedOrTimedOutHtlcs Add a precision on trimmed htlcs, which can be failed as soon as the commitment tx has been confirmed. * proper logging of outgoing messages It is also logical to make `Outgoing` a command of `Peer`. It should have been done this way from the start if `Peer` had been a typed actor. * fixed mixed up comments Discovered this while working on #1838. In the following scenario, at reconnection: - `localCommit.index = 7` - `nextRemoteRevocationNumber = 6` So when `localCommit.index == nextRemoteRevocationNumber + 1` we must retransmit the revocation. ``` local remote | | | (no pending sig) | commit = 6 | | next rev = 6 |<----- sig 7 ------| commit = 7 | | |-- rev 6 --> ? | | | | (disconnection) | | | ``` |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |