openethereum/rpc/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
..
tests fix(compilation warnings) (#10649) 2019-05-13 15:10:25 +02:00
v1 Add randomness contract support to AuthorityRound. (#10946) 2019-12-17 11:34:14 +01:00
authcodes.rs [dependencies] bump rand 0.7 (#11022) 2019-10-18 15:12:16 +02:00
http_common.rs fix(rpc): fix a bunch of clippy lints (#10493) 2019-03-22 12:01:11 +01:00
lib.rs Adds support for ipc socket permissions (#11273) 2019-12-06 16:39:56 +01:00