protos/ledger_info.proto in libra_client-0.1.7 vs protos/ledger_info.proto in libra_client-0.2.1

- old
+ new

@@ -3,10 +3,12 @@ syntax = "proto3"; package types; +import "validator_set.proto"; + /// Even though we don't always need all hashes, we pass them in and return them /// always so that we keep them in sync on the client and don't make the client /// worry about which one(s) to pass in which cases /// /// This structure serves a dual purpose. @@ -58,9 +60,13 @@ // generated by the proposer of the block. This is strictly increasing with every block. // If a client reads a timestamp > the one they specified for transaction expiration time, // they can be certain that their transaction will never be included in a block in the future // (assuming that their transaction has not yet been included) uint64 timestamp_usecs = 6; + + // An optional field with the validator set for the next epoch in case it's the last + // ledger info in the current epoch. + ValidatorSet next_validator_set = 7; } /// The validator node returns this structure which includes signatures /// from each validator to confirm the state. The client needs to only pass /// back the LedgerInfo element since the validator node doesn't need to know