Uses of Package
com.privatechain.core.spi

Packages that use com.privatechain.core.spi
Package
Description
Role-Based Access Control (RBAC) — assigns and enforces capability roles for each connected node address (FR-AC-02, FR-AC-03).
Practical Byzantine Fault Tolerance (PBFT) consensus engine (FR-CONS-04, NFR-REL-03).
Proof of Authority (PoA) consensus engine — accepts blocks only from a configured set of authorized signer addresses (FR-CONS-03, AC-02).
Proof of Work (PoW) consensus engine — SHA-256 hash mining with configurable difficulty (FR-CONS-02, AC-03).
Round-Robin consensus engine — deterministic slot-based block production for development and testing (FR-CONS-05).
Assembly layer — the single location where all library modules are composed.
Unchecked exception hierarchy rooted at BlockchainException.
In-memory transaction pool with pluggable prioritization and TTL eviction.
Service Provider Interfaces (SPIs) — the primary extension points of the library.
Spring Boot autoconfiguration for the private-blockchain library (FR-CFG-03, AC-10).
BlockchainStorage implementations and chain export utilities for the private-blockchain library.
File-system storage backend — persists each block as an individual JSON file in a configurable directory (FR-STOR-05).
LevelDB persistent storage backend — crash-safe block persistence via the leveldbjni native library (FR-STOR-03, NFR-REL-01).
In-memory storage backend — ephemeral, zero-dependency block storage backed by a LinkedHashMap (FR-STOR-02).
RocksDB persistent storage backend — high-throughput block persistence via the rocksdbjni native library (FR-STOR-04).