github.com/ethersphere/bee/v2@v2.2.0/pkg/p2p/libp2p/internal/handshake/pb/handshake.proto (about)

     1  // Copyright 2020 The Swarm Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  syntax = "proto3";
     6  
     7  package handshake;
     8  
     9  option go_package = "pb";
    10  
    11  message Syn {
    12      bytes ObservedUnderlay = 1;
    13  }
    14  
    15  message Ack {
    16      BzzAddress Address = 1;
    17      uint64 NetworkID = 2;
    18      bool FullNode = 3;
    19      bytes Nonce = 4;
    20      string WelcomeMessage  = 99;
    21  }
    22  
    23  message SynAck {
    24      Syn Syn = 1;
    25      Ack Ack = 2;
    26  }
    27  
    28  message BzzAddress {
    29      bytes Underlay = 1;
    30      bytes Signature = 2;
    31      bytes Overlay = 3;
    32  }