Relational Data Contracts
Documents can refer to other documents, identities, keys, contracts and tokens — by ID or through a unique index, including from array elements — and the network checks every reference when the document is written. Property constraints, anyOf and allOf rules, typed arrays, distinctFrom, maxBytes and requiredSince move the integrity checks apps used to fake client-side into consensus. The contract language more than doubles, from 119 to 248 keys, in protocol version 14.
Apps That Earn and Moderate
A contract can charge action fees that are paid to its owner and its moderators, collected with a new fee-claim transition. It can also opt into moderation by its owner, by an appointed team, or by a team that masternodes elect from a published charter — with bans and suspensions that carry reasons, time-limited deletion windows, and restores from a hashed removal record. Two new system contracts make this work: an app on Platform can fund itself and police itself without its developer holding the keys.
Time-Range Indexes
Indexes over sliding time windows make queries like “what’s trending this week” or “top posters this month” fast and provable — the leaderboard-style reads a social app runs constantly.
indexOnly Document Types
Likes, follows, and votes don’t need full documents. An indexOnly document type stores them as bare index entries at a fraction of the cost, while staying fully queryable and provable.
Ranked Queries & HAVING
Rank results by counts or sums, filter on aggregates with HAVING, and page through the ranking — with every page backed by a cryptographic proof.
Chained Queries
Semi-join style questions — “posts liked by this user” — are answered server-side in a single proven round trip instead of many client-stitched queries.
Richer Query Matching
Multiple IN clauses, prefix-level ranked counts, and safer index matching round out a query engine built for social-scale apps: trending, leaderboards and joins, with every result provable.
Expiring Documents
A document can be written with a time to live — an hour, a day, a week — and is removed automatically when it runs out, so an app pays to store it only for as long as it lives. Login sessions, game state and other short-lived records become much cheaper.
Spending-Limited Keys
A key can be capped by amount and by time — say, 30 cents for one hour — so a web app can sign in with a short-lived key instead of one that can spend the whole identity’s balance.
Faster Withdrawals
Platform now asks for the next block as soon as a withdrawal is made; with Dash Core v24 that brings withdrawals down from several minutes to seconds. The daily limit changes from a flat 2,000 DASH to 15% of what Platform held a day earlier — at least 500 and at most 4,000 DASH — counted on net outflow.