-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No Agora override for
SCPDriver::computeHashNode
The Agora `override` had been added to provide randomness by using the hash of the previous block header. However, the `prev_value` param passed to `nominate` can achieve the same result. With the advantage of preventing a potential race condition where the ledger height is not one less than the `slot_idx` when executing `computeHashNode`. This could occur if a block is fetched by catchup during a nomination round.
- Loading branch information
1 parent
7fdff99
commit 14459dd
Showing
1 changed file
with
13 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters