platform_version/version/system_data_contract_versions/v2.rs
1use crate::version::system_data_contract_versions::SystemDataContractVersions;
2
3// PROTOCOL_VERSION_13: DPNS contract v2 subscribes the `domain` document type
4// to the document history system contract (keepsTransferHistory,
5// keepsPurchaseHistory and keepsPricingHistory), so username transfers, sales
6// and listings are recorded and queryable. v1 (dpns: 1) remains for
7// PROTOCOL_VERSION_12 chain replay.
8pub const SYSTEM_DATA_CONTRACT_VERSIONS_V2: SystemDataContractVersions =
9 SystemDataContractVersions {
10 withdrawals: 1,
11 dpns: 2,
12 dashpay: 1,
13 masternode_reward_shares: 1,
14 wallet: 1,
15 token_history: 1,
16 keyword_search: 1,
17 document_history: 1,
18 };