Repository navigation
docs(core): update REST, ZMQ, config, and example pages for Dash Core 24.0.0 - #620
Merged
Merged
Conversation
…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>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
nTx,chainlock,cbTx,prevout,feeanddesc/address, and removesreqSigs,addresses,txversand the fields that onlygetrawtransactionreturns.GET DeploymentInfo.verboseandmempool_sequencequery parameters forGET MemPool/Contentsand their result shapes, including the TXID-only mode.GET ChainInfoup to date: removes the nonexistentbip9_softforksfields, adds the fields v24 returns and the devnet chain names, and markssoftforksas deprecated (-deprecatedrpc=softforks).GET MemPool/Infofields (includingpendingassetunlocks), fixes themempoolminfeetype and removes the top-level fee fields that no longer exist.scripts/core-regtest-examples/capture-rest-examples.shwith 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 newdocs/core/example output should come from regtest, with testnet used only for behavior regtest can't show.-allowignoredconfand the new startup failure whendash.confwould be ignored. Also notes thatcreatewalletrequiresload_on_startupwheneverdescriptorsis specified, and that GUI settings have been stored insettings.jsonsince 23.1.0.dumpprivkeyandaddmultisigaddressfail on the new descriptor wallet default. The testing page covers-acceptnonstdtxnno 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/