Skip to content
Open

v23.0 #525

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e94107f
Update NodeHub hosting details and links (#526)
aradabir007 Nov 5, 2025
35ebf30
feat: add automated core rpc help extraction and comparison tools (#527)
thephez Nov 5, 2025
0b58c4e
docs(rpc): update ProTx parameter names for Dash Core 23.0
thephez Nov 3, 2025
c90cc0a
docs(rpc): add submit param for protx commands
thephez Nov 3, 2025
8b867eb
docs(rpc): deprecate service field and add addresses for network info
thephez Nov 3, 2025
d8e4a92
docs: update masternode setup with new protx format
thephez Nov 3, 2025
da69d88
docs(rpc): update protx example responses
thephez Nov 4, 2025
d3e8746
docs(rpc): add submit field to legacy protxs
thephez Nov 5, 2025
4abcfe1
docs(rpc): bls and quorum info updates
thephez Nov 6, 2025
c8808e0
docs(rpc): update quick ref and add include_immature_coinbase
thephez Nov 6, 2025
963470d
docs(rpc): mark masternode current and winner as removed
thephez Nov 6, 2025
b30ed55
docs(rpc): getblockfrompeer update
thephez Nov 6, 2025
2e88289
docs(rpc): getblockstats update
thephez Nov 6, 2025
7d3819f
docs(rpc): update wallet and raw tx
thephez Nov 6, 2025
e9fee23
docs(rpc): decodescript listdescriptors gettxout getcoinjoininfo updates
thephez Nov 6, 2025
13fff58
docs: add prompt for using new rpcs script output to update rpc docs
thephez Nov 6, 2025
8db98df
docs(rpc): decoderawtx getrawtx getblock updates
thephez Nov 6, 2025
dc9ffc0
docs(rpc): fundrawtx send walletcreatefundedpsbt updates
thephez Nov 6, 2025
e1b58eb
chore: exclude scripts dir in conf file
thephez Nov 6, 2025
028f5d1
docs(rpc): add coinjoin newkeypool simulaterawtx gettxspendingprevout
thephez Nov 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
'docs/core/api/ai-prompt.md',
'docs/img/dev/gifs/README.md',
'docs/user/wallets/electrum/dip3_p2sh_howto.md',
'scripts/*',
'venv'
]

Expand Down
12 changes: 10 additions & 2 deletions docs/core/api/ai-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,19 @@ _See also_
* [ImportPrivKey](../api/remote-procedure-calls-wallet.md#importprivkey): adds a private key to your wallet. The key should be formatted in the wallet import format created by the [`dumpprivkey` RPC](../api/remote-procedure-calls-wallet.md#dumpprivkey).
* [ImportAddress](../api/remote-procedure-calls-wallet.md#importaddress): adds an address or pubkey script to the wallet without the associated private key, allowing you to watch for transactions affecting that address or pubkey script without being able to spend any of its outputs.
* [ImportWallet](../api/remote-procedure-calls-wallet.md#importwallet): imports private keys from a file in wallet dump file format (see the [`dumpwallet` RPC](../api/remote-procedure-calls-wallet.md#dumpwallet)). These keys will be added to the keys currently in the wallet. This call may need to rescan all or parts of the block chain for transactions affecting the newly-added keys, which may take several minutes.
```

``

Create documentation for the following new RPC using the style of previously provided RPC documentation as a template:

```
INSERT "HELP <RPCNAME>" OUTPUT HERE
```

## Claude Code

### Update RPCs based on the auto-generated help diff summary

**Note:** See the [Core RPC scripts README](../../../scripts/core-rpc-tools/README.md) for details on creating the files used by the following prompt.

Update the RPC docs found in @docs/core/api directory for <vX.Y.Z>. For each RPC in the modified RPCs table of @scripts/core-rpc-tools/rpc-changes-summary-<old-version>-to-<new-version>.md, find the RPC documentation for that RPC and compare it with the info in @scripts/core-rpc-tools/dash-cli-help-<new-version>.jsonl. Make updates as required. Track progress in a table that matches the one in @scripts/core-rpc-tools/rpc-changes-summary-<old-version>-to-<new-version>.md but adds a column for documentation updates completed. Be sure to update @remote-procedure-call-quick-reference.md as changes are made.

61 changes: 32 additions & 29 deletions docs/core/api/remote-procedure-call-quick-reference.md

Large diffs are not rendered by default.

142 changes: 76 additions & 66 deletions docs/core/api/remote-procedure-calls-blockchain.md

Large diffs are not rendered by default.

54 changes: 45 additions & 9 deletions docs/core/api/remote-procedure-calls-dash.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The [`coinjoin` RPC](#coinjoin) controls the CoinJoin process (previously named

| Name | Type | Presence | Description |
| ------ | ------ | ----------------------- | ---------------------------------------------------------------------------------------------------------- |
| `mode` | string | Required<br>(exactly 1) | The command mode to use:<br>`start` - Start CoinJoin<br>`stop` - Stop CoinJoin<br>`reset` - Reset CoinJoin |
| `mode` | string | Required<br>(exactly 1) | The command mode to use:<br>`start` - Start CoinJoin<br>`status` - Get status<br>`stop` - Stop CoinJoin<br>`reset` - Reset CoinJoin |

**Command Mode - `start`**

Expand All @@ -38,6 +38,33 @@ Result:
Mixing started successfully
```

**Command Mode - `status`**

:::{versionadded} 23.0.0
:::

*Result---status of mixing sessions*

| Name | Type | Presence | Description |
| -------- | ------ | ----------------------- | --------------------------------- |
| `result` | array | Required<br>(exactly 1) | An array of status strings |
| →<br>Status | string | Required<br>(0 or more) | Status of a mixing session |

*Example from Dash Core 23.0.0*

```bash
dash-cli coinjoin status
```

Result:

```json
[
"Session 1: Idle",
"Session 2: Mixing"
]
```

**Command Mode - `stop`**

*Result---stop command return status*
Expand Down Expand Up @@ -241,7 +268,9 @@ The [`getcoinjoininfo` RPC](#getcoinjoininfo) returns an object containing an in
| → →<br>Session | object | Optional<br>(1 or more) | Information for a session |
| → → →<br>`protxhash` | string | Required<br>(exactly 1) | The ProTxHash of the masternode |
| → → →<br>`outpoint` | string (txid-index) | Required<br>(exactly 1) | The outpoint of the masternode |
| → → →<br>`service` | string (host:port) | Required<br>(exactly 1) | The IP address and port of the masternode |
| → → →<br>`service` | string (host:port) | Required<br>(exactly 1) | **Deprecated in Dash Core 23.0.0**<br>The IP address and port of the masternode |
| → → →<br>`addrs_core_p2p` | array | Required<br>(exactly 1) | **Added in Dash Core 23.0.0**<br>Network addresses of the masternode used for protocol P2P |
| → → → →<br>Address | string | Required<br>(1 or more) | Network address (IP:port) |
| → → →<br>`denomination` | number (int) | Required<br>(exactly 1) | The denomination of the session (in DASH) |
| → → →<br>`state` | string | Required<br>(exactly 1) | Current state of the session |
| → → →<br>`entries_count` | number (int) | Required<br>(exactly 1) | The number of entries in the session |
Expand All @@ -258,7 +287,7 @@ The [`getcoinjoininfo` RPC](#getcoinjoininfo) returns an object containing an in
| →<br>`state` | string | Required<br>(exactly 1) | Current state of the session |
| →<br>`entries_count` | number (int) | Required<br>(exactly 1) | The number of entries in the session |

*Example from Dash Core 0.17.0 (regular node)*
*Example from Dash Core 23.0.0 (regular node)*

``` bash
dash-cli -testnet getcoinjoininfo
Expand All @@ -281,13 +310,16 @@ Result:
{
"protxhash": "0515c9a411df0f1bd9940d9a2e4f6d739c29c52fc8c045c383f1ff6acc87c7b7",
"outpoint": "0a6520a6ef523de71fd0ca70441e1fd648483f094442d986b24e2c9391be61cf-29",
"service": "54.170.119.85:26216",
"service": "54.202.231.195:19999",
"addrs_core_p2p": [
"54.202.231.195:19999"
],
"denomination": 10.00010000,
"state": "QUEUE",
"entries_count": 0
}
],
"keys_left": 998,
"keys_left": 999,
"warnings": ""
}
```
Expand Down Expand Up @@ -1279,8 +1311,10 @@ Result:

### Masternode Current

:::{deprecated} 0.17.0
This RPC has been deprecated and will be removed in a future version of Dash Core
:::{attention}
**REMOVED in Dash Core 23.0.0**

This RPC was deprecated in Dash Core 0.17.0 and removed in v23.0.0.
:::

The `masternode current` RPC prints info on current masternode winner to be paid the next block (calculated locally).
Expand Down Expand Up @@ -1517,8 +1551,10 @@ Result:

### Masternode Winner

:::{deprecated} 0.17.0
This RPC has been deprecated and will be removed in a future version of Dash Core
:::{attention}
**REMOVED in Dash Core 23.0.0**

This RPC was deprecated in Dash Core 0.17.0 and removed in v23.0.0.
:::

The `masternode winner` RPC prints info on the next masternode winner to vote for.
Expand Down
Loading