From 68cb7840d2c98350abf8f018ef6b510c19b5c759 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Fri, 3 Jul 2026 11:50:39 -0300 Subject: [PATCH] doc: improve offline-signing-tutorial after 32489 General improvements noted in the #32489 review and deferred by the author: - Remove a stale NOTE referencing walletcreatefundedpsbt; the tutorial was updated to use the send RPC instead. - Fix listtransactions example output from {...} to [...]; the RPC returns a JSON array, not an object. --- doc/offline-signing-tutorial.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/offline-signing-tutorial.md b/doc/offline-signing-tutorial.md index 76085073f25..a6454d09d66 100644 --- a/doc/offline-signing-tutorial.md +++ b/doc/offline-signing-tutorial.md @@ -118,8 +118,6 @@ tb1qtu5qgc6ddhmqm5yqjvhg83qgk2t4ewajg0h6yh cHNidP8BAHECAAAAAWLHKR9/xAjetzL/FCmZU5lbfINRMWPRPHWO68PfUzkPAQAAAAD9////AoA4AQAAAAAAFgAULajnzvO5M38eEwmu9dF+xH5m5RGs0g0AAAAAABYAFMaT0f/Wp2DCZzL6dkJ3GhWj4Y9vAAAAAAABAHECAAAAAY+dRPEBrGopkw4ugSzS9npzJDEIrE/bq1XXI0KbYnYrAQAAAAD+////ArKaXgAAAAAAFgAUwEc4LdoxSjbWo/2Ue+HS+QjwfiBAQg8AAAAAABYAFF8oBGNNbfYN0ICTLoPECLKXXLuyYW8CAAEBH0BCDwAAAAAAFgAUXygEY01t9g3QgJMug8QIspdcu7IiBgJZMszudZAVj34IuzYpDRNdMKCwRRY9qJbhzXZF7EIjqRgwbHNPVAAAgAEAAIAAAACAAAAAAAAAAAAAACICA7BlBnyAR4F2UkKuSX9MFhYCsn6j//z9i7lHDm1O0CU0GDBsc09UAACAAQAAgAAAAIABAAAAAAAAAAA= ``` -> [!NOTE] -> Leaving the `input` array empty in the above `walletcreatefundedpsbt` command is permitted and will cause the wallet to automatically select appropriate inputs for the transaction. ### Decode and Analyze the Unsigned PSBT @@ -210,7 +208,7 @@ You can also show transactions related to the wallet using `listtransactions` ```sh [online]$ ./build/bin/bitcoin-cli -signet -rpcwallet="watch_only_wallet" listtransactions -{ +[ ... -} +] ```