2021-06-23 21:31:47 +02:00
|
|
|
lightning-parsefeerate -- Command for parsing a feerate string to a feerate
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
|
|
|
**parsefeerate** *feerate_str*
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The **parsefeerate** command returns the current feerate for any valid
|
|
|
|
*feerate_str*. This is useful for finding the current feerate that a
|
|
|
|
**fundpsbt** or **utxopsbt** command might use.
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
|
|
|
- **perkw** (u32, optional): Value of *feerate_str* in kilosipa
|
2021-09-03 12:07:59 +02:00
|
|
|
|
2021-06-23 21:31:47 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
|
|
|
|
ERRORS
|
|
|
|
------
|
|
|
|
|
|
|
|
The **parsefeerate** command will error if the *feerate_str* format is
|
|
|
|
not recognized.
|
|
|
|
|
|
|
|
- -32602: If the given parameters are wrong.
|
|
|
|
|
|
|
|
TRIVIA
|
|
|
|
------
|
|
|
|
|
|
|
|
In C-lightning we like to call the weight unit "sipa"
|
|
|
|
in honor of Pieter Wuille,
|
|
|
|
who uses the name "sipa" on IRC and elsewhere.
|
|
|
|
Internally we call the *perkw* style as "feerate per kilosipa".
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2021-09-03 12:07:59 +02:00
|
|
|
[comment]: # ( SHA256STAMP:a7bb800571a9ae47b3fb417ef02ce62de8afb2a710c45961b4871e270b4560d9)
|