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/test
Dominique 267037a937
Add balance and channel lifecycle events to the audit db (#827)
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.
2019-02-08 10:41:09 +01:00
..
java/fr/acinq/eclair/crypto Added copyright notice to all files (#497) 2018-03-21 16:29:42 +01:00
resources Support for Tor onion services (#736) 2019-02-08 10:18:59 +01:00
scala/fr/acinq/eclair Add balance and channel lifecycle events to the audit db (#827) 2019-02-08 10:41:09 +01:00