Skip to content

Commit

Permalink
docs: fixing the json response in documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
  • Loading branch information
vincenzopalazzo authored and rustyrussell committed May 10, 2024
1 parent 370eb73 commit 081a2ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/developers-guide/plugin-development/bitcoin-backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ The plugin must return `feerate_floor` (e.g. 1000 if mempool is empty), and an a
```
{
"feerate_floor": <sat per kVB>,
"feerates": {
"feerates": [
{ "blocks": 2, "feerate": <sat per kVB> },
{ "blocks": 6, "feerate": <sat per kVB> },
{ "blocks": 12, "feerate": <sat per kVB> }
{ "blocks": 100, "feerate": <sat per kVB> }
}
]
}
```

Expand Down Expand Up @@ -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
- `errmsg` (string), if success is `false`, the reason why it failed

0 comments on commit 081a2ee

Please sign in to comment.