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 1098/week @ 2024-07-29 1313/week @ 2024-08-05 2035/week @ 2024-08-12 1790/week @ 2024-08-19 1317/week @ 2024-08-26 1687/week @ 2024-09-02 1805/week @ 2024-09-09 1913/week @ 2024-09-16 2508/week @ 2024-09-23 2391/week @ 2024-09-30 1526/week @ 2024-10-07 2153/week @ 2024-10-14 2730/week @ 2024-10-21 2635/week @ 2024-10-28 2219/week @ 2024-11-04 1279/week @ 2024-11-11

9,008 downloads per month
Used in 11 crates (7 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

~78–120MB
~2M SLoC