Package com.privatechain.core.builder
package com.privatechain.core.builder
Assembly layer — the single location where all library modules are composed.
Following the Explicit Wiring principle (design.md §1), no hidden global state,
service-locator, or classpath scanning is used. Every dependency is supplied via
BlockchainConfig.builder().
Classes in this package:
BlockchainConfig— fluent builder and single assembly point for all subsystems; produces a configuredBlockchainNode(FR-CFG-01).BlockchainNode— top-level entry point; manages the node lifecycle (start()/stop()) and exposes the primary public API (FR-CFG-01).Blockchain— chain manager responsible for block appending, integrity verification, and storage delegation (FR-CORE-04).GenesisBlockFactory— creates the deterministic genesis block whosepreviousHashis 64 hexadecimal zeros (FR-CORE-07).
- Since:
- 1.0.0
-
ClassDescriptionThe canonical chain manager — orchestrates block appending, chain validation, and event publication.Fluent builder and single assembly point for all blockchain subsystems.Fluent builder for
BlockchainConfig.Top-level entry point for the private-blockchain library.Immutable snapshot of a node's operational status (NFR-UX-04).Factory for creating the genesis block (index 0) of a new blockchain.