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.
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.