Skip to content

Allow fractional funding fee rates for lncli openchannel --sat_per_vbyte #7456

@M1ch43lV

Description

@M1ch43lV

Aim:
When using a manual fee rate in sat/vbyte to open channels with lncli, allow to use fractional rates with up to two decimal places.

Why:
Since the introduction of ordinals the mempool is relatively full. A large part of the ordinals are set with 2sat/vbyte. It has proven beneficial to have the option to set the rate for opening channels to higher value, for example 2.1. On the one hand, the slight increase in the opening fees ensures that the opening costs are kept as low as possible; on the other hand, the slight increase in the transaction fee means that it is processed preferentially before the ordinals.

Problem:
Actually lnd takes sat_per_vbyte as a uint64 which suggests it doesn't support it.
To support fractional number the data type should be changed to float or double as floating-point data type, limited to one or two decimal places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4low prioenhancementImprovements to existing features / behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions