Skip to main content

platform_version/version/system_data_contract_versions/
v3.rs

1use crate::version::system_data_contract_versions::SystemDataContractVersions;
2
3// PROTOCOL_VERSION_14: DashPay contract v2 adds the optional public payment
4// address fields to the `profile` document type (`corePaymentAddress`,
5// `platformPaymentAddress`) per DIP-33 plus the optional 43-byte Orchard
6// `shieldedAddress`, and the withdrawals contract v2 admits
7// the terminal FAILED (5) value of the `status` property, written for
8// withdrawals whose asset unlock Core can never mine. v2 (dashpay: 1,
9// withdrawals: 1) remains for PROTOCOL_VERSION_13 chain replay.
10pub const SYSTEM_DATA_CONTRACT_VERSIONS_V3: SystemDataContractVersions =
11    SystemDataContractVersions {
12        withdrawals: 2,
13        dpns: 2,
14        dashpay: 2,
15        masternode_reward_shares: 1,
16        wallet: 1,
17        token_history: 1,
18        keyword_search: 1,
19        document_history: 1,
20    };