Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cobra.Command{
Use: "bootnode",
Short: "Starts a bootnode",
Long: "Boot nodes do nothing put seed the peer table",
Run: bootNode}
Command is the cobra.Command specifically for running as an edge node, i.e. not a validator or relay
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements the bootnode protocol
func (*Server) KnownNodes ¶
func (bn *Server) KnownNodes(ctx context.Context, r *pb.BootNodeRequest) (*pb.BootNodeResponse, error)
KnownNodes returns a set of recently seen peers when the bootnode is connected to
Click to show internal directories.
Click to hide internal directories.