Nicehash Attacks Update

in #graft6 years ago

As many of you know, GRAFT and numerous other projects are being regularly attacked using Nicehash (service providing hash power on demand). The attackers’ goal is to perform a sustained 51% attack to produce an alternative chain that would include their own double-spending transaction in it, and attempt to withdraw the funds from the exchange before the network adopts a new chain.

These attacks are unpleasant for several reasons: 1) the exchanges have to raise number of confirmations leading to very long withdrawal and deposit times, 2) some legitimate transactions get stuck while being written to the alt-chain, and it takes days until they get reversed.

What others have done:

A common approach is to create a small tweak to the hash algorithm.

image2.png

https://www.graft.network/wp-content/uploads/2019/01/CryptoNight-PoW-Versions-1.pdf

The downside of this approach is that it requires coordinated changes to the node, miner software, and pool software. (some of it is going to happen organically since miners are incentivized, but it is far from guarantee as practically no software miners support all the changes listed above).

What we plan to do about it:

The best approach to solving this problem at this time is something like ChainLocks, which is using the 2nd layer network to help validate the blockchain. This approach is much more robust and provides a long-term solution to the issue. The “ChainLocks approach” will take some time, however, as it’s reduced from conceptual to practical implementation and will rely on having a robust 2nd tier network to execute it, so we’re looking at 4-6 months out.

We recognize the need to deal with this issue now, however, and as such have decided to implement our own unique CryptoNight variation (more details will be published soon, after we finish preliminary testing). Rolling out this tweak will not be trivial, however, as again, it will require support from mining software and pool software. We will create a separate testnet for the new PoW algorithm and will rely on the miners community to not only test for robustness and unintended consequences, but also engage with the mining and pool software publishers to incorporate the change.

Keep in mind that any new hash algorithm solutions are temporary and are only effective until Nicehash adds support for it, which is driven by economics of the gains for the Nicehash community.

Additional Information

We’ve done some polling among the miners as to what mining software they use and how likely they would be to switch mining software if necessary. Here are some results so far, but we welcome you to provide your feedback as well.

https://docs.google.com/forms/d/e/1FAIpQLSdt85jV4QxY2a3N8jD6bj4SGSuDnEp4G0xc4QVNfyLiZLIZdA/viewform

image1.png

Sort:  

Congratulations @graft! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 100 posts. Your next target is to reach 150 posts.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Support SteemitBoard's project! Vote for its witness and get one more award!