9c81b72711
* move overlay to consensus engine * Integrate random beacon in overlay This commit integrates the random beacon as specified in the nomos spec into the consensus engine library as part of the overlay. In addition, it separates the overlay part responsible for leader selection as an independent trait LeaderSelection, so as to share the overall overlay structure among most constructions. Furthermore, a leader proof has been added to a block to verify that the proposer had valid rights to do so. The current implementation hardcodes the leader selection update in the consensus service, but we probably want to abstract it away through something like the adapter pattern we use of other services in the node. * Move leader selection update to separate function * Add generic support for leader selection in consensus service (#170) * Add generic support for leader selection in consensus service * fix * use settings struct instead of tuple * fix tests |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |