Skip to content

Conversation

@thephez
Copy link
Collaborator

@thephez thephez commented Nov 11, 2025

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

Summary by CodeRabbit

  • Documentation
    • Updated masternode docs to use coreP2PAddrs (and new platformP2PAddrs, platformHTTPSAddrs) with JSON-like examples and backward-compatibility notes
    • Adjusted ProUpRegTx/ProUpRevTx descriptions, operator/voting/payout/fee-source guidance and fallback rules
    • Rewrote legacy BLS deprecation guidance and linked to new BLS key generation flow
    • Clarified command-argument formatting and wording across setup and testnet guides
    • Clarified isdlock vs islock terminology, cycleHash semantics, protocol notes, and deterministic isdlock request ID calculation
    • Updated wallet/daemon/CLI help texts with new options, defaults, and wording; updated P2P protocol version entry
  • New Features
    • Added an --update workflow to the help-parsing script to format and inject help output into Markdown files

@coderabbitai
Copy link

coderabbitai bot commented Nov 11, 2025

Walkthrough

Documentation updates: replaced legacy ipAndPort with coreP2PAddrs (added Evonode address fields), revised BLS legacy guidance to recommend generating a new basic-scheme BLS key, clarified ProReg/ProUp/ProRev argument text and examples, adjusted islock → isdlock terminology and cycleHash semantics, and added a help-parsing script update feature.

Changes

Cohort / File(s) Summary
Masternode maintenance & setup docs
docs/user/masternodes/maintenance.rst, docs/user/masternodes/setup.rst, docs/user/masternodes/setup-testnet.rst
Replaced ipAndPort with coreP2PAddrs in examples/syntax; added backwards-compat note that coreP2PAddrs accepts legacy input. Introduced Evonode fields coreP2PAddrs, platformP2PAddrs, platformHTTPSAddrs with format/uniqueness guidance. Rewrote BLS legacy guidance: recommend generating a new basic-scheme BLS key. Updated argument descriptions for operatorKeyAddr, votingKeyAddr, operatorReward, payoutAddress, feeSourceAddress and ProUpRevTx feeSourceAddress behavior.
P2P / InstantSend message docs
docs/core/reference/p2p-network-instantsend-messages.md
Renamed/clarified islockisdlock; added protocol/version note (v23.0.0 / 70237). Clarified cycleHash denotes the DKG cycle start block of the signing quorum (with backward-compat note). Added deterministic request-ID calculation detail and noted signature serialization uses the basic BLS scheme; adjusted field captions and wording.
Dash core CLI/UI/help docs
docs/core/dashcore/wallet-arguments-and-commands-dash-*.md (dash-cli,dash-qt,dash-tx,dash-wallet,dashd)
Removed several devnet-only/chain-parameter CLI option blocks (e.g., -highsubsidyblocks, -llmq*, -minimumdifficultyblocks, -powtargetspacing) and performed numerous wording, formatting, default/behavior clarifications. Added new options: -parbls, -walletcrosschain, -consolidatefeerate, -llmqtestplatformparams, -testactivationheight, and enhancements to logging (-loglevel) and other flag descriptions. Mostly documentation/text updates across wallet/daemon/UI help.
P2P protocol versions
docs/core/reference/p2p-network-protocol-versions.md
Updated “As of” protocol version from 70236 to 70238 and added a table entry for 70238 (Dash Core 23.0.0) with initial release notes.
Script: help parsing and update flow
scripts/core-help-parsing.sh
Added process_help_output() function to format help text to Markdown; added --update FILE flag to update target markdown files in-place (validate input, replace Options block with formatted output), input validation, and success messaging. Reworked main flow to support stdout or in-place update.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant CLI as stdout / pipe
  participant Script as core-help-parsing.sh
  participant File as Target markdown file

  CLI->>Script: send help text (stdin)
  alt no --update
    Script->>CLI: format via process_help_output()
    Script->>CLI: print formatted markdown
  else --update FILE
    Script->>Script: process_help_output() -> formatted block
    Script->>File: read existing FILE
    Script->>File: validate target & locate "### Options" section
    Script->>File: replace Options block with formatted block
    Script->>File: write temp -> atomically replace FILE
    Script->>CLI: print success message
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Pay attention to consistency of BLS deprecation wording and the linked BLS generation instructions across masternode docs.
  • Verify examples for correct quoting/escaping of JSON-like coreP2PAddrs inputs.
  • Confirm platformP2PAddrs / platformHTTPSAddrs format and uniqueness guidance are precise and non-contradictory.
  • Review isdlock naming, protocol/version annotations, and cycleHash semantics for accuracy.
  • Inspect scripts/core-help-parsing.sh changes for robust input validation and safe in-place file replacement.

