Geth source info - GalacticExchange/gexnode GitHub Wiki
Geth entrypoint:
cmd/geth/main.go
func main()
The above runs init()
function, which runs geth()
and starts node.
Geth p2p:
Kademlia operations:
- PING in
p2p/discover/udp.go
func (t *udp) ping(toid NodeID, toaddr *net.UDPAddr)
- FIND_NODE in
p2p/discover/udp.go
func (t *udp) findnode(toid NodeID, toaddr *net.UDPAddr, target NodeID)
- STORE not implemented
- FIND_VALUE not implemented