This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Relative slots #2820
Merged
Merged
Relative slots #2820
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
840dde0
Initial work on relative slots for BABE
Demi-Marie 525db62
Merge remote-tracking branch 'origin/master' into demi-relative-slots
Demi-Marie 26c9216
Merge remote-tracking branch 'origin/master' into demi-relative-slots
Demi-Marie 45cc84a
More work
Demi-Marie b9639c5
Merge branch 'master' into demi-relative-slots
Demi-Marie c0ba761
Update core/consensus/babe/src/lib.rs
Demi-Marie 9deafa0
Merge branch 'master' into demi-relative-slots
Demi-Marie d2143eb
More work on relative slots
Demi-Marie 5ac939b
Add missing field in test-runtime
Demi-Marie d67ec03
Bump `impl_version` and `authoring_version`
Demi-Marie 527c460
Fix compile errors and warnings
Demi-Marie 6dcb87a
Merge branch 'master' into demi-relative-slots
Demi-Marie 948bd80
Upgrade dependencies
Demi-Marie dedf739
Update dependencies more
Demi-Marie 286c1c1
Merge branch 'master' into demi-relative-slots
Demi-Marie 5fb2586
Merge branch 'master' into demi-relative-slots
Demi-Marie ea97fe2
Revert some updates to dependencies
Demi-Marie 65660fe
Merge remote-tracking branch 'origin/master' into demi-relative-slots
Demi-Marie 3c8f864
Merge branch 'master' into demi-relative-slots
Demi-Marie 93227b1
Fix compilation errors
Demi-Marie bd3b1e2
`Duration` → `u128` in calculations
Demi-Marie 9f5292a
`slot_duration` is in milleseconds, not seconds
Demi-Marie 07e2974
Median algorithm: ignore blocks with slot_num < sl
Demi-Marie 0e9d63b
Fix silly compile error
Demi-Marie e62baec
Merge branch 'master' into demi-relative-slots
Demi-Marie 3766cd6
Store a duration, rather than an instant
Demi-Marie 581ad8e
Merge branch 'master' into demi-relative-slots
Demi-Marie f4cf8a7
Fix compilation errors
Demi-Marie b9ccfbf
Merge branch 'master' into demi-relative-slots
Demi-Marie 051b9f6
`INVERSE_NANO` → `NANOS_PER_SEC`
Demi-Marie e65e46a
Merge branch 'master' into demi-relative-slots
Demi-Marie 18fe2d0
Merge branch 'master' into demi-relative-slots
Demi-Marie bf4ac48
Un-bump `authoring_version`
Demi-Marie 7a4c8ec
Disable median algorithm when `median_required_blocks` is 0
Demi-Marie 94680c7
Apply suggestions from code review
Demi-Marie 71f0c30
Simplify panic
Demi-Marie d761493
Merge branch 'demi-relative-slots' of github.com:paritytech/substrate…
Demi-Marie c4a6315
Fix build error
Demi-Marie 426dd04
Create `SignedDuration` struct
Demi-Marie c73aa1a
Merge branch 'master' into demi-relative-slots
Demi-Marie 8f71428
Refactor median algorithm into separate function
Demi-Marie 69eb154
Add issues for FIXMEs and respond to code review
Demi-Marie d43d04e
Fix minor warnings
Demi-Marie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add issues for FIXMEs and respond to code review
- Loading branch information
commit 69eb1545cab13236b6812e9d8429a0ad0f7e8e26
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.