github.com/celestiaorg/celestia-node@v0.15.0-beta.1/share/p2p/shrexnd/pb/share.proto (about)

     1  syntax = "proto3";
     2  
     3  package share.p2p.shrex.nd;
     4  import "pb/proof.proto";
     5  
     6  message GetSharesByNamespaceRequest{
     7    bytes root_hash = 1;
     8    bytes namespace = 2;
     9  }
    10  
    11  message GetSharesByNamespaceStatusResponse{
    12    StatusCode status = 1;
    13  }
    14  
    15  enum StatusCode {
    16    INVALID = 0;
    17    OK = 1;
    18    NOT_FOUND = 2;
    19    INTERNAL = 3;
    20  };
    21  
    22  message NamespaceRowResponse {
    23    repeated bytes shares = 1;
    24    proof.pb.Proof proof = 2;
    25  }