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
Pierre-Marie Padiou ffc4172e70
Added more checks on open/accept messages (#240)
We check that channel parameters are compliant with [BOLT 2](https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md) (this fixes #236).

We make sure that the counterparty chooses a decent `dust_limit`
because we want them to be able to publish their commitment, e.g. in a
data loss scenario. We also make sure that our configurable `dust_limit` isn't too low (this
fixes #234).

Also fixed our min `dust_limit` (542->546).

GUI:
* Using funding constants from `Channel`
* Also fixed an issue here `push` amount was compared to the max funding amount
  instead of the actual `funding` amount
2017-11-29 18:18:09 +01:00
..
main Added more checks on open/accept messages (#240) 2017-11-29 18:18:09 +01:00
test Added more checks on open/accept messages (#240) 2017-11-29 18:18:09 +01:00