Expand description
§bp-core — BillPouch core library
Provides all types, networking, daemon logic and control protocol for BillPouch — a P2P social distributed filesystem.
┌──────────────────────────────────────────────────────┐
│ BillPouch Network │
│ │
│ ┌────────┐ ┌────────┐ ┌────────┐ │
│ │ Pouch │◄────│ Post │────►│ Bill │ │
│ │(storage│ │(relay) │ │(I/O) │ │
│ └────────┘ └────────┘ └────────┘ │
│ gossipsub + Kademlia DHT │
└──────────────────────────────────────────────────────┘§Modules
identity— Ed25519 keypair management (login/logout)service— Service types (bill / pouch / post) and registrynetwork— libp2p swarm, gossipsub, Kademlia DHT, mDNScontrol— Unix socket control protocol (CLI ↔ daemon)daemon— Main daemon task orchestrating the aboveconfig— Configuration file pathserror— Unified error type
Re-exports§
Modules§
- coding
- Erasure coding layer — Random Linear Network Coding (RLNC) over GF(2⁸).
- config
- XDG-compliant configuration paths for BillPouch.
- control
- IPC control layer between the CLI and the daemon.
- daemon
- BillPouch daemon entry point.
- error
- Unified error type for bp-core.
- identity
- User identity: Ed25519 keypair persisted to disk.
- invite
- Signed + password-encrypted invite tokens for network access control.
- network
- P2P networking layer built on libp2p.
- service
- Service definitions for BillPouch.
- storage
- Local storage management for a Pouch service instance.