1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-23 14:40:34 +01:00
eclair/docs
Bastien Teinturier c803da670c
Store published txs in AuditDb (#1976)
We previously computed the on-chain fees paid by us after the fact, when
receiving a notification that a transaction was confirmed. This worked
because lightning transactions had a single input, which we stored in
our DB to allow us to compute the fee.

With anchor outputs, this mechanism doesn't work anymore. Some txs have
their fees paid by a child tx, and may have more than one input.

We completely change our model to store every transaction we publish,
along with the fee we're paying for this transaction. We then separately
store every transaction that confirms, which lets us join these two data
sets to compute how much on-chain fees we paid.

This has the added benefit that we can now audit every transaction that
we tried to publish, which lets node operators audit the anchor outputs
internal RBF mechanism and all the on-chain footprint of a given channel.
2021-10-04 16:06:17 +02:00
..
release-notes Store published txs in AuditDb (#1976) 2021-10-04 16:06:17 +02:00
Architecture.md Remove the GUI (#1981) 2021-10-01 14:46:27 +02:00
Cluster.md Add cluster doc, and packaging improvements (#1646) 2020-12-18 11:36:24 +01:00
Configure.md Move path-finding examples to documentation (#1983) 2021-10-04 10:29:27 +02:00
Monitoring.md Fix a few typos (#1684) 2021-02-08 11:20:23 +01:00
PostgreSQL.md Fix a few typos (#1684) 2021-02-08 11:20:23 +01:00
Tor.md Make Tor optional for blockchain watchdogs (#1958) 2021-09-22 09:18:58 +02:00