-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PoW hardfork network upgrade spec and guide #331
Comments
We will launch an officlal testnet pool for testing before the fork height. It will be useful for testing. |
How to contribute to the hardfork?Run a mainnet or testnet full node in listening mode and support the network! We will make a new release (v0.15.1) but before that, please compile your own node by following the doc |
中文版 0. 本次硬分叉升级只是网络升级,不会产生新币1. 改动
2. 运行全节点所有人都需要把全节点升级到 v0.15.1,此版本可以编译自0.15分支: 安装包 (v0.15.1): 如果你的全节点是运行在主网或者testnet3上 (什么是testnet3?),直接替换掉旧的全节点即可。但如果你的全节点还运行在旧的testnet上(在2月已经被重置),除了替换掉全节点,还需要删除数据目录下的testnet3目录。 3. Upgrade guide for pool operatorsYou will need to upgrade the full node as well as the pool software. The full node can be updated in-place. Details on updating pool software follow below. Please don't hesitate to reach out to us for help: Why do we need to upgrade the pool software?The change in PoW algorithm means that both the validation function and solution size will be different, and the block header size has changed. Old pools won't support the new blocks. Is there any working pool software?We have a reference implementation of z-nomp for the fork: Please carefully test it before using it on production and run it at your own risk. The BTG Org can't take any responsibility for losses potentially caused by running the reference pool. What if we want to change our own pool?Please change the following components and check commits of the reference z-nomp:
There are a few useful tools for pool development in this GitHub project:
How to test the pool?You can run your pool on the BTG testnet, which has already forked to the new code. Then you can connect any working miner to the pool. (nheqminer and EWBF currently work, and more are being announced by their developers.) The naive nheqminer on a typical GPU finds ~2.5 Sol/s while EWBF can be 10x more efficient. EWBF Cuda Equihash Miner v0.2 should work with the following parameters:
Upgrade procedureWe suggest running a new pool for the upgraded chain. Unlike Monero, it's difficult to do an in-place pool upgrade because Equihash-BTG (144,5) is very different than the original Equihash (200,9). The recommended procedure is:
4. 矿工升级指南如果你熟悉的矿池提供了教程,请按照他们提供的教程操作。在这里提供一些基本的信息:
在到达升级高度时,区块链的挖矿难度会按照设定降低100倍。原因有两个:其一是新的PoW算法难度远大于原本的Equihash,同样的矿机下新算法的Sol/s较低,其二是一些矿池或者矿工会因为准备不足,暂停BTG挖矿。为了平衡算力降低,我们按比例设定了难度降低,这样可以避免难度过高出块慢的问题。同时因为难度降低,挖矿也会更容易获利。在45个区块后,每个区块都会触发动态难度调整算法,最终难度会和算力保持平衡,恢复到升级前前稳定的状态。 升级前:
在哪里看区块高度?
硬分叉升级时:
5. 交易所升级指南交易所应该尽快升级全节点,并在分叉升级发生的前一天停止冲提币。在分叉后,等到算力稳定下来即可开放冲提币。 在这次升级中交易所的场内交易可以不受影响。 风险提示:
BTG团队非常愿意帮助合作伙伴应对硬分叉升级中遇到的各种问题,请通过以下渠道联系我们: 6. Upgrade guide for Wallet ProvidersWallet service providers should upgrade the full node and change the block validation logic before the fork.
Risk warning:
7. Upgrade guide for Payment GatewaysSimilar to exchanges, payment gateway providers should:
Risk warning: same as Exchanges. 8. Upgrade guide for Blockchain Explorers and other servicesAll services should upgrade the full node before the fork. 9. 普通用户升级指南普通用户应该参照使用中的钱包的提示升级钱包。 同时,在硬分叉升级发生前后应该避免收发币。我们建议在区块链达到分叉高度的前几十个区块时暂停收发币,并等待官方通知。我们会在区块链足够稳定时向社区发出通知。 请时刻留意我们的官方 Twitter账号 并订阅我们的 邮件通知 (目前bitcoingold.org网站正在被攻击,等网络恢复后即可订阅)。 |
any news on amd miners? |
@R00dNet lolMiner does the job: https://bitcointalk.org/index.php?topic=4591317.0 |
no it does not. I run a rx 480 8gb reference and does not even pick up card. it is a very buggy miner, just read the comments.... tried it when it was launched. quite disappointing. |
Is the pool reference implementation https://github.com/BitcoinGold-mining/z-nomp-bitcoin-gold really working? I'm getting block-decode failures when testing this code against the current testnet. |
Yes it is working. Please post the error. You can write to me in gitter if you want.
… On 16 Aug 2018, at 11:52, Oliver Weichhold ***@***.***> wrote:
Is the pool reference implementation https://github.com/BitcoinGold-mining/z-nomp-bitcoin-gold <https://github.com/BitcoinGold-mining/z-nomp-bitcoin-gold> really working? I'm getting block-decode failures when testing this code against the current testnet.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#331 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADrjrbTMAXdO_3uPilhxfjtpED7vDNi7ks5uRTLfgaJpZM4UqniS>.
|
Create a trillion dollar coin |
(This issue will be converted to a Wiki page when the content is fixed)
0. This hardfork network upgrade will not create a new coin
1. Changes
536200
(accomplished via successful hardfork on July 3rd, 2018, at 9:59:26 PM UTC)144,5
Prepare for Equihash<144,5> PoW upgrade #315BgoldPoW
Change blake2b personalized string to BgoldPoW #3262. Run a new full node
Anyone running full node should upgrade to the latest version v0.15.1, which can be compiled from
0.15
branch:https://github.com/BTCGPU/BTCGPU/tree/0.15
Precompiled binaries (v0.15.1):
https://github.com/BTCGPU/BTCGPU/releases/tag/v0.15.1
If you are running it on the mainnet or the testnet-v3 (learn more), the in-place upgrade should be ok. If you are running on the old testnet, you need to clean up the testnet datadir first.
3. Upgrade guide for pool operators
You will need to upgrade the full node as well as the pool software. The full node can be updated in-place. Details on updating pool software follow below. Please don't hesitate to reach out to us for help:
Why do we need to upgrade the pool software?
The change in PoW algorithm means that both the validation function and solution size will be different, and the block header size has changed. Old pools won't support the new blocks.
Is there any working pool software?
We have a reference implementation of z-nomp for the fork:
https://github.com/BitcoinGold-mining/z-nomp-bitcoin-gold
Please carefully test it before using it on production and run it at your own risk. The BTG Org can't take any responsibility for losses potentially caused by running the reference pool.
What if we want to change our own pool?
Please change the following components and check commits of the reference z-nomp:
There are a few useful tools for pool development in this GitHub project:
https://github.com/BitcoinGold-mining
How to test the pool?
You can run your pool on the BTG testnet, which has already forked to the new code. Then you can connect any working miner to the pool. (nheqminer and EWBF currently work, and more are being announced by their developers.)
The naive nheqminer on a typical GPU finds ~2.5 Sol/s while EWBF can be 10x more efficient. EWBF Cuda Equihash Miner v0.2 should work with the following parameters:
--algo 144_5 --pers BgoldPoW
.Upgrade procedure
We suggest running a new pool for the upgraded chain. Unlike Monero, it's difficult to do an in-place pool upgrade because Equihash-BTG (144,5) is very different than the original Equihash (200,9). The recommended procedure is:
master
branch)4. Upgrade guide for miners
Please follow the guide from your pool if they provide one. You should know the information below:
The difficulty will be reduced to 1/100th of what it was before. This is partly to compensate for the new PoW being much harder, and partly to compensate for the possibility that some miners or pools are slow to upgrade. This will reduce the likelihood of a slow-block start, but means that mining immediately after the fork will temporarily be extra-profitable until the DAA adjusts the Difficulty and hashrates stabilize.
Before the hardfork upgrade:
536200
Where to check the block height?
During the hardfork upgrade:
5. Upgrade guide for Exchanges
Exchanges should pause BTG deposits and withdrawals one day before the fork height. When the hashrate of the blockchain becomes stable after the fork, Exchanges can resume regular deposit and withdrawal operations.
A fork period typically has no effect on trading with coins that are already held on Exchange.
Risk warning:
We are more than willing to help our partners to prepare for the hardfork. Please don't hesitate to contact us for help:
6. Upgrade guide for Wallet Providers
Wallet service providers should upgrade the full node and change the block validation logic before the fork.
Risk warning:
7. Upgrade guide for Payment Gateways
Similar to exchanges, payment gateway providers should:
Risk warning: same as Exchanges.
8. Upgrade guide for Blockchain Explorers and other services
All services should upgrade the full node before the fork.
9. Upgrade guide for users
Users should upgrade their wallet software as directed by their wallet provider.
Users should avoid sending or receiving BTG during the fork. More specifically, we suggest all users stop sending or receiving BTG at least a few blocks before the fork, and wait for an official announcement of the blockchain being stable enough after the fork before resuming activity.
Please stay tuned. Watch our official twitter account, and subscribe to our email notifications (The homepage is temporarily unavailable due to an network attack. It will be back soon).
The text was updated successfully, but these errors were encountered: