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

     1  // Copyright 2023 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 status;
     8  
     9  option go_package = "pb";
    10  
    11  // Get message indicate interest in receiving a node Snapshot.
    12  message Get {}
    13  
    14  // Snapshot message is a response to the Get message and contains
    15  // the appropriate values that are a snapshot of the current state
    16  // of the running node.
    17  message Snapshot {
    18    uint64 ReserveSize = 1;
    19    double PullsyncRate = 2;
    20    uint32 StorageRadius = 3;
    21    uint64 ConnectedPeers = 4;
    22    uint64 NeighborhoodSize = 5;
    23    string BeeMode = 6;
    24    uint64 BatchCommitment = 7;
    25    bool IsReachable = 8;
    26    uint64 ReserveSizeWithinRadius = 9;
    27    uint64 LastSyncedBlock = 10;
    28  }