container: hledger-flow: electrum: add lightning, backwards compat #227
Reference in New Issue
Block a user
Delete Branch "refs/pull/227/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
⚠️ Do not merge until electrum resolves history bugThe electrum lightning history issue has been moved to #233
This PR is needed for backwards compatibility, as the new electrum format will break import - even if lightning is never used.
Agreement
When using the following:
After having opened a channel and sent some sats, a cooperative close had lead to a forced close by remote; leaving me with local txs
sweep local_anchorandsweep our_ctx_to_localfor many confirmations (as expected).However, once fully confirmed:
group_idClose channelis without a ln hash or oc txid and has a lonegroup_id(without any other txs in that group)group_idor any identifying hash for this tx, it effectively becomes a "mystery" tx and relies on associating through label (which won't work here, as rules are processed linearly).onchain_history
lightning_history
Ultimately, as the exported CSV shows, the last 3 txs are now somewhat unaccountable without more meaningful information provided:
The electrum lightning history issue has been moved to #233