mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
This means we will document deprecations and additions, rather than just pretending they've always been that way! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
47 lines
1.1 KiB
Markdown
47 lines
1.1 KiB
Markdown
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
|
|
|
|
[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 CLN 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>
|
|
|
|
[comment]: # ( SHA256STAMP:d192483fc5442582e9765fcb0657f3470083a1acfffdcbf72b9e414581a7f0e3)
|