Uses of Package
com.privatechain.core.builder

Package
Description
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.
In-memory transaction pool with pluggable prioritization and TTL eviction.
Service Provider Interfaces (SPIs) — the primary extension points of the library.
Spring Boot REST demo — exposes a running BlockchainNode as an HTTP API using Spring Boot 4.x autoconfiguration (T-075, AC-10).
Netty TCP server, client, and NDJSON message codec — the transport layer of the P2P networking stack (FR-NET-01, ADR-001).
Chain synchronization and fork resolution — brings a node's local chain up to date with the network on startup and after a network partition (FR-NET-04, FR-NET-05).
Spring Boot autoconfiguration for the private-blockchain library (FR-CFG-03, AC-10).
BlockchainStorage implementations and chain export utilities for the private-blockchain library.
Wallet and key management — secp256k1 key pairs, transaction signing, balance computation, and encrypted keystore serialisation (FR-WALLET-01–04).