openethereum/ethcore/engines
Andreas Fackler 2b1d148ceb Add randomness contract support to AuthorityRound. (#10946)
* Add randomness contract support to Authority Round.

Changes have been cherry-picked from poanetwork's aura-pos branch.
Most of the work has been done by @mbr.

* Address review comments for randomness contract.

Co-Authored-By: David <dvdplm@gmail.com>

* Rename revealSecret to revealNumber

* Update Randomness contract bytecode

* Use H256, rename secret to random number.

* Use get_commit_and_cipher

* Clean up Miner::prepare_block.

* Remove is_reveal_phase call.

* Add more comments, require randomness contract map.

* Simplify run_randomness_phase

* Address review comments.

* Remove Client::transact_contract.
2019-12-17 11:34:14 +01:00
..
authority-round Add randomness contract support to AuthorityRound. (#10946) 2019-12-17 11:34:14 +01:00
basic-authority [builtin]: support multiple prices and activations in chain spec (#11039) 2019-10-31 17:09:08 +01:00
clique Make InstantSeal Instant again (#11186) 2019-11-10 11:41:31 +01:00
ethash [ethash] chainspec validate ecip1017EraRounds non-zero (#11123) 2019-10-17 14:02:41 +02:00
instant-seal Make InstantSeal Instant again (#11186) 2019-11-10 11:41:31 +01:00
null-engine Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
validator-set Add randomness contract support to AuthorityRound. (#10946) 2019-12-17 11:34:14 +01:00