net

package
v1.4.5-testnet Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2022 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyServer

type EmptyServer struct{}

EmptyServer is an PublicServer + ProtocolServer that does nothing

func (*EmptyServer) BackupDatabase added in v1.2.6

BackupDatabase is an empty implementation

func (*EmptyServer) BroadcastDKG

func (s *EmptyServer) BroadcastDKG(context.Context, *drand.DKGPacket) (*drand.Empty, error)

BroadcastDKG is an empty implementation

func (*EmptyServer) ChainInfo

ChainInfo is an empty implementation

func (*EmptyServer) CollectiveKey

CollectiveKey is an empty implementation

func (*EmptyServer) GetIdentity

GetIdentity returns the identity of the server

func (*EmptyServer) GroupFile

GroupFile is an empty implementation

func (*EmptyServer) Home

Home is an empty implementation

func (*EmptyServer) InitDKG

InitDKG is an empty implementation

func (*EmptyServer) InitReshare

InitReshare is an empty implementation

func (*EmptyServer) ListBeaconIDs added in v1.4.6

ListBeaconIDs is an empty implementation

func (*EmptyServer) ListSchemes added in v1.4.6

ListSchemes is an empty implementation

func (*EmptyServer) LoadBeacon added in v1.4.6

ReloadBeacon is an empty implementation

func (*EmptyServer) NodeVersionStreamValidator added in v1.4.6

func (s *EmptyServer) NodeVersionStreamValidator(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

Shutdown is an empty implementation

func (*EmptyServer) NodeVersionValidator added in v1.4.6

func (s *EmptyServer) NodeVersionValidator(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (response interface{}, err error)

Shutdown is an empty implementation

func (*EmptyServer) PartialBeacon

PartialBeacon is an empty implementation

func (*EmptyServer) PingPong

func (s *EmptyServer) PingPong(context.Context, *drand.Ping) (*drand.Pong, error)

PingPong is an empty implementation

func (*EmptyServer) PrivateKey

PrivateKey is an empty implementation

func (*EmptyServer) PrivateRand

PrivateRand is an empty implementation

func (*EmptyServer) PublicKey

PublicKey is an empty implementation

func (*EmptyServer) PublicRand

PublicRand is an empty implementation

func (*EmptyServer) PublicRandStream

PublicRandStream is an empty implementation

func (*EmptyServer) PushDKGInfo

PushDKGInfo is an empty implementation

func (*EmptyServer) RemoteStatus added in v1.4.6

RemoteStatus is an empty implementation

func (*EmptyServer) Share

Share is an empty implementation

func (*EmptyServer) Shutdown

Shutdown is an empty implementation

func (*EmptyServer) SignalDKGParticipant

func (s *EmptyServer) SignalDKGParticipant(context.Context, *drand.SignalDKGPacket) (*drand.Empty, error)

SignalDKGParticipant is an empty implementation

func (*EmptyServer) StartCheckChain added in v1.4.6

StartCheckChain is the control method to instruct a drand daemon to check its chain

func (*EmptyServer) StartFollowChain

StartFollowChain is the control method to instruct a drand daemon to sync its chain

func (*EmptyServer) Status added in v1.4.6

Status method

func (*EmptyServer) SyncChain

SyncChain is an empty implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL