1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 02:27:32 +01:00
eclair/eclair-core
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
..
src Add balance and channel lifecycle events to the audit db (#827) 2019-02-08 10:41:09 +01:00
eclair-cli Updated readme.md and eclair-cli (#750) 2018-11-13 17:35:16 +01:00
pom.xml Support for Tor onion services (#736) 2019-02-08 10:18:59 +01:00