From 081a2eef6c9e0a39a126ee1e631d5fc4fdb22c3f Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Wed, 8 May 2024 06:30:38 +0200 Subject: [PATCH] docs: fixing the json response in documentation Signed-off-by: Vincenzo Palazzo --- doc/developers-guide/plugin-development/bitcoin-backend.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/developers-guide/plugin-development/bitcoin-backend.md b/doc/developers-guide/plugin-development/bitcoin-backend.md index 5f5febf33858..4dce580e28b8 100644 --- a/doc/developers-guide/plugin-development/bitcoin-backend.md +++ b/doc/developers-guide/plugin-development/bitcoin-backend.md @@ -28,12 +28,12 @@ The plugin must return `feerate_floor` (e.g. 1000 if mempool is empty), and an a ``` { "feerate_floor": , - "feerates": { + "feerates": [ { "blocks": 2, "feerate": }, { "blocks": 6, "feerate": }, { "blocks": 12, "feerate": } { "blocks": 100, "feerate": } - } + ] } ``` @@ -66,4 +66,4 @@ and a boolean `allowhighfees`, which if set means suppress any high-fees check i The plugin must broadcast it and respond with the following fields: - `success` (boolean), which is `true` if the broadcast succeeded - - `errmsg` (string), if success is `false`, the reason why it failed \ No newline at end of file + - `errmsg` (string), if success is `false`, the reason why it failed