rlpx

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Implements the RLPx protocol. Code is based off the devp2p spec defined here: https://github.com/ethereum/devp2p/blob/master/rlpx.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initiator

func Initiator(l *secp256k1.PrivateKey, r *secp256k1.PublicKey) *handshake

func Recipient

func Recipient(l *secp256k1.PrivateKey) *handshake

func Session

func Session(l *enr.Record, hs *handshake) (*session, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL