Crates.io | sc-consensus-aura |
lib.rs | sc-consensus-aura |
version | 0.45.0 |
source | src |
created_at | 2020-02-27 23:14:38.858061 |
updated_at | 2024-09-26 14:40:45.647272 |
description | Aura consensus algorithm for substrate |
homepage | https://paritytech.github.io/polkadot-sdk/ |
repository | https://github.com/paritytech/polkadot-sdk.git |
max_upload_size | |
id | 213362 |
size | 59,103 |
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
Polkadot SDK stable2409