openethereum/json/src
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
..
spec Add randomness contract support to AuthorityRound. (#10946) 2019-12-17 11:34:14 +01:00
test_helpers Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
bytes.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
hash.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
lib.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
maybe.rs Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
state.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
transaction.rs Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
uint.rs remove null signatures (#11335) 2019-12-13 18:12:22 +01:00
vm.rs Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00