mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-26 15:40:29 +01:00
Note that balance events are logged at most once every 30s, and only when the balance actually changes (e.g. won't log if a payment is failed). Also, only send `AvailableBalanceChanged` when needed. We were sending this event everytime we sent a `commit_sig`, which is incorrect because our balance doesn't change if, say, we are signing an incoming htlc. Note that we only send this event in `NORMAL` state, not in `SHUTDOWN` state, because the balance is not really _available_ in the latter. |
||
---|---|---|
.. | ||
java/fr/acinq/eclair/crypto | ||
resources | ||
scala/fr/acinq/eclair |