Back to Documentation

Repository Structure

Understand the organization of the DRP Blockchain codebase and where to find key components.

Codebase Overview

The DRP Blockchain repository is organized into logical modules for maintainability and scalability.

Directory Structure

src/
node.py- Main node implementation
consensus.py- Consensus mechanisms
crypto.py- Cryptographic functions
ai/- AI Elder implementations
network/- P2P networking
tests/
test_*.py- Unit and integration tests
docs/
README.md- Project documentation

Key Files

requirements.txt

Lists all Python dependencies required to run the DRP node. Install with pip install -r requirements.txt

README.md

Main project documentation including setup instructions, architecture overview, and contribution guidelines.

src/node.py

Entry point for running a DRP node. Handles initialization, peer connections, and consensus participation.

Module Descriptions

Consensus Module

Implements Proof of Status and Proof of Activity consensus mechanisms with AI verification.

Cryptography Module

Post-quantum cryptographic implementations using CRYSTALS-Kyber and CRYSTALS-Dilithium.

AI Module

AI Elder implementations for verification, fraud detection, and network optimization.

Network Module

P2P networking layer for node communication and blockchain synchronization.

Explore the Repository

View the full source code and contribute to the project on GitHub.

View on GitHub