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
Decouple the session validators from im-online #7127
Merged
61 commits merged into
paritytech:master
from
liuchengxu:make-im-online-validator-set-flexiable
Feb 2, 2021
Merged
Changes from 57 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
33b105b
Decouple the session validators from im-online
liuchengxu d5ce27f
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 1070e51
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 526dbd7
.
liuchengxu 5f1ab56
Add SessionInterface trait in im-online
liuchengxu 451179d
Merge branch 'make-im-online-validator-set-flexiable' of https://gith…
liuchengxu 725ca92
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 141b27b
Fix merging issue
liuchengxu 9bed321
Make all compile
liuchengxu 1582b7b
Fix tests
liuchengxu 8fded12
Avoid using frame dep in primitives via pallet-session-common
liuchengxu db2d1a4
Merge ValidatorSet into SessionInterface trait
liuchengxu 9f1344d
Move pallet-sesion-common into pallet-session
liuchengxu d5a3b4f
Move SessionInterface to sp-session and impl it in session pallet
liuchengxu 004bde7
Split put historical::FullValidatorIdentification trait
liuchengxu c395c81
Fix line width
liuchengxu 550632d
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 4ebb2ef
Fix staking mock
liuchengxu 5a92424
Fix session doc test
liuchengxu 90efb67
Simplify <T as ValidatorIdentification<AccountId>>::ValidatorId as Va…
liuchengxu 1a71e3e
Nits
liuchengxu e1abd33
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu ee947a5
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu f274541
Clean up.
tomusdrw c87f862
Make it compile by commenting out report_offence_im_online bench
liuchengxu 1840186
Tests
liuchengxu da2d4a5
Nits
liuchengxu 58e9fcc
Move OneSessionHandler to sp-session
liuchengxu 7066c13
Fix tests
liuchengxu 9eea0a3
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 1848bd7
Add some docs
liuchengxu 650f279
.
liuchengxu ee81bf1
Fix typo
liuchengxu e7598a3
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu ff94e6b
Rename to ValidatorSet::session_index()
liuchengxu 7d5cceb
Add some more docs
liuchengxu de08937
.
liuchengxu e28377b
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 6e07546
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 6c42cc8
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu fe9e17a
Remove extra empty line
liuchengxu 3fdb3c4
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 6d8defa
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu aef33ca
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu b919689
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 516afb2
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu c4158d7
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu ea357a3
Fix line width check
liuchengxu 6937b72
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 7a265af
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu d4787ad
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 2c007d0
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu a34f75c
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 04f247c
Merge branch 'make-im-online-validator-set-flexiable' of https://gith…
liuchengxu 865bfd8
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 0a39d79
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu e8c8ce5
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 12ff709
Apply suggestions from code review
liuchengxu 12324f3
Cleaup Cargo.toml
liuchengxu 3551036
Aura has migrated to Pallet now
liuchengxu 8e392fa
Merge branch 'master' of https://github.com/paritytech/substrate into…
liuchengxu 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
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.