From c5eaae3b89c67c664c24a53908bea608785e481d Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Wed, 4 Sep 2024 01:11:30 +0200 Subject: [PATCH] doc: Add -rpcclienttimeout=0 to loadtxoutset examples --- doc/assumeutxo.md | 2 +- src/rpc/blockchain.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/assumeutxo.md b/doc/assumeutxo.md index 4584eebf436b8..2b3f2bac47129 100644 --- a/doc/assumeutxo.md +++ b/doc/assumeutxo.md @@ -17,7 +17,7 @@ Once you've obtained the snapshot, you can use the RPC command `loadtxoutset` to load it. ``` -$ bitcoin-cli loadtxoutset /path/to/input +$ bitcoin-cli -rpcclienttimeout=0 loadtxoutset /path/to/input ``` After the snapshot has loaded, the syncing process of both the snapshot chain diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index e57e461b29a62..43d5dd462088a 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -3005,7 +3005,7 @@ static RPCHelpMan loadtxoutset() } }, RPCExamples{ - HelpExampleCli("loadtxoutset", "utxo.dat") + HelpExampleCli("loadtxoutset -rpcclienttimeout=0", "utxo.dat") }, [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {