Documentation ¶
Index ¶
- Variables
- type Get
- func (*Get) Descriptor() ([]byte, []int)
- func (m *Get) Marshal() (dAtA []byte, err error)
- func (m *Get) MarshalTo(dAtA []byte) (int, error)
- func (m *Get) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Get) ProtoMessage()
- func (m *Get) Reset()
- func (m *Get) Size() (n int)
- func (m *Get) String() string
- func (m *Get) Unmarshal(dAtA []byte) error
- func (m *Get) XXX_DiscardUnknown()
- func (m *Get) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Get) XXX_Merge(src proto.Message)
- func (m *Get) XXX_Size() int
- func (m *Get) XXX_Unmarshal(b []byte) error
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetBatchCommitment() uint64
- func (m *Snapshot) GetBeeMode() string
- func (m *Snapshot) GetConnectedPeers() uint64
- func (m *Snapshot) GetIsReachable() bool
- func (m *Snapshot) GetLastSyncedBlock() uint64
- func (m *Snapshot) GetNeighborhoodSize() uint64
- func (m *Snapshot) GetPullsyncRate() float64
- func (m *Snapshot) GetReserveSize() uint64
- func (m *Snapshot) GetReserveSizeWithinRadius() uint64
- func (m *Snapshot) GetStorageRadius() uint32
- func (m *Snapshot) Marshal() (dAtA []byte, err error)
- func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) Size() (n int)
- func (m *Snapshot) String() string
- func (m *Snapshot) Unmarshal(dAtA []byte) error
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Get ¶
type Get struct { }
Get message indicate interest in receiving a node Snapshot.
func (*Get) Descriptor ¶
func (*Get) ProtoMessage ¶
func (*Get) ProtoMessage()
func (*Get) XXX_DiscardUnknown ¶
func (m *Get) XXX_DiscardUnknown()
func (*Get) XXX_Unmarshal ¶
type Snapshot ¶
type Snapshot struct { ReserveSize uint64 `protobuf:"varint,1,opt,name=ReserveSize,proto3" json:"ReserveSize,omitempty"` PullsyncRate float64 `protobuf:"fixed64,2,opt,name=PullsyncRate,proto3" json:"PullsyncRate,omitempty"` StorageRadius uint32 `protobuf:"varint,3,opt,name=StorageRadius,proto3" json:"StorageRadius,omitempty"` ConnectedPeers uint64 `protobuf:"varint,4,opt,name=ConnectedPeers,proto3" json:"ConnectedPeers,omitempty"` NeighborhoodSize uint64 `protobuf:"varint,5,opt,name=NeighborhoodSize,proto3" json:"NeighborhoodSize,omitempty"` BeeMode string `protobuf:"bytes,6,opt,name=BeeMode,proto3" json:"BeeMode,omitempty"` BatchCommitment uint64 `protobuf:"varint,7,opt,name=BatchCommitment,proto3" json:"BatchCommitment,omitempty"` IsReachable bool `protobuf:"varint,8,opt,name=IsReachable,proto3" json:"IsReachable,omitempty"` ReserveSizeWithinRadius uint64 `protobuf:"varint,9,opt,name=ReserveSizeWithinRadius,proto3" json:"ReserveSizeWithinRadius,omitempty"` LastSyncedBlock uint64 `protobuf:"varint,10,opt,name=LastSyncedBlock,proto3" json:"LastSyncedBlock,omitempty"` }
Snapshot message is a response to the Get message and contains the appropriate values that are a snapshot of the current state of the running node.
func (*Snapshot) Descriptor ¶
func (*Snapshot) GetBatchCommitment ¶
func (*Snapshot) GetBeeMode ¶
func (*Snapshot) GetConnectedPeers ¶
func (*Snapshot) GetIsReachable ¶
func (*Snapshot) GetLastSyncedBlock ¶ added in v2.2.0
func (*Snapshot) GetNeighborhoodSize ¶
func (*Snapshot) GetPullsyncRate ¶
func (*Snapshot) GetReserveSize ¶
func (*Snapshot) GetReserveSizeWithinRadius ¶
func (*Snapshot) GetStorageRadius ¶
func (*Snapshot) MarshalToSizedBuffer ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶
func (*Snapshot) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.