Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Move authorities interface from Core to consensus#1412

Merged
gavofyork merged 35 commits intomasterfrom
stas-1369-move-authorities-from-core
Mar 29, 2019
Merged

Move authorities interface from Core to consensus#1412
gavofyork merged 35 commits intomasterfrom
stas-1369-move-authorities-from-core

Conversation

@stanislav-tkach
Copy link
Contributor

Closes #1365.

@stanislav-tkach stanislav-tkach added the A3-in_progress Pull request is in progress. No review needed at this stage. label Jan 14, 2019
@parity-cla-bot
Copy link

It looks like @DarkEld3r signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch 3 times, most recently from 8896dec to c0dd7c7 Compare January 17, 2019 21:44
@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch 16 times, most recently from e01b9b3 to 3296f8d Compare January 31, 2019 10:24
@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch 7 times, most recently from 25edc90 to 1223ae5 Compare February 5, 2019 12:03
/// Authorities API.
pub trait AuthoritiesApi {
/// Returns the authorities at the given block.
fn authorities() -> Vec<AuthorityIdFor<Block>>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AuthorityIdFor is not likely to stick around that much longer. We probably will need AuthoritiesApi to become generic in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rphmeier I hope it can be done outside the scope of this pull request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants