50 releases (32 breaking)

new 0.40.0 May 24, 2024
0.38.0 Apr 9, 2024
0.37.0 Mar 18, 2024
0.33.0 Dec 13, 2023
0.8.0-alpha.5 Mar 24, 2020

#1120 in Magic Beans

Download history 461/week @ 2024-02-02 1237/week @ 2024-02-09 1322/week @ 2024-02-16 1210/week @ 2024-02-23 988/week @ 2024-03-01 1697/week @ 2024-03-08 1271/week @ 2024-03-15 1543/week @ 2024-03-22 1934/week @ 2024-03-29 1166/week @ 2024-04-05 1268/week @ 2024-04-12 1178/week @ 2024-04-19 1361/week @ 2024-04-26 1260/week @ 2024-05-03 1297/week @ 2024-05-10 938/week @ 2024-05-17

5,075 downloads per month
Used in 8 crates (5 directly)

GPL-3.0-or-later…

1MB
23K 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

~73–115MB
~2M SLoC