Comments (9)
Sorry to be late here, what is the sequence of commands that you follow to do CPFP?
from lightning.
It's a force close, by the message in the listpeers
command. The outputs are Segwit scripts (P2WSH) that's why the address doesn't show in your wallet.
from lightning.
Sorry to be late here, what is the sequence of commands that you follow to do CPFP?
As in this case here, I simply spent my output at a higher fee with lightning-cli withdraw
https://mempool.space/tx/452fd94859200ecc5da3ab5508cd70daf665e5ada603824f720f9fa762cfc354
But in the case of a force close, whose peer has disappeared (i think forever) and whose fees have been too low for more than 4 months, what can be done?
from lightning.
Ah good point @Lagrang3
I ingore the json output, I assume that this is a pre-anchor channel, and I need to think a bit about how it is possible to replace this TX, when I will be back to my desk at the end of the week, but maybe @Lagrang3 has some idea
from lightning.
This is precisely why we needed the anchors. If you broadcasted the force close tx, your lightning node cannot spend your output before the relative timelock, with respect to the blockheight when the transaction was confirmed, but since it has not been confirmed, the "time" is frozen. The counterparty (your peer) doesn't have the timelock in his output, he is the one who can CPFP.
from lightning.
Ok, I think I understand that nothing can be done, except hoping that the mempool returns to 2 sat/vbyte 🙂
(or paying a miner to mine my commitment tx)
from lightning.
Yes, either:
- you pay out-of-band, or
- transations fees return to 2 sat/vbyte, or
- your peer recovers his node and bumps the tx to confirm this 0.01 BTC he has available there, or
what if your peer completely lost his node's database and hdwallet?
and your node has not deleted old commitment transactions.
Maybe, there's an older commitment tx with a higher feerate.
You could risk broadcasting that tx, which will effectively RBF the current tx.
In the worst case your peer will wake up and punish you taking all the funds which where anyways mostly on his side.
And if he doesn't it probably means that he lost his data and he wasn't unable anyways to recover the funds.
from lightning.
Interesting!
Is it possible that I find an old commitment transactions in the CoreLn database?
Or every time it is renegotiated, the previous transaction is deleted?
from lightning.
Ok, I understand from this answer by @cdecker (https://bitcoin.stackexchange.com/a/96886) from 2020 that Core Lightning purposely doesn't keep old commitment transactions.
So I can't do much about it.
"Core Lightning doesn't store old versions of the commitment transaction, in order to avoid accidentally cheating."
from lightning.
Related Issues (20)
- Using fetchinvoice on a Phoenix Bolt12 offer crashes CLN HOT 10
- pytest on Windows requires higher version of python-bitcoinlib HOT 1
- nix build on recent master fails
- renepay fell over HOT 1
- bkpr - get entries by payment id
- CI Complaint about spend_tag in test_onchain_their_unilateral_out[True] HOT 1
- renepay crash on `linearize_channel` HOT 2
- Fix and enable github action for `Publish Python distributions to PyPI and TestPyPI`
- Bad commit sig in splicing (CI fail) HOT 2
- Lock values in documentation examples
- `getroutes`: amounts and delays are wrong HOT 4
- `askrene-reserve`: "guide_must_be: Assertion `actual == c' failed" HOT 2
- `askrene-inform-channel`: maximum_msat minimum_msat mismatch HOT 2
- bkpr-listaccountevents crashing and bringing down lightningd HOT 1
- `askrene`: memleak HOT 1
- status "pending" from "sendpay_failure" HOT 3
- `getroutes`: allocating more than `spendable_msat` HOT 2
- Is CI not checking for memory leaks? HOT 2
- Valgrind errors while scanning for memory leaks HOT 2
- plugins repo: MEMLEAK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightning.