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.2.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

devp2p-0.5.2-py2.py3-none-any.whl (70.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for devp2p-0.5.2.tar.gz
Algorithm Hash digest
SHA256 8bb18bc5bc97e7cc89c33a81624fd8fdbaae53fe4f318104644772da0e79b3e2
MD5 58b072bf99d297d32ecd40f298122976
BLAKE2b-256 862f1a69137bbe0b48c0067083e83cc1d4aca379631fcd3d5be6d973972c5dc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for devp2p-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fdec0d315c82487ecb103d326dac459ae2656024f600100a51a9384c15481fb5
MD5 01b5685e83152a81d831b1074b7e7642
BLAKE2b-256 2701cf686544b27cd7d3dd96a8c743390044fd4af42ee42cdb151f4bd50b0ad3

See more details on using hashes here.

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