Skip to main content

Python implementation of the Ethereum P2P stack

Project description

https://badge.fury.io/py/devp2p.png https://travis-ci.org/ethereum/pydevp2p.png?branch=master https://coveralls.io/repos/ethereum/pydevp2p/badge.svg 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

History

0.0.1 (2014-01-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devp2p-0.5.0.tar.gz (67.6 kB view details)

Uploaded Source

Built Distribution

devp2p-0.5.0-py2.py3-none-any.whl (70.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file devp2p-0.5.0.tar.gz.

File metadata

  • Download URL: devp2p-0.5.0.tar.gz
  • Upload date:
  • Size: 67.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for devp2p-0.5.0.tar.gz
Algorithm Hash digest
SHA256 cf43c5111b57d46e04d3f9f333912e2321c3748329445b49ae939f85de5d22f6
MD5 bc36f1e8cf8c227b9a379da8baf5ffc3
BLAKE2b-256 76358a25db9c03c633a205ae3539b2736639907e26dc69d753913bbc21941272

See more details on using hashes here.

Provenance

File details

Details for the file devp2p-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for devp2p-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69512f213e039643f11a15fbb4d730e478baf84dfe26b40bfb51f4649f716fd8
MD5 788b6af1e86fbdfbcf0b8c3b87a3a820
BLAKE2b-256 3cb834e12ec0f3727ca2baf6f3c6e6862c294199546b2d072fd934b7d733b998

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page