Poem

🐰 I hopped through docs and nudged an old port’s place,

coreP2PAddrs now twinkled with tidy grace.
Evonodes lined up their addresses in rows,
New BLS keys sprouted where the fresh carrot grows.
A rabbit’s little clap — the docs now compose.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly relates to the main changes across multiple masternode documentation files, specifically addressing the update of external address handling (ext addr) in setup and maintenance contexts.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b5e1570 and 3036395.

📒 Files selected for processing (7)
  • docs/core/dashcore/wallet-arguments-and-commands-dash-cli.md (2 hunks)
  • docs/core/dashcore/wallet-arguments-and-commands-dash-qt.md (17 hunks)
  • docs/core/dashcore/wallet-arguments-and-commands-dash-tx.md (0 hunks)
  • docs/core/dashcore/wallet-arguments-and-commands-dash-wallet.md (0 hunks)
  • docs/core/dashcore/wallet-arguments-and-commands-dashd.md (19 hunks)
  • docs/core/reference/p2p-network-protocol-versions.md (1 hunks)
  • scripts/core-help-parsing.sh (1 hunks)
💤 Files with no reviewable changes (2)
  • docs/core/dashcore/wallet-arguments-and-commands-dash-wallet.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-tx.md
✅ Files skipped from review due to trivial changes (1)
  • docs/core/reference/p2p-network-protocol-versions.md
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.
📚 Learning: 2025-11-10T18:51:37.016Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.

Applied to files:

  • docs/core/dashcore/wallet-arguments-and-commands-dashd.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-cli.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-qt.md
📚 Learning: 2025-11-10T19:11:33.355Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1702-1704
Timestamp: 2025-11-10T19:11:33.355Z
Learning: Repo: dashpay/docs — For ListDescriptors RPC, document Parameter #1 `private` (bool, default false) and note that `mnemonic` and `mnemonicpassphrase` appear only when `private=true` and the wallet was created with a mnemonic. Both fields are strings per Dash Core v23.0 help (scripts/core-rpc-tools/dash-cli-help-23.0.0.jsonl).

Applied to files:

  • docs/core/dashcore/wallet-arguments-and-commands-dashd.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-cli.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-qt.md
📚 Learning: 2025-11-10T17:22:58.160Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-call-quick-reference.md:34-34
Timestamp: 2025-11-10T17:22:58.160Z
Learning: In the dashpay/docs repository, RPC documentation descriptions in files like `docs/core/api/remote-procedure-call-quick-reference.md` are derived from the Dash Core application help output. These descriptions should not be modified for grammar or style, as they need to remain consistent with the source application output.

Applied to files:

  • docs/core/dashcore/wallet-arguments-and-commands-dashd.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-cli.md
  • docs/core/dashcore/wallet-arguments-and-commands-dash-qt.md
🔇 Additional comments (6)
scripts/core-help-parsing.sh (6)

11-52: Well-structured CLI argument handling and help display.

The argument parser correctly implements standard bash conventions with proper case handling and shift logic. The help text is clear and documents the new --update feature effectively.


54-58: Good input validation for piped input.

Checking for TTY (-t 0) is the correct approach to ensure the script is receiving piped input.


60-102: Correct section parsing and code block management.

The process_help_output function properly:

  • Detects section headers with the regex ^[A-Za-z].*:$
  • Manages code block lifecycle
  • Excludes the Usage section (per design)

Note: The Usage section is completely skipped in output (lines 71–75). Verify this aligns with documentation workflows where Usage is manually maintained.


113-129: Robust input validation with safety checks.

The script validates input in three layers:

  1. Empty input check (lines 116–119)
  2. Error detection on first 3 lines (lines 123–129) — scanning only the head reduces false positives
  3. Formatted output non-empty check (lines 135–138)

This defensive approach is appropriate for automated file updates.


141-167: Verify file replacement behavior when target lacks trailing heading.

