Skip to content

heikoheiko/pydevp2p

Repository files navigation

pydevp2p

https://badge.fury.io/py/devp2p.png https://travis-ci.org/ethereum/pydevp2p.png?branch=master https://pypip.in/d/devp2p/badge.png https://readthedocs.org/projects/pydevp2p/badge/?version=latest

Python implementation of the Ethereum P2P stack

Introduction

pydevp2p is the Python implementation of the RLPx network layer. RLPx provides a general-purpose transport and interface for applications to communicate via a p2p network. The first version is geared towards building a robust transport, well-formed network, and software interface in order to provide infrastructure which meets the requirements of distributed or decentralized applications such as Ethereum. Encryption is employed to provide better privacy and integrity than would be provided by a cleartext implementation.

RLPx underpins the DEVp2p interface:

Full spec:

Features

  • Node Discovery and Network Formation
  • Peer Preference Strategies
  • Peer Reputation
  • Multiple protocols
  • Encrypted handshake
  • Encrypted transport
  • Dynamically framed transport
  • Fair queuing

Security Overview

  • nodes have access to a uniform network topology
  • peers can uniformly connect to network
  • network robustness >= kademlia
  • protocols sharing a connection are provided uniform bandwidth
  • authenticated connectivity
  • authenticated discovery protocol
  • encrypted transport (TCP now; UDP in future)
  • robust node discovery

About

Python Implementation of the Ethereum P2P stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published