From 21713a8c9e62c96065698073a7b24c1ed458243f Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Wed, 6 May 2020 17:23:37 +0200 Subject: [PATCH] Add --assume_height for the sign repl command --- content/repl/interface.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/repl/interface.md b/content/repl/interface.md index 90acc4f4fa..1c4aca3f35 100644 --- a/content/repl/interface.md +++ b/content/repl/interface.md @@ -417,12 +417,18 @@ This subcommand has no extra flags and launches an interactive shell session. ```text OPTIONS: + --assume_height Assume the blockchain has reached a specific height. This affects the transaction + finalization, if there are timelocks in the descriptor --psbt Sets the PSBT to sign ``` Adds to the PSBT all the signatures it can produce with the secrets embedded in the descriptor (xprv or WIF keys). Returns the signed PSBT and, if there are enough item to satisfy the script, also the extracted raw Bitcoin transaction. +Optionally, the `assume_height` option can be specified to let the wallet assume the blockchain has reached a specific height. This affects the finalization of the PSBT which is done right at the end of the signing +process: the wallet tries to satisfy the spending condition of each input using the partial signatures collected. In case timelocks are present the wallet needs to know whether or not they have expired. This flag +is particularly useful for offline wallets. + ### `sync` This subcommand has no extra flags. It connects to the chosen Electrum server and synchronizes the list of transactions received and available UTXOs. -- 2.49.0