54 releases (breaking)

0.45.0 Sep 26, 2024
0.44.0 Jul 18, 2024
0.42.0 Jul 13, 2024
0.37.0 Mar 18, 2024
0.8.0-alpha.5 Mar 24, 2020

#2 in #authorities

Download history 203/week @ 2024-07-03 1221/week @ 2024-07-10 1398/week @ 2024-07-17 1257/week @ 2024-07-24 1179/week @ 2024-07-31 1817/week @ 2024-08-07 1687/week @ 2024-08-14 1776/week @ 2024-08-21 1418/week @ 2024-08-28 1658/week @ 2024-09-04 1883/week @ 2024-09-11 2065/week @ 2024-09-18 2635/week @ 2024-09-25 1892/week @ 2024-10-02 1792/week @ 2024-10-09 2159/week @ 2024-10-16

8,886 downloads per month
Used in 10 crates (6 directly)

GPL-3.0-or-later…

1.5MB
24K 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

Release

Polkadot SDK stable2409


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

~76–115MB
~2M SLoC