Skip to content

sadikhovemin/p2p-kademlia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kademlia DHT

Description

This project for the Peer-to-Peer-Systems and Security (IN2194) [TUM] is a Distributed Hash Table (DHT) implementing the Kademlia protocol. It provides a secure and efficient way to perform DHT operations. Written in Python and leveraging the Asyncio library, the system supports multi-client connections and offers robust exception handling.

Features

  • Implements the Kademlia protocol
  • Supports DHT operations
  • Multi-client connections
  • Robust exception handling

Prerequisites

Ensure that you have the following installed on your system:

Installation

Open your terminal and run the following command:

git clone https://github.com/SadikhovEmin/p2p-kademlia.git

Navigate to the project directory:

cd project-name

Install the required packages:

poetry install

Open shell:

poetry shell

Usage Run the bootstrap:

python main.py -a 127.0.0.1 -p 7401

Run the peer:

python main.py -a 127.0.0.1 -p 7402 --bootstrap

Tests

To run the test suite, execute:

pytest test/

License

This project is licensed under the MIT License. See the LICENSE file for details.


For more details, please refer to the project's documentation.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages