github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/protobuf/registry.proto (about)

     1  syntax = 'proto3';
     2  
     3  package registry;
     4  
     5  option go_package = "github.com/hyperledger/burrow/execution/registry";
     6  
     7  import "gogoproto/gogo.proto";
     8  
     9  option (gogoproto.stable_marshaler_all) = true;
    10  // Enable custom Marshal method.
    11  option (gogoproto.marshaler_all) = true;
    12  // Enable custom Unmarshal method.
    13  option (gogoproto.unmarshaler_all) = true;
    14  // Enable custom Size method (Required by Marshal and Unmarshal).
    15  option (gogoproto.sizer_all) = true;
    16  // Enable registration with golang/protobuf for the grpc-gateway.
    17  option (gogoproto.goproto_registration) = true;
    18  // Enable generation of XXX_MessageName methods for grpc-go/status.
    19  option (gogoproto.messagename_all) = true;
    20  
    21  // NodeIdentity stores and establishes a binding between 4 different types of identifiers, a human readable name,
    22  // a advertised network address, a p2p station-to-station key, and a validator key. Updates must be signed
    23  // by the node key and the validator key to prove the update is consensual.
    24  message NodeIdentity {
    25      option (gogoproto.goproto_stringer) = false;
    26      // Peer moniker name
    27  	string Moniker = 1;
    28  	// Peer network address
    29  	string NetworkAddress = 2;
    30  	// The Tendermint p2p node ID
    31  	bytes TendermintNodeID = 3 [(gogoproto.customtype) = "github.com/hyperledger/burrow/crypto.Address", (gogoproto.nullable) = false];
    32  	// The public key that this node will validate with if it becomes a validator
    33  	// (use this to create a binding between p2p node ID and validator)
    34  	bytes ValidatorPublicKey = 4 [(gogoproto.customtype) = "github.com/hyperledger/burrow/crypto.PublicKey"];
    35  }