mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
fundpsbt: let caller specify locktime.
Required for dual funding where the opener sets it. Changelog-Added: JSON-RPC: `fundpsbt` takes a new `locktime` parameter Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
bf5e99403e
commit
14baaaa8ba
6
doc/lightning-fundpsbt.7
generated
6
doc/lightning-fundpsbt.7
generated
@@ -3,7 +3,7 @@
|
||||
lightning-fundpsbt - Command to populate PSBT inputs from the wallet
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBfundpsbt\fR \fIsatoshi\fR \fIfeerate\fR \fIstartweight\fR [\fIminconf\fR] [\fIreserve\fR]
|
||||
\fBfundpsbt\fR \fIsatoshi\fR \fIfeerate\fR \fIstartweight\fR [\fIminconf\fR] [\fIreserve\fR] [\fIlocktime\fR]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
@@ -39,6 +39,10 @@ outputs should have\. Default is 1\.
|
||||
\fIreserve\fR is a boolean: if true (the default), then \fIreserveinputs\fR is
|
||||
called (successfully, with \fIexclusive\fR true) on the returned PSBT\.
|
||||
|
||||
|
||||
\fIlocktime\fR is an optional locktime: if not set, it is set to a recent
|
||||
block height\.
|
||||
|
||||
.SH EXAMPLE USAGE
|
||||
|
||||
Let's assume the caller is trying to produce a 100,000 satoshi output\.
|
||||
|
||||
@@ -4,7 +4,7 @@ lightning-fundpsbt -- Command to populate PSBT inputs from the wallet
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
**fundpsbt** *satoshi* *feerate* *startweight* \[*minconf*\] \[*reserve*\]
|
||||
**fundpsbt** *satoshi* *feerate* *startweight* \[*minconf*\] \[*reserve*\] \[*locktime*\]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -36,6 +36,9 @@ outputs should have. Default is 1.
|
||||
*reserve* is a boolean: if true (the default), then *reserveinputs* is
|
||||
called (successfully, with *exclusive* true) on the returned PSBT.
|
||||
|
||||
*locktime* is an optional locktime: if not set, it is set to a recent
|
||||
block height.
|
||||
|
||||
EXAMPLE USAGE
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user