Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface RosterStateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
RosterState,RosterState.Builder
@Generated
public interface RosterStateOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString* The SHA-384 hash of a candidate roster.getRoundRosterPairs(int index) * A list of round numbers and roster hashes.<br/> The round number indicates the round in which the corresponding roster became active <p> This list SHALL be ordered by round numbers in descending order.int* A list of round numbers and roster hashes.<br/> The round number indicates the round in which the corresponding roster became active <p> This list SHALL be ordered by round numbers in descending order.* A list of round numbers and roster hashes.<br/> The round number indicates the round in which the corresponding roster became active <p> This list SHALL be ordered by round numbers in descending order.boolean* Indicates whether the roster transplant is in progress.<br/> This is needed to determine if all the node creations and deletions are complete.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getCandidateRosterHash
com.google.protobuf.ByteString getCandidateRosterHash()* The SHA-384 hash of a candidate roster. <p> This is the hash of the roster that is currently being considered for adoption.<br/> A Node SHALL NOT, ever, have more than one candidate roster at the same time.
bytes candidate_roster_hash = 1;- Returns:
- The candidateRosterHash.
-
getRoundRosterPairsList
List<RoundRosterPair> getRoundRosterPairsList()* A list of round numbers and roster hashes.<br/> The round number indicates the round in which the corresponding roster became active <p> This list SHALL be ordered by round numbers in descending order.
repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; -
getRoundRosterPairs
* A list of round numbers and roster hashes.<br/> The round number indicates the round in which the corresponding roster became active <p> This list SHALL be ordered by round numbers in descending order.
repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; -
getRoundRosterPairsCount
int getRoundRosterPairsCount()* A list of round numbers and roster hashes.<br/> The round number indicates the round in which the corresponding roster became active <p> This list SHALL be ordered by round numbers in descending order.
repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; -
getTransplantInProgress
boolean getTransplantInProgress()* Indicates whether the roster transplant is in progress.<br/> This is needed to determine if all the node creations and deletions are complete. True while a transplant roster is still being processed (nodes are being created/updated/deleted). Reset to false once dispatch is finished. <p> A transplant roster is one that has been adopted from another network using an override startup asset, rather than being generated by the current network's consensus.
bool transplant_in_progress = 3;- Returns:
- The transplantInProgress.
-