mirror of https://github.com/hyperledger/besu
Added SECP256R1 support to CLI sub command generate-blockchain-config (#2183)
Signed-off-by: Daniel Lehrner <daniel@io.builders>pull/2196/head
parent
8267f90fdd
commit
456981ccd5
@ -0,0 +1,40 @@ |
||||
{ |
||||
"genesis": { |
||||
"config": { |
||||
"chainId": 2017, |
||||
"eip150Block": 0, |
||||
"ecCurve": "abcd", |
||||
"ibft2": { |
||||
|
||||
} |
||||
}, |
||||
"nonce": "0x0", |
||||
"timestamp": "0x5b3c3d18", |
||||
"number": "0x0", |
||||
"gasUsed": "0x0", |
||||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x47b760", |
||||
"difficulty": "0x1", |
||||
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365", |
||||
"coinbase": "0x0000000000000000000000000000000000000000", |
||||
"ibft2": { |
||||
"blockperiodseconds": 2, |
||||
"epochlength": 30000, |
||||
"requesttimeoutseconds": 10 |
||||
}, |
||||
"alloc": { |
||||
"24defc2d149861d3d245749b81fe0e6b28e04f31": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb564000000000000" |
||||
}, |
||||
"2a813d7db3de19b07f92268b6d4125ed295cbe00": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb542000000000000" |
||||
} |
||||
} |
||||
}, |
||||
"blockchain": { |
||||
"nodes": { |
||||
"generate": true, |
||||
"count": 4 |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,40 @@ |
||||
{ |
||||
"genesis": { |
||||
"config": { |
||||
"chainId": 2017, |
||||
"eip150Block": 0, |
||||
"ecCurve": "secp256r1", |
||||
"ibft2": { |
||||
|
||||
} |
||||
}, |
||||
"nonce": "0x0", |
||||
"timestamp": "0x5b3c3d18", |
||||
"number": "0x0", |
||||
"gasUsed": "0x0", |
||||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x47b760", |
||||
"difficulty": "0x1", |
||||
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365", |
||||
"coinbase": "0x0000000000000000000000000000000000000000", |
||||
"ibft2": { |
||||
"blockperiodseconds": 2, |
||||
"epochlength": 30000, |
||||
"requesttimeoutseconds": 10 |
||||
}, |
||||
"alloc": { |
||||
"24defc2d149861d3d245749b81fe0e6b28e04f31": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb564000000000000" |
||||
}, |
||||
"2a813d7db3de19b07f92268b6d4125ed295cbe00": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb542000000000000" |
||||
} |
||||
} |
||||
}, |
||||
"blockchain": { |
||||
"nodes": { |
||||
"generate": true, |
||||
"count": 4 |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,42 @@ |
||||
{ |
||||
"genesis": { |
||||
"config": { |
||||
"chainId": 2017, |
||||
"petersburgBlock": 0, |
||||
"ecCurve": "secp256r1", |
||||
"ibft2": { |
||||
|
||||
} |
||||
}, |
||||
"nonce": "0x0", |
||||
"timestamp": "0x5b3c3d18", |
||||
"number": "0x0", |
||||
"gasUsed": "0x0", |
||||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x47b760", |
||||
"difficulty": "0x1", |
||||
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365", |
||||
"coinbase": "0x0000000000000000000000000000000000000000", |
||||
"ibft2": { |
||||
"blockperiodseconds": 2, |
||||
"epochlength": 30000, |
||||
"requesttimeoutseconds": 10 |
||||
}, |
||||
"alloc": { |
||||
"24defc2d149861d3d245749b81fe0e6b28e04f31": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb564000000000000" |
||||
}, |
||||
"2a813d7db3de19b07f92268b6d4125ed295cbe00": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb542000000000000" |
||||
} |
||||
} |
||||
}, |
||||
"blockchain": { |
||||
"nodes": { |
||||
"keys": [ |
||||
"0x69b48fbfeaf1275afb2773b8b2ce485660e8d6b92f74b55814a567189339dab9ec75726c13206fdf716bb107eb52666a95b7d8188af60cd1bdb66493959ec3b6", |
||||
"0x6256fbfe4731d350d35261d2fa720cc2883d4f6d7f43797e5fee0c6b4c29ea6fc16abb3a8b30384d443f45eb7099b71bf4a61128a03b80c376e3883c8d0ffd0d" |
||||
] |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,42 @@ |
||||
{ |
||||
"genesis": { |
||||
"config": { |
||||
"chainId": 2017, |
||||
"petersburgBlock": 0, |
||||
"ecCurve": "secp256r1", |
||||
"ibft2": { |
||||
|
||||
} |
||||
}, |
||||
"nonce": "0x0", |
||||
"timestamp": "0x5b3c3d18", |
||||
"number": "0x0", |
||||
"gasUsed": "0x0", |
||||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x47b760", |
||||
"difficulty": "0x1", |
||||
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365", |
||||
"coinbase": "0x0000000000000000000000000000000000000000", |
||||
"ibft2": { |
||||
"blockperiodseconds": 2, |
||||
"epochlength": 30000, |
||||
"requesttimeoutseconds": 10 |
||||
}, |
||||
"alloc": { |
||||
"24defc2d149861d3d245749b81fe0e6b28e04f31": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb564000000000000" |
||||
}, |
||||
"2a813d7db3de19b07f92268b6d4125ed295cbe00": { |
||||
"balance": "0x446c3b15f9926687d2c40534fdb542000000000000" |
||||
} |
||||
} |
||||
}, |
||||
"blockchain": { |
||||
"nodes": { |
||||
"keys": [ |
||||
"0xb295c4242fb40c6e8ac7b831c916846050f191adc560b8098ba6ad513079571ec1be6e5e1a715857a13a91963097962e048c36c5863014b59e8f67ed3f667680", |
||||
"0x6295c4242fb40c6e8ac7b831c916846050f191adc560b8098ba6ad513079571ec1be6e5e1a715857a13a91963097962e048c36c5863014b59e8f67ed3f667680" |
||||
] |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue