1. 麦妖榜首页
  2. 项目
  3. PAI

Project PAI 混合共识硬分叉

本文档中的信息对于PAI币的所有用户都至关重要,请您阅读。

一、概述

PAI区块链将使用SHA-3 / SHAKE-256哈希算法加入到新的PoW / PoS混合共识机制。此硬分叉是强制性的,且不向后兼容,并且之后不会有独立的”分叉前的原始PAI”。

升级到新版本就像使用官方存储库中的2.0.001标签重建paicoind一样简单。参见这里:

https://github.com/projectpai/paicoin/tags

硬分叉将在即将宣布的目标块高度处开始生效。一旦更新了节点,则无需进一步干预。所有现有的RPC / CLI命令和用法将保持不变,尽管将添加一些新命令。

二、目标

根据研究论文《Project PAI 混合共识机制前瞻》提出的建议,Project PAI核心开发人员一直在为下一个PAI区块链迭代开发”混合”工作量证明/权益证明共识机制。此分叉的主要目标是:

1. 删除当前阻止公众自由采矿的白名单机制。白名单最初是为了消除51%的攻击和其他恶意活动而制定的。混合实施的PoS部分将缓解这些漏洞。

2. 摆脱已知为ASIC设备支持的哈希函数,从而减少了进入挖矿的障碍。从理论上讲,这将有助于人们更大程度地参与挖矿。

三、执行

该硬分叉的执行设置为:

1. 测试网区块高度:78,600

2. 主网区块高度:待定

在分叉块高度之后,区块链将进入过渡期(ITP)。在ITP期间,可以购买权益凭证(SV),但是只有在ITP结束后,这些SV才有资格投票。有关如何购买SV的更多信息以及过渡期的持续时间将很快公布。一旦ITP结束,将需要投票批准任何新的区块,并且将删除挖掘白名单,从而实现全面的PoS保护。

四、准备

准备此硬分叉所需做的工作取决于您使用PAI币的方式。

完整节点

如果您在运行一个完整的节点(如果您是从官方Project PAI GitHub存储库运行paicoind,则将执行此操作),则需要在分叉之前更新PAI Coin软件。如果不这样做,则在分叉后,您的节点将停止正常运行。然而,更新步骤非常简单。

您只需要:

1. 将Paicoin代码库的本地版本更新为标记2.0.001

2. 按照doc / build_unix.md中的说明构建paicoind

完成后,您应该能够通过执行以下命令来验证您使用的版本是否正确:

paicoind –version

您会看到:PAIcoin Core Daemon version v2.0.001-[build]

请注意,此版本未更改paicoind的依赖关系和构建要求。同样,paicoind的所有当前可用的RPC / CLI操作仍然存在,并且完全向后兼容。另外,我们添加了一些新命令。

PAI Up 手机端

您需要在分叉之前更新PAI Up Mobile应用程序才能继续使用。可从https://paiup.com下载适用于Android的最新版本。团队正在研究一种安全、简单的iOS应用分发机制,并将很快宣布。我们强烈建议您在更新PAI Up之前写下您的书面密码(12个单词的短语)。如果更新期间发生问题,这将确保您不会丢失钱包和币。

PAI Up 网页端

无需更改。但是,在分叉执行之前和之后的几个小时内都无法访问PAI Up Web Wallet,直到确认分叉后区块链的稳定性为止。

PAI Coin Pool矿池

无需更改。但是,在分叉执行之前和之后的几个小时内将禁用PAI币池的存款和取款,直到确认分叉后区块链的稳定性为止。

火币全球站和其他交易所

如果您是 Huobi Global 或其他PAI Coin交易所的用户,请您注意关注交易所的最新公告。通常,数字货币交易所会在PAI链分叉执行之前和之后的一段时间内禁用所有对于PAI币的存款和提款请求。

五、总结

我们很高兴我们即将把此版本的PAI上所做的工作公之于众。我们相信,它将为PAI带来长期而富有成果的未来。感谢您一直以来的支持!

Project PAI

Hybrid Consensus Hard Fork

