update docs

This commit is contained in:
2026-02-11 15:27:57 -03:00
parent b5f4be0ade
commit b8857d9548
9 changed files with 270 additions and 244 deletions

View File

@@ -1,6 +1,6 @@
# User Guide
Comprehensive guide for using the P2P file sharing library. This guide covers tutorials, best practices, and real-world usage patterns.
Comprehensive guide for using the zig-p2p networking library. This guide covers tutorials, best practices, and real-world usage patterns.
## Table of Contents
@@ -20,7 +20,7 @@ Comprehensive guide for using the P2P file sharing library. This guide covers tu
### Installation and Setup
1. **Install Zig**: Ensure you have Zig 0.11.0 or later
1. **Install Zig**: Ensure you have Zig 0.15.0 or later
```bash
# macOS (using Homebrew)
brew install zig
@@ -34,8 +34,8 @@ Comprehensive guide for using the P2P file sharing library. This guide covers tu
2. **Clone the repository**:
```bash
git clone https://github.com/your-username/p2p-library.git
cd p2p-library
git clone https://github.com/mdtanrikulu/zig-p2p.git
cd zig-p2p
```
3. **Build the library**:
@@ -1084,4 +1084,4 @@ In these cases, use `--public-ip` with a known reachable address, or set up a re
---
This guide provides comprehensive coverage of the P2P library usage. For API reference, see [API.md](API.md). For architecture details, see [ARCHITECTURE.md](ARCHITECTURE.md).
This guide provides comprehensive coverage of the P2P library usage. For API reference, see [API.md](API.md). For architecture details, see [ARCHITECTURE.md](ARCHITECTURE.md).

View File

@@ -198,7 +198,7 @@ pub const Node = struct {
- Signature verification
#### Encryption (`encryption.zig`)
- AES-256-GCM for symmetric encryption
- ChaCha20-Poly1305 AEAD for symmetric encryption
- Key derivation functions
- Nonce management
- Authenticated encryption
@@ -819,7 +819,7 @@ pub const SecurityConfig = struct {
"enable_signatures": true,
"key_rotation_interval": 86400,
"max_key_age": 2592000,
"allowed_cipher_suites": ["AES-256-GCM"]
"allowed_cipher_suites": ["ChaCha20-Poly1305"]
},
"storage": {
"data_directory": "./p2p_data",

View File

@@ -1,7 +1,7 @@
# Mutual Witness Protocol (MWP)
**Version:** 1.0.0
**Status:** Prototype
**Status:** Implemented
**Created:** February 2026
---

View File

@@ -1,7 +1,7 @@
# Mutual Witness Protocol Specification
**Version:** 1.0.0
**Status:** Draft
**Status:** Implemented
**Created:** February 2026
---

Binary file not shown.