Git Product home page Git Product logo

Comments (6)

guggero avatar guggero commented on June 22, 2024 3

Starting with v0.18.0, lnd will not let you create a transaction that will not make it into your local bitcoind's mempool. So lnd uses the mempoolminfee as the absolute minimum fee rate it will allow you to use. Otherwise you won't be able to broadcast it.
Since you are using the default mempool size of 300 MB, I assume that value was lower when you tried yesterday.

Closing the issue, as this is expected behavior.

from lnd.

Impa10r avatar Impa10r commented on June 22, 2024

today even 2 sats/vB does not work. same build, same address:

vlad@vlad-VirtualBox:~$ lncli sendcoins --addr tb1p6phwhqxsykfu0rhsnye0mvscamrfjderawlwq4mxls6k8y0dut0q39ck4s --amt 1000 --sat_per_vbyte 2
Amount: 1000
Destination address: tb1p6phwhqxsykfu0rhsnye0mvscamrfjderawlwq4mxls6k8y0dut0q39ck4s
Confirm payment (yes/no): yes
[lncli] rpc error: code = Unknown desc = fee preference too low: got 500 sat/kw, minimum is 697 sat/kw

blocks mine empty:
image

from lnd.

alexbosworth avatar alexbosworth commented on June 22, 2024

If your peers won't relay too-low chain fee transactions then publishing the transaction wouldn't work right?

from lnd.

Impa10r avatar Impa10r commented on June 22, 2024

This is not a problem on testnet. Fee estimation is wrong. How do I calculate the new floor? If we censor low fee transactions the fees won't go down.

from lnd.

guggero avatar guggero commented on June 22, 2024

What value do you get for mempoolminfee when you run bitcoin-cli getmempoolinfo? That should match up with the minimum fee rate you get in the error message.

from lnd.

Impa10r avatar Impa10r commented on June 22, 2024

Thanks. Today lncli sendcoins worked with 1 sat/vB, but it bumped the fee slightly internally:

$ journalctl -fu lnd
...
abr 29 10:09:42 vlad-VirtualBox lnd[682]: 2024-04-29 10:09:42.867 [INF] SWPR: Manual fee rate input of 250 sat/kw is too low, using 253 sat/kw instead
abr 29 10:09:42 vlad-VirtualBox lnd[682]: 2024-04-29 10:09:42.883 [INF] RPCS: [sendcoins] addr=tb1p6phwhqxsykfu0rhsnye0mvscamrfjderawlwq4mxls6k8y0dut0q39ck4s, amt=0.00001000 BTC, sat/kw=253, min_confs=1, send_all=false

minimum was 1 sat:

$ bcli getmempoolinfo
{
  "loaded": true,
  "size": 86,
  "bytes": 16417,
  "usage": 127856,
  "total_fee": 0.00476236,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00001000,
  "minrelaytxfee": 0.00001000,
  "incrementalrelayfee": 0.00001000,
  "unbroadcastcount": 0,
  "fullrbf": true
}

from lnd.

Related Issues (20)

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.