The file replacement logic (lines 146–167) uses the standard temp file + mv pattern, which is safe. However, the heading detection at line 158 (regex ^##?[[:space:]]) only matches # or ## , not ### . This means:

  • If target file has content after ### Options without a # or ## heading, all such content is skipped (lines 157–163), potentially losing documentation.
  • If formatted output contains multiple ### subsections, they are preserved (correct, since ### won't match the end-of-section pattern).

Confirm that all target documentation files follow the expected format with a # or ## heading after the options section, or add handling for files that end without such a marker (e.g., append remaining lines if EOF is reached).


172-175: Default stdout behavior correct.

Falls back to original stdout behavior when --update is not specified.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs/user/masternodes/maintenance.rst (1)

165-176: Inconsistent formatting for backwards-compatibility note.

The note at lines 165-167 is formatted as inline text, while the similar note for regular masternodes (lines 122-126) uses proper RST note-box formatting. For consistency and clarity, both should use the same formatting style.

Apply this diff to add proper RST note formatting:

  Where:
  
-  As of Dash Core v23.0, ``coreP2PAddrs``, ``platformP2PAddrs``, and
-  ``platformHTTPSAddrs`` fields accept backwards-compatible input.
+.. note::
+  
+  As of Dash Core v23.0, ``coreP2PAddrs``, ``platformP2PAddrs``, and
+  ``platformHTTPSAddrs`` fields accept backwards-compatible input.
+
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6d53ed8 and 7603128.

📒 Files selected for processing (3)
  • docs/user/masternodes/maintenance.rst (6 hunks)
  • docs/user/masternodes/setup-testnet.rst (1 hunks)
  • docs/user/masternodes/setup.rst (1 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-call-quick-reference.md:34-34
Timestamp: 2025-11-10T17:22:58.160Z
Learning: In the dashpay/docs repository, RPC documentation descriptions in files like `docs/core/api/remote-procedure-call-quick-reference.md` are derived from the Dash Core application help output. These descriptions should not be modified for grammar or style, as they need to remain consistent with the source application output.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.
📚 Learning: 2025-11-10T18:51:37.016Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.

Applied to files:

  • docs/user/masternodes/setup.rst
  • docs/user/masternodes/setup-testnet.rst
  • docs/user/masternodes/maintenance.rst
📚 Learning: 2025-11-10T17:22:58.160Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-call-quick-reference.md:34-34
Timestamp: 2025-11-10T17:22:58.160Z
Learning: In the dashpay/docs repository, RPC documentation descriptions in files like `docs/core/api/remote-procedure-call-quick-reference.md` are derived from the Dash Core application help output. These descriptions should not be modified for grammar or style, as they need to remain consistent with the source application output.

Applied to files:

  • docs/user/masternodes/setup.rst
📚 Learning: 2025-11-10T19:11:33.355Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1702-1704
Timestamp: 2025-11-10T19:11:33.355Z
Learning: Repo: dashpay/docs — For ListDescriptors RPC, document Parameter #1 `private` (bool, default false) and note that `mnemonic` and `mnemonicpassphrase` appear only when `private=true` and the wallet was created with a mnemonic. Both fields are strings per Dash Core v23.0 help (scripts/core-rpc-tools/dash-cli-help-23.0.0.jsonl).

Applied to files:

  • docs/user/masternodes/setup.rst
📚 Learning: 2025-11-10T17:45:04.767Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.

Applied to files:

  • docs/user/masternodes/setup-testnet.rst
  • docs/user/masternodes/maintenance.rst
🔇 Additional comments (5)
docs/user/masternodes/setup.rst (1)

562-586: ✓ Deprecation guidance and argument descriptions align well with backwards-compatibility messaging.

The reworded warning (lines 562-566) appropriately redirects users to generate a new basic scheme BLS key instead of using the deprecated legacy path. The added note (lines 571-574) clarifies that coreP2PAddrs accepts backwards-compatible input, and the reformatted argument descriptions (lines 575-586) now use consistent inline code formatting for parameter names and clearer wrapping. This aligns with the v23.0 backwards-compatibility model documented in the learnings.

docs/user/masternodes/setup-testnet.rst (1)

494-513: ✓ Consistent messaging and formatting aligned with setup.rst.

The warning and argument descriptions have been updated in parallel with the setup.rst file, maintaining consistent guidance across both mainnet and testnet documentation. The backwards-compatibility note for coreP2PAddrs and inline code formatting match the pattern established in the setup guide.

docs/user/masternodes/maintenance.rst (3)

174-175: ⚠️ Example syntax for platformP2PAddrs and platformHTTPSAddrs may not match description.

The argument descriptions at lines 174-175 state that platformP2PAddrs and platformHTTPSAddrs should be "Array of addresses in the form 'ADDR:PORT'". However, the example at line 186 shows:

... 972a33056d57359de8acfa4fb8b29dc1c14f76b8 26656 443 yf6Cj6VcCfDxU5yweAT3NKKvm278rVbkhu

This appears to pass raw port numbers (26656 and 443) rather than array-formatted addresses like '["127.0.0.1:26656"]' and '["127.0.0.1:443"]'. This is inconsistent with the documented format requirement.

Please verify whether the example syntax at line 186 is correct per Dash Core v23.0 behavior, or if it should be updated to match the array format described at lines 174-175. Based on the backwards-compatibility learning note, these fields may accept multiple formats (number/string/array), which could explain the discrepancy—if so, please add clarification to the description.

Also applies to: 186-186


210-225: ✓ Deprecation guidance and argument descriptions updated consistently.

The warning at lines 210-215 now directs users to generate a new basic scheme BLS key instead of using protx update_registrar_legacy, consistent with the messaging in setup.rst and setup-testnet.rst. The updated argument descriptions (lines 220-225) now clearly indicate that empty string "" can be used to retain the last on-chain value for operatorKeyAddr, votingKeyAddr, and payoutAddress, improving clarity for operators.


253-253: ✓ feeSourceAddress description clarified for ProUpRevTx.

The updated description now explicitly states that if feeSourceAddress is not specified, operatorPayoutAddress will be used. This is a helpful clarification for operators performing revocation transactions.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7603128 and cc2f2a1.

📒 Files selected for processing (1)
  • docs/user/masternodes/maintenance.rst (6 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.
📚 Learning: 2025-11-10T17:45:04.767Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.

Applied to files:

  • docs/user/masternodes/maintenance.rst
📚 Learning: 2025-11-10T18:51:37.016Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.

Applied to files:

  • docs/user/masternodes/maintenance.rst
🔇 Additional comments (2)
docs/user/masternodes/maintenance.rst (2)

175-177: Clarify example format for platform address fields.

The description specifies platformP2PAddrs and platformHTTPSAddrs should be "Array of addresses in the form 'ADDR:PORT'" (lines 175-176), but the example at line 187 shows only port numbers (26656 and 443). While backwards compatibility may accept port-only format, the example should match the documented format to avoid user confusion.

Consider updating the example to show the full ADDR:PORT format:

- protx update_service_evo d6ec9a03e1251ac8c34178f47b6d763dc4ea6d96fd6eddb3c7aae2359e0f474a '["140.82.59.51:10002"]' 4308daa8de099d3d5f81694f6b618381e04311b9e0345b4f8b025392c33b0696 972a33056d57359de8acfa4fb8b29dc1c14f76b8 26656 443 yf6Cj6VcCfDxU5yweAT3NKKvm278rVbkhu
+ protx update_service_evo d6ec9a03e1251ac8c34178f47b6d763dc4ea6d96fd6eddb3c7aae2359e0f474a '["140.82.59.51:10002"]' 4308daa8de099d3d5f81694f6b618381e04311b9e0345b4f8b025392c33b0696 972a33056d57359de8acfa4fb8b29dc1c14f76b8 '["140.82.59.51:26656"]' '["140.82.59.51:443"]' yf6Cj6VcCfDxU5yweAT3NKKvm278rVbkhu

Based on retrieved learnings about backwards compatibility constraints in v23.0.0.

Also applies to: 187-187


122-138: Clear and well-organized parameter documentation for regular masternodes.

The backwards-compatibility note is properly positioned, and parameter descriptions clearly indicate which fields are optional and what defaults apply. The deprecation guidance in the ProUpRegTx section is also well-structured.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cc2f2a1 and 50d0c2c.

📒 Files selected for processing (1)
  • docs/core/reference/p2p-network-instantsend-messages.md (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.
🔇 Additional comments (2)
docs/core/reference/p2p-network-instantsend-messages.md (2)

57-57: Terminology and protocol versioning updates are clear.

Lines 57, 61, and 62 update field descriptions with improved terminological precision:

  • Line 57 correctly shifts from "islock" to "isdlock" in version field description
  • Line 61 adds explicit protocol version context (70237) and clarifies the semantic shift in cycleHash meaning, with backward compatibility note
  • Line 62 specifies "basic BLS scheme" for signature serialization

These updates enhance clarity for protocol consumers. The unchanged hex dump example remains consistent with these descriptions.

Also applies to: 61-61, 62-62


47-62: No issues found—documentation is consistent.

All references to isdlock terminology, protocol versions (70237, 70220, 70231), and the request ID calculation are consistent across related documentation files. The islock references are properly scoped to the deprecated messages file, and cross-references between current and deprecated docs are correct.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 50d0c2c and 26ba35f.

📒 Files selected for processing (1)
  • docs/user/masternodes/maintenance.rst (6 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.
📚 Learning: 2025-11-10T17:45:04.767Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.

Applied to files:

  • docs/user/masternodes/maintenance.rst
📚 Learning: 2025-11-10T18:51:37.016Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.

Applied to files:

  • docs/user/masternodes/maintenance.rst
📚 Learning: 2025-11-10T17:22:58.160Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-call-quick-reference.md:34-34
Timestamp: 2025-11-10T17:22:58.160Z
Learning: In the dashpay/docs repository, RPC documentation descriptions in files like `docs/core/api/remote-procedure-call-quick-reference.md` are derived from the Dash Core application help output. These descriptions should not be modified for grammar or style, as they need to remain consistent with the source application output.

Applied to files:

  • docs/user/masternodes/maintenance.rst
📚 Learning: 2025-11-10T19:11:33.355Z
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1702-1704
Timestamp: 2025-11-10T19:11:33.355Z
Learning: Repo: dashpay/docs — For ListDescriptors RPC, document Parameter #1 `private` (bool, default false) and note that `mnemonic` and `mnemonicpassphrase` appear only when `private=true` and the wallet was created with a mnemonic. Both fields are strings per Dash Core v23.0 help (scripts/core-rpc-tools/dash-cli-help-23.0.0.jsonl).

Applied to files:

  • docs/user/masternodes/maintenance.rst
🔇 Additional comments (3)
docs/user/masternodes/maintenance.rst (3)

118-148: ProUpServTx syntax and documentation for Regular masternodes looks good.

The command syntax, backwards-compatibility note, and example are consistent and clearly documented.


211-226: Updated BLS deprecation guidance is clear and actionable.

The new warning (lines 213–216) appropriately directs users to generate a basic scheme BLS key and references the BLS generation instructions, replacing the older approach. Parameter descriptions are well-clarified with last-on-chain value semantics.


187-187: Fix the example to match documented parameter format for platformP2PAddrs and platformHTTPSAddrs.

Lines 175–176 document that platformP2PAddrs and platformHTTPSAddrs should be "Array of addresses in the form 'ADDR:PORT'", but the example on line 187 shows only port numbers (26656 443). This mismatches the documented format and creates inconsistency with coreP2PAddrs, which correctly uses the array format in the same example.

Update the example to:

- protx update_service_evo d6ec9a03e1251ac8c34178f47b6d763dc4ea6d96fd6eddb3c7aae2359e0f474a '["140.82.59.51:10002"]' 4308daa8de099d3d5f81694f6b618381e04311b9e0345b4f8b025392c33b0696 972a33056d57359de8acfa4fb8b29dc1c14f76b8 26656 443 yf6Cj6VcCfDxU5yweAT3NKKvm278rVbkhu
+ protx update_service_evo d6ec9a03e1251ac8c34178f47b6d763dc4ea6d96fd6eddb3c7aae2359e0f474a '["140.82.59.51:10002"]' 4308daa8de099d3d5f81694f6b618381e04311b9e0345b4f8b025392c33b0696 972a33056d57359de8acfa4fb8b29dc1c14f76b8 '["140.82.59.51:26656"]' '["140.82.59.51:443"]' yf6Cj6VcCfDxU5yweAT3NKKvm278rVbkhu
⛔ Skipped due to learnings
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-evo.md:1493-1494
Timestamp: 2025-11-10T17:45:04.767Z
Learning: In docs/core/api/remote-procedure-calls-evo.md, the platformHTTPSAddrs parameter in ProTx commands (like protx register_fund_evo) has type `number/string/array` because Dash Core v23.0.0 maintains backwards compatibility by still accepting just a port number (the old platformHTTPPort format), in addition to accepting the new string or array of strings in `ADDR:PORT` format.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-calls-wallet.md:1737-1738
Timestamp: 2025-11-10T18:51:37.016Z
Learning: Repo: dashpay/docs — When examples show dash-cli command output, keep them verbatim (do not remove or tweak fields for clarity), even if multiple versions of a field (e.g., "next" and "next_index") appear. Applies across API docs, including docs/core/api/remote-procedure-calls-wallet.md.
Learnt from: thephez
Repo: dashpay/docs PR: 525
File: docs/core/api/remote-procedure-call-quick-reference.md:34-34
Timestamp: 2025-11-10T17:22:58.160Z
Learning: In the dashpay/docs repository, RPC documentation descriptions in files like `docs/core/api/remote-procedure-call-quick-reference.md` are derived from the Dash Core application help output. These descriptions should not be modified for grammar or style, as they need to remain consistent with the source application output.

Script now can take help output and directly update the markdown file
@thephez thephez merged commit f07bd69 into dashpay:23.0.0 Nov 12, 2025
1 check passed
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