31 releases (18 breaking)

new 0.26.0 Mar 26, 2023
0.24.0 Feb 26, 2023
0.16.0 Dec 21, 2022
0.9.0 Feb 10, 2021
0.8.0-alpha.5 Mar 24, 2020

#1044 in Magic Beans

Download history 719/week @ 2022-12-04 1005/week @ 2022-12-11 844/week @ 2022-12-18 393/week @ 2022-12-25 232/week @ 2023-01-01 616/week @ 2023-01-08 356/week @ 2023-01-15 861/week @ 2023-01-22 975/week @ 2023-01-29 687/week @ 2023-02-05 359/week @ 2023-02-12 1038/week @ 2023-02-19 124/week @ 2023-02-26 1200/week @ 2023-03-05 348/week @ 2023-03-12 605/week @ 2023-03-19

2,280 downloads per month
Used in 2 crates

GPL-3.0-or-later…

1MB
21K SLoC

Aura (Authority-round) consensus in substrate.

Aura works by having a list of authorities A who are expected to roughly agree on the current time. Time is divided up into discrete slots of t seconds each. For each slot s, the author of that slot is A[s % |A|].

The author is allowed to issue one block but not more during that slot, and it will be built upon the longest valid chain that has been seen.

Blocks from future steps will be either deferred or rejected depending on how far in the future they are.

NOTE: Aura itself is designed to be generic over the crypto used.

License: GPL-3.0-or-later WITH Classpath-exception-2.0


lib.rs:

Aura (Authority-round) consensus in substrate.

Aura works by having a list of authorities A who are expected to roughly agree on the current time. Time is divided up into discrete slots of t seconds each. For each slot s, the author of that slot is A[s % |A|].

The author is allowed to issue one block but not more during that slot, and it will be built upon the longest valid chain that has been seen.

Blocks from future steps will be either deferred or rejected depending on how far in the future they are.

NOTE: Aura itself is designed to be generic over the crypto used.

Dependencies

~46–86MB
~1.5M SLoC