Versions in this module Expand all Collapse all v0 v0.0.1 Jun 11, 2020 Changes in this version + type Config struct + AnnounceAddr *net.UDPAddr + Bootnodes []*enode.Node + MagicNetID uint64 + NetRestrict *netutil.Netlist + NodeDBPath string + PrivateKey *ecdsa.PrivateKey + TCPPort int + Unhandled chan<- ReadPacket + type ReadPacket struct + Addr *net.UDPAddr + Data []byte + type Table struct + func ListenUDP(c conn, cfg Config) (*Table, error) + func (tab *Table) Close() + func (tab *Table) LookupRandom() []*enode.Node + func (tab *Table) ReadRandomNodes(buf []*enode.Node) (n int) + func (tab *Table) Resolve(n *enode.Node) *enode.Node + func (tab *Table) SeedNodes() []*enode.Node + func (tab *Table) Self() *enode.Node