Git Product home page Git Product logo

Comments (3)

guggero avatar guggero commented on July 26, 2024

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.

ardevd avatar ardevd commented on July 26, 2024

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.

guggero avatar guggero commented on July 26, 2024

Yeah, fee too low for your mempool. Need to increase -maxmempool of your bitcoind node.

from lndclient.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.