开发者

The Dash Platform Developer Documentation <https://dashplatform.readme.io/> contains technical documentation intended to help developers quickly and easily get started with Dash Platform. The Dash Core Developer Documentation <https://dashcore.readme.io/> 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_即时发送_已启用
管理达世币客户端使用即时发送功能的能力。
SPORK_3_即时发送_区块_过滤
如果已启用,主节点将拒绝那些含有与已锁定但尚未被证实的即时发送相冲突的区块。
SPORK_6_新_签名
启用新的签名格式,服务于达世币 12.3所引入的特定于达世币的网络消息。更多信息,请参阅 此处此处
SPORK_9_超级块_已启用
如果已启用,则验证并发布超级块,以支付提案获胜者。
SPORK_15_确定性的_主节点_已启用
进行控制,无论是否需要 确定性主节点 。激活后,旧式主节点列表逻辑不再运行,未更新的主节点将变为不符合奖励条件。
SPORK_16_即时发送_自动锁
就输入数少于指定数目的交易,启用自动交易锁定,同时删除旧式即时发送费。除发送节点外,允许任一节点请求交易锁定。
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_20_INSTANTSEND_LLMQ_BASED
当激活时,传统即时支付会被基于 LLMQ 的即时支付替代,定义于`DIP0010 LLMQ-based InstantSend <https://github.com/dashpay/dips/blob/master/dip-0010.md>`__。

查看spork状态

调试窗口(或主节点上的 dash-cli )发出的 spork showspork active 命令,允许您与sporks进行交互。您可以通过选择 工具 > 调试控制台 ,打开调试窗口。

../_images/dashcore-sporks.png

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

版本历史

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