github.com/tenywen/fabric@v1.0.0-beta.0.20170620030522-a5b1ed380643/protos/peer/configuration.proto (about)

     1  /*
     2  Copyright IBM Corp. 2017 All Rights Reserved.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8                   http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  syntax = "proto3";
    18  
    19  option java_package = "org.hyperledger.fabric.protos.peer";
    20  option go_package = "github.com/hyperledger/fabric/protos/peer";
    21  
    22  package protos;
    23  
    24  // AnchorPeers simply represents list of anchor peers which is used in ConfigurationItem
    25  message AnchorPeers {
    26      repeated AnchorPeer anchor_peers = 1;
    27  }
    28  
    29  // AnchorPeer message structure which provides information about anchor peer, it includes host name,
    30  // port number and peer certificate.
    31  message AnchorPeer {
    32  
    33      // DNS host name of the anchor peer
    34      string host = 1;
    35  
    36      // The port number
    37      int32 port  = 2;
    38  
    39  }