mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-20 10:39:19 +01:00
1da0017311
While it makes sense to exclude from the routing table channels for which there is a spending tx in the mempool, we shouldn't blame our peers for considering the channel still opened if the spending tx hasn't yet been confirmed. Also, reworked `ValidateResult` with better types. It appears that the `NonexistingChannel` error wasn't really useful (a malicious peer would probably point to an existing funding tx, so there is no real difference between "txid not found" and "invalid script"), so it was replaced by `InvalidAnnouncement` error which is a more serious offense (punished by a disconnection, and probably a ban when we implement that sort of things). |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |