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).-
Classes in com.privatechain.core.spi used by com.privatechain.access.rbac
-
Classes in com.privatechain.core.spi used by com.privatechain.consensus.pbftClassDescriptionService Provider Interface (SPI) for pluggable consensus algorithms.
-
Classes in com.privatechain.core.spi used by com.privatechain.consensus.poaClassDescriptionService Provider Interface (SPI) for pluggable consensus algorithms.
-
Classes in com.privatechain.core.spi used by com.privatechain.consensus.powClassDescriptionService Provider Interface (SPI) for pluggable consensus algorithms.
-
Classes in com.privatechain.core.spi used by com.privatechain.consensus.roundrobinClassDescriptionService Provider Interface (SPI) for pluggable consensus algorithms.
-
Classes in com.privatechain.core.spi used by com.privatechain.core.builderClassDescriptionService Provider Interface (SPI) for persistent block storage.Service Provider Interface (SPI) for pluggable consensus algorithms.Service Provider Interface (SPI) for ordering transactions in the mempool.Service Provider Interface (SPI) for pluggable transaction validation logic.
-
Classes in com.privatechain.core.spi used by com.privatechain.core.exceptionClassDescriptionImmutable result returned by
TransactionValidator.validate(com.privatechain.core.model.Transaction, com.privatechain.core.builder.Blockchain). -
Classes in com.privatechain.core.spi used by com.privatechain.core.mempoolClassDescriptionService Provider Interface (SPI) for ordering transactions in the mempool.Service Provider Interface (SPI) for pluggable transaction validation logic.
-
Classes in com.privatechain.core.spi used by com.privatechain.core.spiClassDescriptionImmutable result returned by
TransactionValidator.validate(com.privatechain.core.model.Transaction, com.privatechain.core.builder.Blockchain).Classification of a transaction validation outcome. -
Classes in com.privatechain.core.spi used by com.privatechain.springClassDescriptionService Provider Interface (SPI) for pluggable consensus algorithms.
-
Classes in com.privatechain.core.spi used by com.privatechain.storage
-
Classes in com.privatechain.core.spi used by com.privatechain.storage.fs
-
Classes in com.privatechain.core.spi used by com.privatechain.storage.leveldb
-
Classes in com.privatechain.core.spi used by com.privatechain.storage.memory
-
Classes in com.privatechain.core.spi used by com.privatechain.storage.rocksdb