github.com/line/ostracon@v1.0.10-0.20230328032236-7f20145f065d/proto/ostracon/privval/types.proto (about)

     1  syntax = "proto3";
     2  package ostracon.privval;
     3  
     4  import "tendermint/crypto/keys.proto";
     5  import "gogoproto/gogo.proto";
     6  import "tendermint/types/types.proto";
     7  import "tendermint/privval/types.proto";
     8  
     9  option go_package = "github.com/line/ostracon/proto/ostracon/privval";
    10  
    11  // VRFProofRequest is a PrivValidatorSocket message containing a message to generate proof.
    12  message VRFProofRequest {
    13    bytes message = 1;
    14  }
    15  
    16  // VRFProofResponse is a PrivValidatorSocket message containing a Proof.
    17  message VRFProofResponse {
    18    bytes                                proof = 1;
    19    tendermint.privval.RemoteSignerError error = 2;
    20  }
    21  
    22  message Message {
    23    oneof sum {
    24      tendermint.privval.PubKeyRequest          pub_key_request          = 1;
    25      tendermint.privval.PubKeyResponse         pub_key_response         = 2;
    26      tendermint.privval.SignVoteRequest        sign_vote_request        = 3;
    27      tendermint.privval.SignedVoteResponse     signed_vote_response     = 4;
    28      tendermint.privval.SignProposalRequest    sign_proposal_request    = 5;
    29      tendermint.privval.SignedProposalResponse signed_proposal_response = 6;
    30      tendermint.privval.PingRequest            ping_request             = 7;
    31      tendermint.privval.PingResponse           ping_response            = 8;
    32      VRFProofRequest                           vrf_proof_request        = 1000;
    33      VRFProofResponse                          vrf_proof_response       = 1001;
    34    }
    35  }