Skip to content

Instantly share code, notes, and snippets.

@ellaismer
Last active December 31, 2018 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ellaismer/62a8cd70b67c7c938388716e5addb4b6 to your computer and use it in GitHub Desktop.
Save ellaismer/62a8cd70b67c7c938388716e5addb4b6 to your computer and use it in GitHub Desktop.
Mtihani ProgPOW Testnet

Mtihani ProgPOW Testnet

This testnet has mostly identical settings comparing Ellaism mainnet, but with ProgPOW transition happening at block 0. To use this, you need to first compile the ProgPOW branch of Parity Ethereum:

# Make sure you have Rust and git installed first.

git clone https://github.com/paritytech/parity-ethereum
cd parity-ethereum
git checkout andre/progpow

Then download mtihani.json and run the program:

cargo run --release -- --chain mtihani.json

You will also need to compile ethminer yourself using this repo (https://github.com/ifdefelse/ProgPOW). For instructions on compilation, refer to ethminer's manual (https://github.com/ethereum-mining/ethminer/blob/master/docs/BUILD.md).

{
"name": "Mtihani",
"dataDir": "mtihani",
"engine": {
"Ethash": {
"params": {
"minimumDifficulty": "0x020000",
"difficultyBoundDivisor": "0x0800",
"durationLimit": "0x0d",
"blockReward": "0x4563918244F40000",
"homesteadTransition": "0x0",
"bombDefuseTransition": "0x0",
"eip100bTransition": "0x0",
"ecip1017EraRounds": 1000000,
"progpowTransition": "0x0"
}
}
},
"params": {
"gasLimitBoundDivisor": "0x0400",
"accountStartNonce": "0x00",
"maximumExtraDataSize": "0x20",
"minGasLimit": "0x1388",
"networkID": "0x4715",
"chainID": "0x4715",
"eip150Transition": "0x0",
"eip155Transition": "0x0",
"eip98Transition": "0x7fffffffffffff",
"eip160Transition": "0x0",
"eip140Transition": "0x0",
"eip211Transition": "0x0",
"eip214Transition": "0x0",
"eip658Transition": "0x0",
"wasmActivationTransition": 0,
"eip161abcTransition": "0x7fffffffffffffff",
"eip161dTransition": "0x7fffffffffffffff"
},
"genesis": {
"seal": {
"ethereum": {
"nonce": "0x0000000000000043",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
},
"difficulty": "0x200000",
"author": "0x0000000000000000000000000000000000000000",
"timestamp": "0x00",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x3535353535353535353535353535353535353535353535353535353535353535",
"gasLimit": "0x1000000"
},
"nodes": [
"enode://1e04f9fa221334d4d36d35987a6605ea748975d8ea4ef8755f7eb86654b65db479b16ad3378c9d144864ad6685b7bf3309283aca9ff5e1ac5d608349cba602b6@188.166.77.149:30303",
"enode://f01adcfd2d5556484638490f0d42dd00b9278e31d6bfb43ad2e9929f262be24fc23175511f74af084f34474a496a75c651032fc53df1abc1a4b7d7d0c724b71a@185.141.61.249:30303",
"enode://bb98cc714b53afb8ac83cdb6a9af975f4d67a7b3a51432a35fcb4446a5a165663531baeccef3dc7ca165caf407ab8ac59f8ae45c00aaf2084c31391314f8d9bf@198.84.181.27:30303",
"enode://b11cf0899ec0e46756efc60aa4bf15d6367fbd1d6b2010bdbd3eb5475d2365dc65e85362b42c6349e50f50216d82a95c9d8a69b4aca8119944204af1d6ef9533@89.33.253.200:30303"
],
"accounts": {
"0000000000000000000000000000000000000001": { "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } },
"0000000000000000000000000000000000000002": { "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } },
"0000000000000000000000000000000000000003": { "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } },
"0000000000000000000000000000000000000004": { "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } },
"0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "activate_at": 0, "pricing": { "modexp": { "divisor": 20 } } } },
"0000000000000000000000000000000000000006": { "builtin": { "name": "alt_bn128_add", "activate_at": 0, "pricing": { "linear": { "base": 500, "word": 0 } } } },
"0000000000000000000000000000000000000007": { "builtin": { "name": "alt_bn128_mul", "activate_at": 0, "pricing": { "linear": { "base": 40000, "word": 0 } } } },
"0000000000000000000000000000000000000008": { "builtin": { "name": "alt_bn128_pairing", "activate_at": 0, "pricing": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 } } } }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment