public static final class ValidatorChange.ValidatorChangeEventWithProof extends com.google.protobuf.GeneratedMessageV3 implements ValidatorChange.ValidatorChangeEventWithProofOrBuilder
This is used to prove validator changes. When a validator is changing, it triggers an event on /validator_change_account/events/sent. To tell the client about validator changes, we query /validator_change_account/events/sent to get all versions that contain validator changes after the version that we are trying to update from. For each of these versions, the old validator set would have signed the ledger info at that version. The client needs this as well as the event results + proof. The client can then verify that these events were under the current tree and that the changes were signed by the old validators (and that the events correctly show which validators are the new validators). This message represents a single validator change event and the proof that corresponds to itProtobuf type
types.ValidatorChangeEventWithProof| Modifier and Type | Class and Description |
|---|---|
static class |
ValidatorChange.ValidatorChangeEventWithProof.Builder
This is used to prove validator changes.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_WITH_PROOF_FIELD_NUMBER |
static int |
LEDGER_INFO_WITH_SIGS_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LEDGER_INFO_WITH_SIGS_FIELD_NUMBER
public static final int EVENT_WITH_PROOF_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasLedgerInfoWithSigs()
.types.LedgerInfoWithSignatures ledger_info_with_sigs = 1;hasLedgerInfoWithSigs in interface ValidatorChange.ValidatorChangeEventWithProofOrBuilderpublic LedgerInfoOuterClass.LedgerInfoWithSignatures getLedgerInfoWithSigs()
.types.LedgerInfoWithSignatures ledger_info_with_sigs = 1;getLedgerInfoWithSigs in interface ValidatorChange.ValidatorChangeEventWithProofOrBuilderpublic LedgerInfoOuterClass.LedgerInfoWithSignaturesOrBuilder getLedgerInfoWithSigsOrBuilder()
.types.LedgerInfoWithSignatures ledger_info_with_sigs = 1;getLedgerInfoWithSigsOrBuilder in interface ValidatorChange.ValidatorChangeEventWithProofOrBuilderpublic boolean hasEventWithProof()
.types.EventWithProof event_with_proof = 2;hasEventWithProof in interface ValidatorChange.ValidatorChangeEventWithProofOrBuilderpublic Events.EventWithProof getEventWithProof()
.types.EventWithProof event_with_proof = 2;getEventWithProof in interface ValidatorChange.ValidatorChangeEventWithProofOrBuilderpublic Events.EventWithProofOrBuilder getEventWithProofOrBuilder()
.types.EventWithProof event_with_proof = 2;getEventWithProofOrBuilder in interface ValidatorChange.ValidatorChangeEventWithProofOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(InputStream input) throws IOException
IOExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ValidatorChange.ValidatorChangeEventWithProof parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ValidatorChange.ValidatorChangeEventWithProof.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ValidatorChange.ValidatorChangeEventWithProof.Builder newBuilder()
public static ValidatorChange.ValidatorChangeEventWithProof.Builder newBuilder(ValidatorChange.ValidatorChangeEventWithProof prototype)
public ValidatorChange.ValidatorChangeEventWithProof.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ValidatorChange.ValidatorChangeEventWithProof.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ValidatorChange.ValidatorChangeEventWithProof getDefaultInstance()
public static com.google.protobuf.Parser<ValidatorChange.ValidatorChangeEventWithProof> parser()
public com.google.protobuf.Parser<ValidatorChange.ValidatorChangeEventWithProof> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ValidatorChange.ValidatorChangeEventWithProof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.