github.com/devwanda/aphelion-staking@v0.33.9/proto/types/validator.proto (about)

     1  syntax = "proto3";
     2  package tendermint.proto.types;
     3  
     4  option go_package = "github.com/devwanda/aphelion-staking/proto/types";
     5  
     6  import "third_party/proto/gogoproto/gogo.proto";
     7  import "proto/crypto/keys/types.proto";
     8  
     9  message ValidatorSet {
    10    repeated Validator validators         = 1;
    11    Validator          proposer           = 2;
    12    int64              total_voting_power = 3;
    13  }
    14  
    15  message Validator {
    16    bytes                                  address           = 1;
    17    tendermint.proto.crypto.keys.PublicKey pub_key           = 2 [(gogoproto.nullable) = false];
    18    int64                                  voting_power      = 3;
    19    int64                                  proposer_priority = 4;
    20  }