Skip to main content

Python implementation of the Ethereum P2P stack

Project description

Join the chat at https://gitter.im/ethereum/pydevp2p 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:

Dependencies

On Ubuntu:

$ sudo apt-get install libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev

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

Uploaded Source

Built Distribution

devp2p-0.7.0-py2.py3-none-any.whl (83.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for devp2p-0.7.0.tar.gz
Algorithm Hash digest
SHA256 15c21f03d42e67b0c78f67ad050dff9d46b47187ea15ff38e79044404a44dcf2
MD5 4ad0f361b68e8c504f8906eefc9e8f0e
BLAKE2b-256 3948cccc948a0e9dcce723e92d79d26da782d52723cd0e03d99ef3a9d861c5f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for devp2p-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 103de5711c66514b5990d08cbd24ac2682efe7e8c8a8c0345a30e93c8315ff16
MD5 b55355fe7c790361c75d2018e13b00f6
BLAKE2b-256 4bc67ae7ad1907bca552ad7f7849504d16b998a54cfed0b34f1ae2a540298834

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