tuweni / org.apache.tuweni.devp2p

Package org.apache.tuweni.devp2p

Types

DiscoveryService

An Ethereum ÐΞVp2p discovery service.

interface DiscoveryService

Endpoint

An Ethereum node endpoint.

data class Endpoint

EnodeUriComponents

The components of an enode URI.

data class EnodeUriComponents

EphemeralPeerRepository

An in-memory peer repository.

class EphemeralPeerRepository : PeerRepository

EthereumNodeRecord

Ethereum Node Record (ENR) as described in EIP-778.

class EthereumNodeRecord

Peer

An Ethereum P2P network peer.

interface Peer

PeerRepository

A repository of peers in an Ethereum network.

interface PeerRepository

PeerRoutingTable

A routing table for ÐΞVp2p peers.

interface PeerRoutingTable : Set<Peer>

Scraper

Discovery scraper that will continue asking peers for peers, and iterate over them, until told to stop.

class Scraper : CoroutineScope

ScraperApp

Wrapper to run the scraper as an app.

object ScraperApp

Functions

parseEnodeUri

Parse an enode URI.

fun parseEnodeUri(uri: URI): EnodeUriComponents