Skip to content

docs: platform v4.2 updates - #162

Merged
thephez merged 8 commits into
dashpay:developfrom
thephez:v4.2-update-ref-1
Sep 15, 2026
Merged

thephez merged 8 commits into
dashpay:developfrom
thephez:v4.2-update-ref-1

Conversation

@thephez

@thephez thephez commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Initial update of the Platform docs for Dash Platform 4.2 / protocol version 14, across the protocol reference, explanations, and reference sections.

  • New in v14: the v3 document meta-schema and its contract keywords, index-only document types, the $contractVersion and $price base fields, the two shielded pool identity transitions (types 21 and 22), the timeRange ttl index option, ranked aggregates and having-range/chained/composite queries, and the DashPay v2 profile payment address fields.
  • Corrections: the identity create fee example was understated by 200,000,000 credits (it omitted the asset lock cost); OFFSET and HAVING are handled in the new query modes rather than rejected; sendRawTransaction takes positional params, with allowHighFees and bypassLimits parsed but not forwarded to Core. Also data trigger attribution, NFT deletion rules, token defaults, and the validator threshold wording. Dropped contract-side price bounds that don't exist in code.
  • Field rename: $version to $formatVersion on the transition and identity tables and JSON examples, following platform commit 5953d17bce.
  • Source links: repointed from v4.1.0 to v4.2-dev, recomputing line anchors where code moved.
  • Release pass per RELEASE.md: getDocuments marked updated in 4.2.0, 4.0.0 annotations demoted to italics, previous-version link moved to 4.1.0.

Most findings were verified against dashpay/platform @ 51189ad5 (v4.2-dev) before being applied. All 313 v4.2-dev links were resolved against the code repo, with changed anchors read individually to confirm they land on the declaration cited.

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

thephez and others added 4 commits September 10, 2026 10:54
Document the protocol v14 getDocuments query surface. Correct two claims that no longer hold. OFFSET is consumed in ranked mode rather than always rejected, and HAVING is served in having-range mode.

Retarget data-contracts to the v3 document meta-schema and add the keywords it introduces. Fix the index example, and drop a required-field count that disagreed with the list beneath it.

Document error codes and response semantics for getBlock, getTransaction, getBlockchainStatus, and getMasternodeStatus; correct the sendRawTransaction parameters to positional and note that allowHighFees and bypassLimits are parsed but not forwarded to Core; add the params member to the JSON-RPC request table.

Add glossary entries. Apply the release annotation pass: mark getDocuments as updated in 4.2.0, demote the 4.0.0 annotations to italics, and point the previous-version link at 4.1.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…havior

Add a Minimum and Fixed Fees section to fees.md covering the minimum-balance pre-check and the fixed fee schedule for shielded pool transitions. Clarify NFT deletion rules, including the legacy correction for history-keeping document types and the restriction on consensus-validated references to deletable NFTs. Simplify the Batch payload row in the state transition table and move the action list to a new Batch transitions subsection.

Document the DashPay v2 profile payment address fields, DAPI gateway TLS termination and gRPC-Web support, DPNS testnet voting windows and tie resolution, validator set rotation targets, and asset-lock surplus handling for shield transitions. Correct the Drive block finalization description, the Tenderdash maintenance note, the two-thirds validator threshold wording, and add token localization, decimal, and group threshold constraints.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…behavior

Add index-only document types across the document, data contract, and query explanations, covering their storage model, the indexOnlyDelete action, and the restrictions they trade for compactness. Document the $contractVersion base field and the related change that lets a contract update add a required property without invalidating older documents.

Expand the query and proofs pages with ranked aggregates, having-range filters, time-range selection, and chained and composite queries, and add a contract design section covering the declarations those capabilities require. Note gap-free index matching and multi-property set membership.

Add an identity Keys section, document credit transfers to identities and Platform addresses, and correct the withdrawal limit and masternode reward sharing descriptions. Attribute data triggers to Drive rather than DPP, add the DashPay profile payment address trigger, and point the binding list link at v2.

Correct the token base supply default, mark the main control group as immutable, note the per-claim distribution interval bound, and drop the contract-side price bounds that do not exist. Reference the DashPay v2 schema and trim a trailing space.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…havior

Document the protocol v14 additions: the v3 document meta-schema and its new contract keywords, index-only document types and their delete transition, the $contractVersion base field, and the new constants and error codes.

Correct stale behavior across the section, including address system fees and witnesses, identity key signature requirements, the token base transition group fields, token purchase payment, and the common state transition field table.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

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

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 63304454-160b-4472-bc11-e1ed1f25dd69

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

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.

thephez and others added 4 commits September 14, 2026 16:06
…anges

Add the Shield from Identity (type 21) and Identity Top Up From Shielded Pool (type 22) state transitions, along with their signing model and the identity transition type table.

Document the timeRange `ttl` index option and its ephemeral fee rate, the FAILED withdrawal status for dust-threshold withdrawals, the portable math used for token distribution functions, and the reduced contested vote resolution fund. Add the new protocol constants and correct stale v4.2-dev line anchors.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Split the index field bullet list into required and optional field tables, and move the longer options into their own subsections: time-range indices, index-only options, and contested indices.

Relocate the DPNS example to follow the JSON template instead of trailing the constraints table.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Fix stale or imprecise descriptions of DPNS pre-orders, credit conversion, read-only contracts, asset lock proofs, and token configuration defaults.

Document the shielded pool identity transitions, index-only document delete, and the $price base field added in protocol version 14.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Repoint source links from v4.1.0 to v4.2-dev across the protocol reference, recomputing line anchors where structs, enums and constant blocks moved.

Rename the serialized format version field from $version to $formatVersion on the state transition, data contract and identity tables, and in the identity JSON response examples.

Correct the identity create fee formula and example to include the asset lock cost, and state the minimum identity top-up fee.

Document behavior added in protocol version 14: the contested index checks on document create transitions, the conditional refersTo requirements, and the shielded denomination set. Add the group validation rules, the contract version stamp size constant, default values for the token supply and control properties, and note that the EvonodesByParticipation pairing is unchecked at registration.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@thephez
thephez marked this pull request as ready for review September 15, 2026 20:13
@thephez
thephez merged commit cee44ac into dashpay:develop Sep 15, 2026
1 check passed
@thephez
thephez deleted the v4.2-update-ref-1 branch September 15, 2026 20:37
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