THE INFORMATION IN THIS DOCUMENT IS CRITICAL TO ALL USERS OF PAI COIN. PLEASE READ.

Summary

The Project PAI Blockchain will fork to a new PoW/PoS Hybrid Consensus mechanism using an alternative, SHA-3/SHAKE-256 hashing algorithm. This hard fork is mandatory, non-backwards compatible, and there are no provisions for a separate “Original PAI” to continue.

Updating to the new version is as simple as rebuilding paicoind using the 2.0.001 tag from the official repository. See here:

https://github.com/projectpai/paicoin/tags.

The hard fork will begin taking effect at a target block height which will be announced soon. Once your node is updated, no further intervention should be required. All existing RPC/CLI commands and usage will remain the same, though some new commands will have been added.

Goals

Following recommendations set out by the research paper, Prospective Hybrid Consensus for Project PAI, Project PAI Core Developers have been working on a “Hybrid” Proof of Work/Proof of Stake consensus mechanism for the next iteration of the PAI Blockchain. The primary goals of this fork are to:

1. Remove the current whitelist that prevents the public from mining freely. The whitelist was originally implemented to disincentivize 51% attacks and other malicious activity. These vulnerabilities will be alleviated by the PoS portion of the Hybrid implementation.

2. Move away from hashing functions known to be supported by ASIC devices, thereby reducing the barrier to entry for mining. This will theoretically enable greater participation in mining.

Execution

The execution of this hard fork is set to begin for:

● Testnet at block height: 78,600

● Mainnet at a block height TBD

After the forking block height, the blockchain will enter an Interim Transition Period (ITP). During the ITP, it will be possible to purchase Stake Vouchers (SVs), but the SVs will only become eligible to vote once the ITP concludes. More information on how to purchase SVs, as well as the duration of the Interim Transition Period will be announced soon. Once the ITP concludes, votes will be required to approve any new blocks and the mining whitelist will be removed, thus enabling full PoS protection.

Preparation

What you need to do in preparation for this Hard Fork depends on how you use PAI Coin.

Full Node

If you run a full node (which you would be doing if you are running paicoind from the official Project PAI GitHub repository), you will need to update your PAI Coin software prior to the fork. If you do not, your node will stop functioning properly after the fork. Fortunately, updating should be straightforward.

You simply need to:

1. Update the local version of your paicoin codebase to tag 2.0.001

2. Build paicoind per the instructions in doc/build_unix.md

Once complete, you should be able to verify you are on the correct version by executing:

paicoind –version

And you should see: PAIcoin Core Daemon version v2.0.001-[build]

Note that the dependencies and build requirements for paicoind have not changed with this release. Likewise, all currently available RPC/CLI operations for paicoind are still present and fully backward compatible. Some new commands have been added.

PAI Up Mobile

You will need to update your PAI Up Mobile app prior to the fork in order to continue using it. The newest version for Android will be available for download from https://paiup.com. A safe and straightforward distribution mechanism for iOS is being researched and will be announced soon. We strongly encourage you to write down your paper key (12-word seed phrase) before updating PAI Up. This will ensure you do not lose access to your wallet and coins if something goes wrong during the update.

PAI Up Web

No changes are necessary. However, the PAI Up Web Wallet will be inaccessible for several hours before and after the fork execution until stability of the post-fork blockchain is confirmed.

PAI Coin Pool

No changes are necessary. However, PAI Coin Pool deposits and withdrawals will be disabled for several hours before and after the fork execution until stability of the post-fork blockchain is confirmed.

Huobi Global and other exchanges

If you are a user of Huobi Global, or other platforms that exchange PAI Coin, please pay attention to their latest information. It is conventional that they will disable deposits and withdrawals for a period before and after the fork execution.

Conclusion

We are very excited to finally make the work we have been doing on this version of PAI, public. We believe that it will position PAI for a long and fruitful future. Thank you for your continued support in making Project PAI a success!

来源:PAI

本文由用户:口袋妖精 发布,不代表网站的立场,转转请注明出处:http://www.maiyaotop.com/block/pai/83223.html

发表评论

登录后才能评论