Skip to main content

PLATFORM_V13

Constant PLATFORM_V13 

pub const PLATFORM_V13: PlatformVersion;
Expand description

v13 expands the recent per-block address-balance set that incremental client sync reads: DRIVE_ABCI_METHOD_VERSIONS_V9 bumps two fields from 0 to 1, both recording what v0 dropped — (1) record_added_balance_outputs folds shielded-spend transparent credits (Unshield net output, ShieldFromAssetLock surplus, identity-create fallback), and (2) process_validation_result records the balance effects of paid-invalid / unsuccessful-paid transitions (charged fees, adjusted outputs), in a real _v1 of the helper so its _v0 stays byte-identical to old nodes (the outer process_raw_state_transitions loop is unchanged and stays at v0). The storage method (store_address_balances_to_recent_block_storage) is unchanged — only the recorded set differs. Because that set changes the committed state root, both bumps activate only once the network votes in v13.

v13 also enables DPNS username transfers and sales:

  • DRIVE_ABCI_VALIDATION_VERSIONS_V9 bumps data trigger bindings to v1, dropping the reject bindings for Transfer, Purchase and UpdatePrice on DPNS domain documents. It also revises the shielded identity-create exit-denomination set: 0.03 and 0.25 DASH are added and 0.3 DASH is retired, giving 0.03 / 0.1 / 0.25 / 0.5 / 1 DASH.
  • DRIVE_VERSION_V8 bumps the document transfer/purchase high-level operation conversions to v1, which rewrite a transferred or purchased domain’s records.identity to the new owner so the username resolves to the buyer.
  • DRIVE_VERSION_V8 also switches the compacted address-balance-changes proof to the two-proof CompactedAddressBalanceProof bincode envelope (prove_compacted_address_balance_changes 1 via DRIVE_VERIFY_METHOD_VERSIONS_V2’s matching decoder bump): the independently verified predecessor proof binds the forward-query start key. Nodes and clients on v12 and below keep the legacy single GroveDB proof, so mixed-version networks interoperate until v13 activates.