Sha256: 52f5c73459e2c925474c7e4f0150887be59aa3580156edbfcc66ace84c6b0d7a
Contents?: true
Size: 1.11 KB
Versions: 8
Compression:
Stored size: 1.11 KB
Contents
// Copyright (c) The Libra Core Contributors // SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; package types; import "events.proto"; import "ledger_info.proto"; // 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 it message ValidatorChangeEventWithProof { LedgerInfoWithSignatures ledger_info_with_sigs = 1; EventWithProof event_with_proof = 2; }
Version data entries
8 entries across 8 versions & 1 rubygems