Skip to content

docs(core): update REST, ZMQ, config, and example pages for Dash Core 24.0.0 - #620

Merged
thephez merged 8 commits into
dashpay:developfrom
thephez:docs/v24-core-api-examples
Nov 12, 2026
Merged

thephez merged 8 commits into
dashpay:developfrom
thephez:docs/v24-core-api-examples

Conversation

@thephez

@thephez thephez commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Updates Core developer pages for Dash Core 24.0.0: the REST, ZMQ and hash byte order references, the wallet configuration file page, and the transaction tutorials and testing page. The REST reference is the largest change. Every example on it is now generated from a single Dash Core 24.0.0 regtest run by a new script, so hashes are consistent across the page and examples can be regenerated for later releases. Several pages also change because descriptor wallets are now the default.

Highlights

  • REST API:
    • Replaces every example with output from the new regtest capture script, so the 0.12.2-era examples are gone and every example comes from the same chain.
    • Updates the Block, Block/NoTxDetails, Headers, GetUtxos and Tx response tables to match v24 output. For example, adds nTx, chainlock, cbTx, prevout, fee and desc/address, and removes reqSigs, addresses, txvers and the fields that only getrawtransaction returns.
    • Adds GET DeploymentInfo.
    • Documents the verbose and mempool_sequence query parameters for GET MemPool/Contents and their result shapes, including the TXID-only mode.
    • Brings GET ChainInfo up to date: removes the nonexistent bip9_softforks fields, adds the fields v24 returns and the devnet chain names, and marks softforks as deprecated (-deprecatedrpc=softforks).
    • Adds the missing GET MemPool/Info fields (including pendingassetunlocks), fixes the mempoolminfee type and removes the top-level fee fields that no longer exist.
  • REST capture script: Adds scripts/core-regtest-examples/capture-rest-examples.sh with a README. It starts an isolated regtest node and builds a fixed 610-block chain with a confirmed transaction and a parent/child pair in the mempool. It then captures every endpoint shown on the page. Repeated runs give byte-identical output. CLAUDE.md now lists the script and says new docs/core/ example output should come from regtest, with testnet used only for behavior regtest can't show.
  • ZMQ and hash byte order: Notes that the TXID of a v2 asset unlock differs from the hash of its published raw bytes, and that ProTxs are not InstantSend-locked (23.1.9).
  • Wallet configuration file: Covers -allowignoredconf and the new startup failure when dash.conf would be ignored. Also notes that createwallet requires load_on_startup whenever descriptors is specified, and that GUI settings have been stored in settings.json since 23.1.0.
  • Examples: The transaction tutorials now create a legacy wallet, since dumpprivkey and addmultisigaddress fail on the new descriptor wallet default. The testing page covers -acceptnonstdtxn no longer being the default on testnet and devnet, the routable masternode address requirement (23.1.9), and the legacy wallet needed for the spork key.

Preview build: https://dash-docs--620.org.readthedocs.build/en/620/

thephez and others added 4 commits November 11, 2026 22:21
…24.0.0

- REST: add GET DeploymentInfo; document mempool/contents verbose and
  mempool_sequence query params and result shapes; drop removed top-level
  fee fields; mark ChainInfo softforks as deprecated
  (-deprecatedrpc=softforks); add MemPool/Info pendingassetunlocks
- ZMQ: note that v2 asset unlock TXIDs differ from the hash of the
  published raw bytes, and that ProTxs are not InstantSend-locked (23.1.9)
- Hash byte order: add the v2 asset unlock TXID exception

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Note -allowignoredconf and the new startup failure on ignored dash.conf
- Note that createwallet requires load_on_startup whenever descriptors is
  specified
- Note that GUI settings are stored in settings.json since 23.1.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ptor wallet default

Descriptor wallets are the default in Dash Core 24.0.0, so dumpprivkey and
addmultisigaddress fail on a default wallet. Have the tutorial setup create
a legacy wallet and note the requirement where those RPCs are used.

Testing applications: testnet/devnet no longer accept non-standard
transactions by default (-acceptnonstdtxn), masternode addresses must be
routable regardless of -allowprivatenet (23.1.9), and the spork key note
needs a legacy wallet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the nonexistent bip9_softforks rows from GET ChainInfo, add the
fields v24 returns (time, initialblockdownload, size_on_disk, pruning
fields, warnings) and the devnet chain names. Add the missing
GET MemPool/Info fields and fix the mempoolminfee type. Replace both
0.12.2 examples with v24 regtest output, and mention the TXID-only
mode of GET MemPool/Contents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

thephez and others added 4 commits November 12, 2026 14:51
Add scripts/core-regtest-examples/capture-rest-examples.sh, which starts
an isolated Dash Core regtest node, builds a deterministic 610-block chain
(past DIP0003/v20 at 432 and withdrawals at 600) with one confirmed
transaction in block 606 and a parent/child pair in the mempool, and
captures every REST endpoint shown on http-rest-requests.md. Uses fixed
regtest-only keys, no wallet, and mocktime so repeated runs produce
byte-identical output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the examples for every REST endpoint with output from a single
run of scripts/core-regtest-examples/capture-rest-examples.sh, so hashes
are consistent across the page. Update the Block, Block/NoTxDetails,
Headers, GetUtxos, and Tx response tables to match the v24 JSON builders
(nTx, chainlock, cbTx, prevout, fee, hex, desc/address; drop reqSigs,
addresses, txvers, and the getrawtransaction-only Tx fields).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the capture script to CLAUDE.md's helper list and record that new
docs/core example output should come from regtest, with testnet reserved
for behavior regtest can't show. Add a source comment on the REST page
pointing to the script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Start dashd with -daemonwait so a failed start is reported at once
- Check each step in spend(), which runs where set -e does not apply
- Keep the datadir if dashd does not stop instead of deleting it
- Don't describe all captured error responses as documented
- Use the page's italic "Added in" marker style for the new rows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thephez
thephez merged commit 18a1e9e into dashpay:develop Nov 12, 2026
1 check passed
@thephez
thephez deleted the docs/v24-core-api-examples branch November 12, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ Proxy