Show the crate…

1 unstable release

0.8.0 Apr 5, 2021
0.0.0 Mar 4, 2021

#47 in #consensus-algorithm

28 downloads per month
Used in node-template

GPL-3.0-or-later…

1MB
22K SLoC

Aura (Authority-round) consensus in tetcore.

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 tetcore.

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

~32–48MB
~837K SLoC