开发者#

The Dash Platform Developer Documentation contains technical documentation intended to help developers quickly and easily get started with Dash Platform. The Dash Core Developer Documentation provides detailed documentation on the Dash Core code base, and serves as a reference for experienced developers. These documentation portals can help developers to quickly and efficiently integrate external applications with the Dash ecosystem. Anyone can contribute to the documentation by suggesting edits in the documentation system.

The Dash Core Team also maintains the Dash Roadmap, which sets out delivery milestones for future releases of Dash and includes specific technical details describing how the development team plans to realise each challenge. The Dash Roadmap is complemented by the Dash Improvement Proposals, which contain detailed technical explanations of proposed changes to the Dash protocol itself.

The Dash community organise discussion and development of Dash apps using the following resources:

下文所述内容为在达世币中执行共同开发任务的实际步骤。

叉勺技术#

多阶段分叉,俗称 “spork”,是一种达世币独有的机制,通过网络层变量将新功能安全地部署到网络中,避免升级过程中出现意外的网络分叉风险。也可用于出现安全漏洞时,禁用某些功能——参考 此处 sporks简介。该文档描述了目前存在于网络上的每一个spork的含义,以及状态检查方法。

Spork 函数#

使用整数值设置Sporks。许多的sporks都可设置特定的新纪元时间(自1970年1月1日起走过的秒数),用作活动时间。启用的sporks设置为0(直至激活前的秒数)。该函数常用于设置未来的spork启用日期,在发生变更之前,一直保持有效。以下为目前网络上存在的sporks及其服务功能:

SPORK_2_即时发送_已启用

Governs the ability of Dash clients to use InstantSend functionality. InstantSend is described in DIP0010 LLMQ-based InstantSend.

SPORK_3_即时发送_区块_过滤

如果已启用,主节点将拒绝那些含有与已锁定但尚未被证实的即时发送相冲突的区块。

SPORK_9_超级块_已启用

如果已启用,则验证并发布超级块,以支付提案获胜者。

SPORK_17_QUORUM_DKG_ENABLED

激活 DKG process to create LLMQ quorums。激活 DKG 和基于 DKG 的 PoSe 的 Spork 将在 80%的主节点完成v0.14升级后被打开。

SPORK_19_CHAINLOCKS_ENABLED

激活 ChainLocks, 一种杜绝区块链重构事件带来的支付风险的机制。 ChainLocks 被定义于 DIP0008 ChainLocks

SPORK_21_QUORUM_ALL_CONNECTED

Enables connections between all masternodes in a quorum to optimize the signature recovery process.

SPORK_23_QUORUM_POSE

Enforces Proof of Service requirements for masternodes to support a minimum protocol version and maintain open ports.

查看spork状态#

The spork show and spork active commands issued in the debug window (or from dash-cli on a masternode) allow you to interact with sporks. You can open the debug window by selecting Window > Console.

../../../_images/dashcore-sporks.png

Dash Core调试控制台输出spork show和spork active#

版本历史#

有关达世币的完整发行说明和版本历史请参阅: