openethereum/ethcore/snapshot
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
..
benches Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
snapshot-tests Add randomness contract support to AuthorityRound. (#10946) 2019-12-17 11:34:14 +01:00
src ethcore: fix rlp deprecation warnings (#11280) 2019-11-21 17:23:49 +01:00
Cargo.toml Use upstream rocksdb (#11248) 2019-12-03 16:59:11 +01:00