-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimise query leadership schedule command #4250
Optimise query leadership schedule command #4250
Conversation
a38ad48
to
780dae1
Compare
Requires IntersectMBO/ouroboros-network#3932 to be merged first. |
780dae1
to
801233e
Compare
62fcc1a
to
ae0dcf6
Compare
ae0dcf6
to
b1be75e
Compare
b1be75e
to
2a2e975
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, some minor changes. Can you also include in the commit message that the enhancement is due to us sending only the pool distribution over the wire vs the entire epoch state?
let markSnapshotPoolDistr :: Map (SL.KeyHash 'SL.StakePool Shelley.StandardCrypto) (SL.IndividualPoolStake Shelley.StandardCrypto) | ||
markSnapshotPoolDistr = ShelleyAPI.unPoolDistr . ShelleyAPI.calculatePoolDistr . ShelleyAPI._pstakeMark | ||
$ obtainIsStandardCrypto sbe $ ShelleyAPI.esSnapshots cEstate | ||
let snapshot :: ShelleyAPI.SnapShot Shelley.StandardCrypto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
5d574a8
to
6c5e764
Compare
6c5e764
to
cb236c0
Compare
cb236c0
to
692e79d
Compare
bors r+ |
Timed out. |
Depends on #4392
Resolves #4325