In the TSS-Roster proposal we explicitly pass a RosterHistory to the PlatformBuilder which contains the current and previous roster. While we are refactoring, it may be convenient to also initialize this class with AddressBook and return the current and previous AddressBook. Once we are done refactoring, the code related to AddressBook would be removed.
Constructors:
new RosterHistory(currentRoster, currentRound, previousRoster, previousRound)
new RosterHistory(List<RoundRosterPair>, Map<RosterHash, Roster>)
Background
In the TSS-Roster proposal we explicitly pass a
RosterHistory
to thePlatformBuilder
which contains thecurrent
andprevious
roster. While we are refactoring, it may be convenient to also initialize this class withAddressBook
and return thecurrent
andprevious
AddressBook. Once we are done refactoring, the code related toAddressBook
would be removed.Constructors:
Roster History API:
Acceptance Criteria
Dependencies
None