public static interface ElectionContract.CandidateInformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
Client.Hash |
getAnnouncementTransactionId()
The transaction id when the candidate announced.
|
Client.HashOrBuilder |
getAnnouncementTransactionIdOrBuilder()
The transaction id when the candidate announced.
|
long |
getContinualAppointmentCount()
The count of continual appointment.
|
boolean |
getIsCurrentCandidate()
Indicate whether the candidate can be elected in the current term.
|
long |
getMissedTimeSlots()
The time slot for which the candidate failed to produce blocks.
|
long |
getProducedBlocks()
The number of blocks the candidate has produced.
|
String |
getPubkey()
Candidate’s public key.
|
com.google.protobuf.ByteString |
getPubkeyBytes()
Candidate’s public key.
|
long |
getTerms(int index)
The number of terms that the candidate is elected.
|
int |
getTermsCount()
The number of terms that the candidate is elected.
|
List<Long> |
getTermsList()
The number of terms that the candidate is elected.
|
boolean |
hasAnnouncementTransactionId()
The transaction id when the candidate announced.
|
String getPubkey()
Candidate’s public key.
string pubkey = 1;com.google.protobuf.ByteString getPubkeyBytes()
Candidate’s public key.
string pubkey = 1;List<Long> getTermsList()
The number of terms that the candidate is elected.
repeated int64 terms = 2;int getTermsCount()
The number of terms that the candidate is elected.
repeated int64 terms = 2;long getTerms(int index)
The number of terms that the candidate is elected.
repeated int64 terms = 2;index - The index of the element to return.long getProducedBlocks()
The number of blocks the candidate has produced.
int64 produced_blocks = 3;long getMissedTimeSlots()
The time slot for which the candidate failed to produce blocks.
int64 missed_time_slots = 4;long getContinualAppointmentCount()
The count of continual appointment.
int64 continual_appointment_count = 5;boolean hasAnnouncementTransactionId()
The transaction id when the candidate announced.
.Hash announcement_transaction_id = 6;Client.Hash getAnnouncementTransactionId()
The transaction id when the candidate announced.
.Hash announcement_transaction_id = 6;Client.HashOrBuilder getAnnouncementTransactionIdOrBuilder()
The transaction id when the candidate announced.
.Hash announcement_transaction_id = 6;boolean getIsCurrentCandidate()
Indicate whether the candidate can be elected in the current term.
bool is_current_candidate = 7;Copyright © 2020. All rights reserved.