Skip to content
Commit 1680422f authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

AuRa improvements (#8255)



* AuRa improvements

Hot and fresh AuRa improvements. This pr does the following:

- Move code belonging to the import queue etc to import_queue.rs
- Introduce `ImportQueueParams` and `StartAuraParams` structs to make
it more easier to understand what parameters we pass to AuRa.
- Introduce `CheckForEquivocation` to tell AuRa if it should check for
equivocation on block import. This is required for parachains, because
they are allowed to equivocate when they build two blocks for the same
slot, but for different relay chain parents.

* Update client/consensus/aura/src/import_queue.rs

Co-authored-by: default avatarAndré Silva <[email protected]>

* Fix compilation

* AAA

Co-authored-by: default avatarAndré Silva <[email protected]>
parent 9c4e4d45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment