Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReserveReporter ¶
type ReserveReporter interface { // Current size of the reserve. ReserveSize() (uint64, error) // Capacity of the reserve that is configured. ReserveCapacity() uint64 }
ReserveReporter interface defines the functionality required from the local storage of the node to report information about the reserve. The reserve storage is the storage pledged by the node to the network.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements the depthmonitor service
type SyncReporter ¶
type SyncReporter interface { // Rate of syncing in terms of chunks/sec. Rate() float64 }
SyncReporter interface needs to be implemented by the syncing component of the node (pullsync).
type Topology ¶
type Topology interface { topologyDriver.NeighborhoodDepther topologyDriver.SetStorageRadiuser topologyDriver.PeersCounter }
Topology interface encapsulates the functionality required by the topology component of the node.
Click to show internal directories.
Click to hide internal directories.