devp2p / org.apache.tuweni.devp2p

Package org.apache.tuweni.devp2p

Types

DevP2PPeerRoutingTable

A Peer routing table for the Ethereum ÐΞVp2p network.

class DevP2PPeerRoutingTable : PeerRoutingTable

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

ENRRequestPacket

class ENRRequestPacket : Packet

ENRResponsePacket

class ENRResponsePacket : Packet

EphemeralPeerRepository

An in-memory peer repository.

class EphemeralPeerRepository : PeerRepository

EthereumNodeRecord

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

class EthereumNodeRecord

FindNodePacket

class FindNodePacket : Packet

NeighborsPacket

class NeighborsPacket : Packet

Node

data class Node

Packet

sealed class Packet

PacketType

enum class PacketType

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>

PingPacket

class PingPacket : Packet

PongPacket

class PongPacket : Packet

SigHash

data class SigHash

Exceptions

DecodingException

class DecodingException : Exception

Properties

DEVP2P_BUCKET_SIZE

const val DEVP2P_BUCKET_SIZE: Int

Functions

parseEnodeUri

Parse an enode URI.

fun parseEnodeUri(uri: URI): EnodeUriComponents