Comments (3)
Force closing a channel means publishing the latest pre-signed channel state. So you cannot override the fee rate as that would require your peer to re-sign the transaction. So not related to lndclient
at all. If you pass in true
for force close, you also need to pass in 0
as fees.
from lndclient.
Yep, that makes sense. I just figured it would make more sense for the fee argument to be simply ignored if force closure was indicated.
Furthermore, the following attempt seems mark the channel as force closing, but the transaction isn't actually broadcasted onchain. Am I missing something?
closeUpdates, closeErrors, err := m.lndService.Client.CloseChannel(m.ctx, outPoint, true, 0, nil)
EDIT: Checked logs:
2024-01-09 07:04:49.684 [WRN] CNCT: Unable to broadcast force close tx(8d8c20b37300eb389b3bc87360dff661c111089099add8db2c6a842efd0396cf): transaction rejected by the mempool because of low fees: mempool fee not met: -26: mempool min fee not met, 3100 < 6207
from lndclient.
Yeah, fee too low for your mempool. Need to increase -maxmempool
of your bitcoind
node.
from lndclient.
Related Issues (11)
- Failing installing dependencies HOT 2
- Documentation? HOT 2
- Decoding signatures HOT 1
- No support for Main RPC message signing? HOT 4
- Router SendPayment does not parse Amount when Invoice with dynamic value is set. HOT 2
- Missing SubscribeInvoices in LightningClient HOT 3
- Connecting to LND by supplying raw certs and macaroons HOT 2
- Value rounded to sat in AddInvoice HOT 1
- Proposal: merge this repo into the main lnd (incompatible versions). HOT 3
- Add signet support HOT 2
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 lndclient.