CKB Testnet Aggron PoW Variant Proposal

Updated 2020-04-16: It’s planned to add an extra round blake2b on eaglesong output in Testnet.

PoW testnets are prone to the denial-of-service attack. Although there’s an proposal to use PoA in Aggron, it requires significant changes to the codebase and has been hold.

Since there’s little economic incentive to mine on testnets using dedicated hardware resources, it is reasonable to assume that most of the DoS attacks are caused by mining tests and miners accidentally connected to the testnet. Based on this assumption, this proposal suggests to use a variant of the PoW algorithm in Aggron to relieve the attack problem.

This variant will use dynamic injection constants, which is generated by the same algorithm as in eaglesong but using the parent block hash as the randomness instead of a constant.

3 Likes

Alternative: add an extra sha3 or blake2b on the Eaglesong output.

would white-listing addresses that miners will accept blocks from create a de-facto PoA network?

I think that’s the last resort to use a centralized solution.

1 Like