Uses of Package
com.privatechain.core.model
Packages that use com.privatechain.core.model
Package
Description
Built-in
ConsensusEngine implementations for the
private-blockchain library.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.
Sealed event hierarchy and the asynchronous publish-subscribe event bus.
Unchecked exception hierarchy rooted at
BlockchainException.In-memory transaction pool with pluggable prioritization and TTL eviction.
Immutable domain objects — the fundamental data model of the private-blockchain library.
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).Transaction gossip and block broadcast — propagates newly submitted transactions
and mined blocks to connected peers (FR-NET-02, FR-NET-03).
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).
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).Wallet and key management — secp256k1 key pairs, transaction signing, balance
computation, and encrypted keystore serialisation (FR-WALLET-01–04).
-
Classes in com.privatechain.core.model used by com.privatechain.consensusClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.consensus.pbftClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.consensus.poaClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.consensus.powClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.consensus.roundrobinClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.core.builderClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.core.eventClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.core.exceptionClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.core.mempool
-
Classes in com.privatechain.core.model used by com.privatechain.core.modelClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Fluent builder for
Block.Lightweight, immutable record representing the header of aBlock.Fluent builder forBlockHeader.Abstract base class for all blockchain transactions. -
Classes in com.privatechain.core.model used by com.privatechain.core.spiClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.examples.springClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.network.gossipClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.network.rpcClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).Abstract base class for all blockchain transactions.
-
Classes in com.privatechain.core.model used by com.privatechain.network.syncClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
-
Classes in com.privatechain.core.model used by com.privatechain.storageClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
-
Classes in com.privatechain.core.model used by com.privatechain.storage.fsClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
-
Classes in com.privatechain.core.model used by com.privatechain.storage.leveldbClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
-
Classes in com.privatechain.core.model used by com.privatechain.storage.memoryClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
-
Classes in com.privatechain.core.model used by com.privatechain.storage.rocksdbClassDescriptionImmutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
-
Classes in com.privatechain.core.model used by com.privatechain.wallet