56 releases (breaking)

0.48.0 Jan 29, 2025
0.45.0 Sep 26, 2024
0.44.0 Jul 18, 2024
0.37.0 Mar 18, 2024
0.8.0-alpha.5 Mar 24, 2020

#3 in #authorities

Download history 2635/week @ 2024-10-28 2219/week @ 2024-11-04 1594/week @ 2024-11-11 2473/week @ 2024-11-18 2608/week @ 2024-11-25 2744/week @ 2024-12-02 3961/week @ 2024-12-09 3492/week @ 2024-12-16 1988/week @ 2024-12-23 2044/week @ 2024-12-30 3333/week @ 2025-01-06 4387/week @ 2025-01-13 3513/week @ 2025-01-20 2359/week @ 2025-01-27 3641/week @ 2025-02-03 3848/week @ 2025-02-10

13,872 downloads per month
Used in 19 crates (6 directly)

GPL-3.0-or-later…

2MB
25K 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 Stable 2412


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

~73–110MB
~2M SLoC