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
8,886 downloads per month
Used in 10 crates
(6 directly)
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