https://github.com/ethereum/pydevp2p
Python Implementation of the Ethereum P2P stack
https://github.com/ethereum/pydevp2p
Last synced: 5 months ago
JSON representation
Python Implementation of the Ethereum P2P stack
- Host: GitHub
- URL: https://github.com/ethereum/pydevp2p
- Owner: ethereum
- License: mit
- Fork: true (heikoheiko/pydevp2p)
- Created: 2015-04-05T05:27:20.000Z (about 10 years ago)
- Default Branch: develop
- Last Pushed: 2021-10-05T17:12:01.000Z (over 3 years ago)
- Last Synced: 2025-01-06T10:05:07.254Z (5 months ago)
- Language: Python
- Homepage:
- Size: 496 KB
- Stars: 249
- Watchers: 38
- Forks: 334
- Open Issues: 30
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
===============================
pydevp2p
===============================.. image:: https://badges.gitter.im/Join%20Chat.svg
:alt: Join the chat at https://gitter.im/ethereum/pydevp2p
:target: https://gitter.im/ethereum/pydevp2p?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge.. image:: https://badge.fury.io/py/devp2p.png
:target: https://badge.fury.io/py/devp2p.. image:: https://travis-ci.org/ethereum/pydevp2p.png?branch=master
:target: https://travis-ci.org/ethereum/pydevp2p.. image:: https://coveralls.io/repos/ethereum/pydevp2p/badge.svg
:target: https://coveralls.io/r/ethereum/pydevp2p.. image:: https://readthedocs.org/projects/pydevp2p/badge/?version=latest
:target: https://readthedocs.org/projects/pydevp2p/?badge=latestPython implementation of the Ethereum P2P stack
* Free software: BSD license
* Documentation: https://pydevp2p.readthedocs.org.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:
* `https://github.com/ethereum/wiki/wiki/ÐΞVp2p-Wire-Protocol `_
* `https://github.com/ethereum/wiki/wiki/libp2p-Whitepaper `_Full spec:
* https://github.com/ethereum/devp2p/blob/master/rlpx.md
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 queuingSecurity 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