Index

A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accepted() - Static method in class com.privatechain.core.mempool.MempoolSubmissionResult
Creates a result indicating the transaction was accepted into the mempool.
Activation - Search tag in class com.privatechain.spring.BlockchainAutoConfiguration
Section
Actuator integration - Search tag in class com.privatechain.spring.BlockchainAutoConfiguration
Section
add(String) - Method in class com.privatechain.access.allowlist.AllowlistManager
Adds a node ID to the allowlist.
addBlock(Block) - Method in class com.privatechain.core.builder.Blockchain
Appends a new block to the chain after performing all validation checks.
addFromInvitation(String) - Method in class com.privatechain.access.allowlist.AllowlistManager
Verifies an invitation token and adds the requested node to the allowlist.
Address derivation - Search tag in class com.privatechain.wallet.Wallet
Section
AddressUtil - Class in com.privatechain.crypto
Utility class for deriving a blockchain address from an EC public key.
Algorithm - Search tag in class com.privatechain.network.sync.SyncManager
Section
AllowlistManager - Class in com.privatechain.access.allowlist
Manages the allowlist of permitted node identifiers in a private blockchain network.
AllowlistManager() - Constructor for class com.privatechain.access.allowlist.AllowlistManager
Constructs an empty AllowlistManager.
AllowlistManager(Collection<String>) - Constructor for class com.privatechain.access.allowlist.AllowlistManager
Constructs an AllowlistManager pre-populated with initial node IDs.
AllowlistStore - Interface in com.privatechain.access.allowlist
Interface for persisting the allowlist across restarts.
amount() - Method in record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Returns the value of the amount record component.
assignRole(String, NodeRole) - Method in class com.privatechain.access.rbac.PermissionManager
Assigns a role to a node identified by its node ID.
Autoconfigured beans (from blockchain-spring) - Search tag in class com.privatechain.examples.spring.SpringChainApp
Section
Available endpoints - Search tag in class com.privatechain.examples.spring.SpringChainApp
Section
awaitQuiescence() - Method in class com.privatechain.core.event.BlockchainEventBus
Blocks the caller until all pending events are delivered, using a 2000L ms default timeout.
awaitQuiescence(long, TimeUnit) - Method in class com.privatechain.core.event.BlockchainEventBus
Blocks the caller until all events published before this call have been delivered, or until the timeout elapses.

B

BATCH_SIZE - Static variable in class com.privatechain.network.sync.BlockFetcher
Maximum number of blocks requested in a single GET_BLOCKS message.
Batch size - Search tag in class com.privatechain.network.sync.BlockFetcher
Section
bits() - Method in record class com.privatechain.core.model.BlockHeader
Returns the value of the bits record component.
bits(int) - Method in class com.privatechain.core.model.BlockHeader.Builder
Sets the compact difficulty target (PoW).
Block - Class in com.privatechain.core.model
Immutable unit of the blockchain containing a list of transactions and a cryptographic link to the previous block (FR-CORE-01).
Block(int, BlockHeader, String, String, List<Transaction>, String) - Constructor for class com.privatechain.core.model.Block
Constructs a fully formed, immutable block.
BLOCK - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
A fully formed block to be added to the chain.
Block.Builder - Class in com.privatechain.core.model
Fluent builder for Block.
BlockAddedEvent(Block) - Constructor for class com.privatechain.core.event.BlockchainEvent.BlockAddedEvent
Constructs a BlockAddedEvent.
BlockBroadcaster - Class in com.privatechain.network.gossip
Propagates newly mined or locally accepted blocks to all connected peers.
BlockBroadcaster(String, PeerManager, NodeClient, MessageCodec) - Constructor for class com.privatechain.network.gossip.BlockBroadcaster
Constructs a BlockBroadcaster.
Blockchain - Class in com.privatechain.core.builder
The canonical chain manager — orchestrates block appending, chain validation, and event publication.
Blockchain(ConsensusEngine, BlockchainStorage, BlockchainEventBus) - Constructor for class com.privatechain.core.builder.Blockchain
Constructs a Blockchain with the given dependencies.
BlockchainAutoConfiguration - Class in com.privatechain.spring
Spring Boot autoconfiguration for the private-blockchain library.
BlockchainAutoConfiguration() - Constructor for class com.privatechain.spring.BlockchainAutoConfiguration
 
BlockchainConfig - Class in com.privatechain.core.builder
Fluent builder and single assembly point for all blockchain subsystems.
BlockchainConfig.Builder - Class in com.privatechain.core.builder
Fluent builder for BlockchainConfig.
BlockchainEvent - Class in com.privatechain.core.event
Sealed base type for all events published on the BlockchainEventBus.
BlockchainEvent() - Constructor for class com.privatechain.core.event.BlockchainEvent
Protected constructor for subclasses; sets occurredAt to the current time.
BlockchainEvent.BlockAddedEvent - Class in com.privatechain.core.event
Fired after a new block is successfully appended to the canonical chain.
BlockchainEvent.ForkDetectedEvent - Class in com.privatechain.core.event
Fired when the node detects two competing valid blocks at the same chain height.
BlockchainEvent.PeerConnectedEvent - Class in com.privatechain.core.event
Fired when a new peer successfully establishes a TCP connection to this node.
BlockchainEvent.PeerDisconnectedEvent - Class in com.privatechain.core.event
Fired when a peer connection is closed, either gracefully or due to an error.
BlockchainEvent.TransactionSubmittedEvent - Class in com.privatechain.core.event
Fired after a transaction successfully passes validation and enters the mempool.
BlockchainEventBus - Class in com.privatechain.core.event
Thread-safe, asynchronous publish/subscribe event bus for blockchain lifecycle events.
BlockchainEventBus() - Constructor for class com.privatechain.core.event.BlockchainEventBus
 
BlockchainEventListener - Interface in com.privatechain.core.event
Listener interface for receiving events from the BlockchainEventBus.
BlockchainException - Exception Class in com.privatechain.core.exception
Root unchecked exception for all errors thrown by the private-blockchain library.
BlockchainException(String) - Constructor for exception class com.privatechain.core.exception.BlockchainException
Constructs a BlockchainException with a detail message.
BlockchainException(String, Throwable) - Constructor for exception class com.privatechain.core.exception.BlockchainException
Constructs a BlockchainException with a detail message and cause.
blockchainHealthIndicator(BlockchainNode) - Method in class com.privatechain.spring.BlockchainAutoConfiguration
Creates the BlockchainHealthIndicator status bean.
BlockchainHealthIndicator - Class in com.privatechain.spring
Provides blockchain health and status details as a plain Spring bean.
BlockchainHealthIndicator(BlockchainNode) - Constructor for class com.privatechain.spring.BlockchainHealthIndicator
Creates a health indicator wrapping the given blockchain node.
blockchainNode() - Method in class com.privatechain.examples.spring.SpringChainApp
Creates, configures, and starts the BlockchainNode as a Spring bean.
blockchainNode(BlockchainProperties, ObjectProvider<ConsensusEngine>, ObjectProvider<BlockchainStorage>, ObjectProvider<TransactionValidator>, ObjectProvider<BlockchainEventListener>) - Method in class com.privatechain.spring.BlockchainAutoConfiguration
Creates and wires the BlockchainNode bean from bound properties and any user-provided override beans (T-070, T-072).
BlockchainNode - Class in com.privatechain.core.builder
Top-level entry point for the private-blockchain library.
BlockchainNode(BlockchainConfig) - Constructor for class com.privatechain.core.builder.BlockchainNode
Constructs a BlockchainNode from the given configuration.
BlockchainNode.NodeStatus - Record Class in com.privatechain.core.builder
Immutable snapshot of a node's operational status (NFR-UX-04).
BlockchainProperties - Class in com.privatechain.spring
Configuration properties for the private-blockchain Spring Boot autoconfiguration.
BlockchainProperties() - Constructor for class com.privatechain.spring.BlockchainProperties
 
BlockchainProperties.Mempool - Class in com.privatechain.spring
Mempool configuration properties, bound to blockchain.mempool.*.
BlockchainRestController - Class in com.privatechain.examples.spring
REST controller exposing the blockchain node as a set of HTTP endpoints.
BlockchainRestController(BlockchainNode, Wallet) - Constructor for class com.privatechain.examples.spring.BlockchainRestController
Constructs the controller via Spring constructor injection.
BlockchainRestController.PaymentTransaction - Class in com.privatechain.examples.spring
Simple payment transaction used by the REST demo.
BlockchainRestController.TransactionRequest - Record Class in com.privatechain.examples.spring
BlockchainStorage - Interface in com.privatechain.core.spi
Service Provider Interface (SPI) for persistent block storage.
BlockFetcher - Class in com.privatechain.network.sync
Fetches missing blocks from a specific remote peer during chain synchronization.
BlockFetcher(String, NodeClient, MessageCodec) - Constructor for class com.privatechain.network.sync.BlockFetcher
Constructs a BlockFetcher.
BlockHeader - Record Class in com.privatechain.core.model
Lightweight, immutable record representing the header of a Block.
BlockHeader(int, int, long, String, Instant) - Constructor for record class com.privatechain.core.model.BlockHeader
Canonical constructor with validation.
BlockHeader.Builder - Class in com.privatechain.core.model
Fluent builder for BlockHeader.
blockMessage(String, Block) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a BLOCK message carrying the given block.
BlockSerializer - Class in com.privatechain.storage
Shared Jackson-based JSON serializer / deserializer for Block objects.
blockTimeSeconds(int) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the target block time in seconds.
BlockValidationException - Exception Class in com.privatechain.core.exception
Thrown when a Block fails validation during Blockchain.addBlock().
BlockValidationException(String, Block) - Constructor for exception class com.privatechain.core.exception.BlockValidationException
Constructs an exception with a detail message and the offending block.
BlockValidationException(String, Throwable, Block) - Constructor for exception class com.privatechain.core.exception.BlockValidationException
Constructs an exception with a detail message, cause, and the offending block.
broadcast(Block) - Method in class com.privatechain.network.gossip.BlockBroadcaster
Fans out the given block to all currently connected peers.
build() - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Builds the configuration and returns a ready-to-start BlockchainNode.
build() - Method in class com.privatechain.core.model.Block.Builder
Builds and returns an immutable Block.
build() - Method in class com.privatechain.core.model.BlockHeader.Builder
Builds and returns the BlockHeader.
build() - Method in class com.privatechain.network.peer.Peer.Builder
Builds and returns a Peer.
buildBlock(Block, List<Transaction>, int, long, String, Instant) - Static method in class com.privatechain.consensus.ConsensusSupport
Builds a canonical block from consensus-specific inputs.
buildConfig() - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Builds and returns the raw BlockchainConfig without wrapping it in a node.
builder() - Static method in class com.privatechain.core.builder.BlockchainConfig
Returns a new, pre-populated BlockchainConfig.Builder with production-ready defaults.
builder() - Static method in class com.privatechain.core.model.Block
Returns a new, empty Block.Builder.
builder() - Static method in record class com.privatechain.core.model.BlockHeader
Returns a new BlockHeader.Builder pre-populated with sensible defaults.
builder() - Static method in class com.privatechain.network.peer.Peer
Returns a new Peer.Builder for constructing a Peer.
buildRoot(List<String>) - Static method in class com.privatechain.crypto.MerkleTree
Builds the Merkle root of an ordered list of transaction IDs.
Built-in implementations (in blockchain-core) - Search tag in interface com.privatechain.core.spi.TransactionValidator
Section

C

canRead() - Method in enum class com.privatechain.access.rbac.NodeRole
Returns true if this role is permitted to read chain data.
canSubmitBlock() - Method in enum class com.privatechain.access.rbac.NodeRole
Returns true if this role is permitted to submit blocks.
canSubmitTransaction() - Method in enum class com.privatechain.access.rbac.NodeRole
Returns true if this role is permitted to submit transactions.
canValidateBlock() - Method in enum class com.privatechain.access.rbac.NodeRole
Returns true if this role is permitted to validate blocks.
ChainExporter - Class in com.privatechain.storage
Utility class for exporting and importing a full blockchain in JSON and CSV formats.
chainHeight() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns the value of the chainHeight record component.
chainHeight() - Method in interface com.privatechain.core.spi.BlockchainStorage
Returns the current number of stored blocks (i.e., the latest block index + 1).
chainHeight() - Method in class com.privatechain.storage.fs.FileSystemStorage
Returns the number of block JSON files present in the data directory.
chainHeight() - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Returns the number of stored blocks by counting block-keyed entries.
chainHeight() - Method in class com.privatechain.storage.memory.InMemoryStorage
Returns the number of blocks currently in the store.
chainHeight() - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Returns the number of stored blocks by counting block-keyed entries.
chainId(String) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the stable chain identifier embedded in the genesis block.
Chain integrity - Search tag in class com.privatechain.core.builder.Blockchain
Section
ChainSyncer - Interface in com.privatechain.core.network
Interface for the initial chain synchronization component.
clear() - Method in class com.privatechain.access.allowlist.AllowlistManager
Clears the allowlist, removing all node IDs.
clear() - Method in class com.privatechain.core.mempool.TransactionMempool
Removes all transactions from the pool.
clear() - Method in class com.privatechain.network.peer.PeerStore
Removes all peers from the store.
clear() - Method in class com.privatechain.wallet.WalletManager
Clears all wallets from this manager.
close() - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Closes the LevelDB database and releases the file lock.
close() - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Closes the RocksDB database and releases all native resources.
com.privatechain.access - package com.privatechain.access
Private-network access control — allowlist enforcement, role-based permissions, and invitation-token issuance for the private-blockchain library.
com.privatechain.access.allowlist - package com.privatechain.access.allowlist
Allowlist enforcement — gates every inbound network message against a persisted set of permitted node identifiers (FR-AC-01).
com.privatechain.access.invite - package com.privatechain.access.invite
Invitation-token issuance and verification for new-node onboarding (FR-AC-04, FR-AC-05).
com.privatechain.access.rbac - package com.privatechain.access.rbac
Role-Based Access Control (RBAC) — assigns and enforces capability roles for each connected node address (FR-AC-02, FR-AC-03).
com.privatechain.consensus - package com.privatechain.consensus
Built-in ConsensusEngine implementations for the private-blockchain library.
com.privatechain.consensus.pbft - package com.privatechain.consensus.pbft
Practical Byzantine Fault Tolerance (PBFT) consensus engine (FR-CONS-04, NFR-REL-03).
com.privatechain.consensus.poa - package com.privatechain.consensus.poa
Proof of Authority (PoA) consensus engine — accepts blocks only from a configured set of authorized signer addresses (FR-CONS-03, AC-02).
com.privatechain.consensus.pow - package com.privatechain.consensus.pow
Proof of Work (PoW) consensus engine — SHA-256 hash mining with configurable difficulty (FR-CONS-02, AC-03).
com.privatechain.consensus.roundrobin - package com.privatechain.consensus.roundrobin
Round-Robin consensus engine — deterministic slot-based block production for development and testing (FR-CONS-05).
com.privatechain.core - package com.privatechain.core
Top-level package for the private-blockchain core library.
com.privatechain.core.builder - package com.privatechain.core.builder
Assembly layer — the single location where all library modules are composed.
com.privatechain.core.event - package com.privatechain.core.event
Sealed event hierarchy and the asynchronous publish-subscribe event bus.
com.privatechain.core.exception - package com.privatechain.core.exception
Unchecked exception hierarchy rooted at BlockchainException.
com.privatechain.core.mempool - package com.privatechain.core.mempool
In-memory transaction pool with pluggable prioritization and TTL eviction.
com.privatechain.core.model - package com.privatechain.core.model
Immutable domain objects — the fundamental data model of the private-blockchain library.
com.privatechain.core.network - package com.privatechain.core.network
Lifecycle interfaces for network subsystems, injected by blockchain-network.
com.privatechain.core.spi - package com.privatechain.core.spi
Service Provider Interfaces (SPIs) — the primary extension points of the library.
com.privatechain.crypto - package com.privatechain.crypto
Cryptographic primitives for the private-blockchain library — hashing, ECDSA signing, key-pair generation, address derivation, and Merkle trees.
com.privatechain.examples.spring - package com.privatechain.examples.spring
Spring Boot REST demo — exposes a running BlockchainNode as an HTTP API using Spring Boot 4.x autoconfiguration (T-075, AC-10).
com.privatechain.network - package com.privatechain.network
Peer-to-peer networking layer for the private-blockchain library — built on Netty 4.2 TCP with NDJSON message framing (ADR-001).
com.privatechain.network.gossip - package com.privatechain.network.gossip
Transaction gossip and block broadcast — propagates newly submitted transactions and mined blocks to connected peers (FR-NET-02, FR-NET-03).
com.privatechain.network.peer - package com.privatechain.network.peer
Peer lifecycle management — maintains the list of connected peers, runs heartbeat checks, and prunes unresponsive connections (FR-NET-01, FR-NET-07).
com.privatechain.network.rpc - package com.privatechain.network.rpc
Netty TCP server, client, and NDJSON message codec — the transport layer of the P2P networking stack (FR-NET-01, ADR-001).
com.privatechain.network.sync - package com.privatechain.network.sync
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).
com.privatechain.spring - package com.privatechain.spring
Spring Boot autoconfiguration for the private-blockchain library (FR-CFG-03, AC-10).
com.privatechain.storage - package com.privatechain.storage
BlockchainStorage implementations and chain export utilities for the private-blockchain library.
com.privatechain.storage.fs - package com.privatechain.storage.fs
File-system storage backend — persists each block as an individual JSON file in a configurable directory (FR-STOR-05).
com.privatechain.storage.leveldb - package com.privatechain.storage.leveldb
LevelDB persistent storage backend — crash-safe block persistence via the leveldbjni native library (FR-STOR-03, NFR-REL-01).
com.privatechain.storage.memory - package com.privatechain.storage.memory
In-memory storage backend — ephemeral, zero-dependency block storage backed by a LinkedHashMap (FR-STOR-02).
com.privatechain.storage.rocksdb - package com.privatechain.storage.rocksdb
RocksDB persistent storage backend — high-throughput block persistence via the rocksdbjni native library (FR-STOR-04).
com.privatechain.wallet - package com.privatechain.wallet
Wallet and key management — secp256k1 key pairs, transaction signing, balance computation, and encrypted keystore serialisation (FR-WALLET-01–04).
compare(Transaction, Transaction) - Method in class com.privatechain.core.mempool.FeeBasedPrioritizer
Compares two transactions by fee in descending order.
compare(Transaction, Transaction) - Method in class com.privatechain.core.mempool.TimestampBasedPrioritizer
Compares two transactions by their submission timestamps.
compare(Transaction, Transaction) - Method in interface com.privatechain.core.spi.TransactionPrioritizer
Compares two transactions to determine their relative priority.
computeFanOut(int) - Static method in class com.privatechain.network.gossip.GossipProtocol
Computes ⌈log₂(n)⌉ — the gossip fan-out for n eligible peers.
computeHash(int, String, BlockHeader) - Static method in class com.privatechain.core.model.Block
Backwards-compatible overload that omits minerAddress.
computeHash(int, String, BlockHeader, String) - Static method in class com.privatechain.core.model.Block
Computes the SHA-256 hash of a block from its constituent fields.
connect(Peer) - Method in class com.privatechain.network.peer.PeerManager
Registers a peer as connected and publishes a BlockchainEvent.PeerConnectedEvent (T-066).
Connection model - Search tag in class com.privatechain.network.rpc.NodeClient
Section
consensusEngine() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns the value of the consensusEngine record component.
consensusEngine(ConsensusEngine) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the consensus engine.
ConsensusEngine - Interface in com.privatechain.core.spi
Service Provider Interface (SPI) for pluggable consensus algorithms.
ConsensusException - Exception Class in com.privatechain.core.exception
Thrown when a ConsensusEngine encounters an unrecoverable error during block production or validation.
ConsensusException(String) - Constructor for exception class com.privatechain.core.exception.ConsensusException
Constructs a ConsensusException with a detail message.
ConsensusException(String, Throwable) - Constructor for exception class com.privatechain.core.exception.ConsensusException
Constructs a ConsensusException with a detail message and cause.
ConsensusSupport - Class in com.privatechain.consensus
Shared helper methods for built-in consensus engines.
contains(String) - Method in class com.privatechain.network.peer.PeerStore
Returns true if the store contains a peer with the given node ID.
contains(UUID) - Method in class com.privatechain.core.mempool.TransactionMempool
Returns true if the pool contains a transaction with the given ID.
Contract - Search tag in interface com.privatechain.core.spi.BlockchainStorage
Section
copyAndValidate(Collection<String>, String, boolean) - Static method in class com.privatechain.consensus.ConsensusSupport
Returns a validated, defensive copy of the supplied string values.
create(String) - Static method in class com.privatechain.core.builder.GenesisBlockFactory
Creates a deterministic genesis block for the given chain identifier.
create(String, long, byte[]) - Static method in class com.privatechain.access.invite.InvitationToken
Creates a new invitation token with the given parameters.
createDefault() - Static method in class com.privatechain.core.builder.GenesisBlockFactory
Creates a genesis block with the default chain ID "private-blockchain".
createWallet() - Method in class com.privatechain.wallet.WalletManager
Creates a new wallet with a randomly generated key pair.
cumulativeDifficulty(List<Block>) - Method in class com.privatechain.network.sync.ForkResolver
Computes the cumulative difficulty of a chain as the sum of all block bits values.
currency() - Method in record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Returns the value of the currency record component.
CUSTOM_REJECTION - Enum constant in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
A custom validator rejected the transaction for a business-logic reason.

D

decode(byte[]) - Method in class com.privatechain.network.rpc.MessageCodec
Decodes a UTF-8 JSON byte array into a MessageCodec.NetworkMessage.
decodeFromString(String) - Method in class com.privatechain.network.rpc.MessageCodec
Decodes a JSON string into a MessageCodec.NetworkMessage.
Deduplication - Search tag in class com.privatechain.network.gossip.BlockBroadcaster
Section
DEFAULT_DIFFICULTY - Static variable in class com.privatechain.consensus.pow.ProofOfWorkEngine
Default difficulty in leading zero bits.
deleteAll() - Method in interface com.privatechain.core.spi.BlockchainStorage
Removes all stored blocks from the storage medium.
deleteAll() - Method in class com.privatechain.storage.fs.FileSystemStorage
Deletes all block JSON files from the data directory.
deleteAll() - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Removes all block entries from the LevelDB store.
deleteAll() - Method in class com.privatechain.storage.memory.InMemoryStorage
Removes all blocks from the in-memory store.
deleteAll() - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Removes all block entries from the RocksDB store.
Delivery guarantees - Search tag in class com.privatechain.core.event.BlockchainEventBus
Section
Demo-specific beans (defined here) - Search tag in class com.privatechain.examples.spring.SpringChainApp
Section
demoWallet() - Method in class com.privatechain.examples.spring.SpringChainApp
Provides a freshly generated demo wallet for signing REST-submitted transactions.
Dependency resolution order - Search tag in com.privatechain.spring.BlockchainAutoConfiguration.blockchainNode(BlockchainProperties, ObjectProvider<ConsensusEngine>, ObjectProvider<BlockchainStorage>, ObjectProvider<TransactionValidator>, ObjectProvider<BlockchainEventListener>)
Section
deriveAddress(byte[], byte) - Static method in class com.privatechain.crypto.AddressUtil
Derives a Base58Check-encoded address from raw public-key bytes with a custom version byte.
deriveAddress(PublicKey) - Static method in class com.privatechain.crypto.AddressUtil
Derives a Base58Check-encoded blockchain address from a secp256k1 public key.
Design note - Search tag in class com.privatechain.network.peer.PeerManager
Section
difficulty(int) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the PoW difficulty (number of leading zero bits).
Direct gossip API - Search tag in class com.privatechain.network.gossip.GossipProtocol
Section
disconnect(String, String) - Method in class com.privatechain.network.peer.PeerManager
Marks a peer as disconnected and publishes a BlockchainEvent.PeerDisconnectedEvent (T-066).
disconnectAll(String) - Method in class com.privatechain.network.peer.PeerManager
Disconnects all currently connected peers with the given reason.
doubleSha256(byte[]) - Static method in class com.privatechain.crypto.HashUtil
Computes SHA-256(SHA-256(data)) on a byte array.
doubleSha256(String) - Static method in class com.privatechain.crypto.HashUtil
Computes SHA-256(SHA-256(input)) on a UTF-8–encoded string.
DUPLICATE - Enum constant in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
A transaction with the same ID already exists in the chain or mempool.

E

ECDSASignatureUtil - Class in com.privatechain.crypto
Utility class for ECDSA signing and signature verification using the secp256k1 elliptic curve and the SHA-256withECDSA algorithm.
ECKeyPair - Class in com.privatechain.crypto
Immutable record holding an elliptic-curve key pair generated on the secp256k1 curve.
EMPTY_MERKLE_ROOT - Static variable in record class com.privatechain.core.model.BlockHeader
Sentinel Merkle root used when a block contains no transactions.
EMPTY_ROOT - Static variable in class com.privatechain.crypto.MerkleTree
Canonical root returned when the transaction list is empty.
encode(MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.MessageCodec
Encodes a MessageCodec.NetworkMessage to a UTF-8 JSON byte array.
encodeToString(MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.MessageCodec
Encodes a MessageCodec.NetworkMessage to a UTF-8 JSON string.
Endpoints - Search tag in class com.privatechain.examples.spring.BlockchainRestController
Section
engineName() - Method in class com.privatechain.consensus.pbft.PBFTEngine
Returns the stable name used to identify this engine in logs and status output.
engineName() - Method in class com.privatechain.consensus.poa.ProofOfAuthorityEngine
Returns the stable name used to identify this engine in logs and status output.
engineName() - Method in class com.privatechain.consensus.pow.ProofOfWorkEngine
Returns the stable name used to identify this engine in logs and status output.
engineName() - Method in class com.privatechain.consensus.roundrobin.RoundRobinEngine
Returns the stable name used to identify this engine in logs and status output.
engineName() - Method in interface com.privatechain.core.spi.ConsensusEngine
Returns a human-readable name identifying this consensus engine.
equals(Object) - Method in class com.privatechain.access.invite.InvitationToken
equals(Object) - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.privatechain.core.mempool.MempoolSubmissionResult
Two results are equal if they have the same acceptance status and rejection reasons.
equals(Object) - Method in class com.privatechain.core.model.Block
Two blocks are equal if and only if their hashes are equal.
equals(Object) - Method in record class com.privatechain.core.model.BlockHeader
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.privatechain.core.model.Transaction
Two transactions are equal if and only if their IDs are equal.
equals(Object) - Method in class com.privatechain.core.spi.ValidationResult
equals(Object) - Method in class com.privatechain.crypto.ECKeyPair
equals(Object) - Method in record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.privatechain.network.peer.Peer
Two peers are equal if and only if their nodeIds are equal.
equals(Object) - Method in class com.privatechain.wallet.Wallet
Two wallets are equal if they derive the same address.
eventBus(BlockchainEventBus) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Replaces the default event bus with a custom instance.
eventListener(BlockchainEventListener) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Registers an event listener that will receive all blockchain events.
Event variants - Search tag in class com.privatechain.core.event.BlockchainEvent
Section
evictExpired(Duration) - Method in class com.privatechain.core.mempool.TransactionMempool
Evicts transactions older than the given TTL (FR-MEMPOOL-04).
exists(String) - Method in interface com.privatechain.core.spi.BlockchainStorage
Returns true if a block with the given hash is stored.
exists(String) - Method in class com.privatechain.storage.fs.FileSystemStorage
Returns true if a block with the given hash is stored.
exists(String) - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Returns true if a block with the given hash exists.
exists(String) - Method in class com.privatechain.storage.memory.InMemoryStorage
Returns true if a block with the given hash is present in the store.
exists(String) - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Returns true if a block with the given hash is stored.
exportKeystore(Wallet, String) - Method in class com.privatechain.wallet.WalletManager
Exports a wallet to an encrypted keystore JSON string.
extractBlock(MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.MessageCodec
Extracts and deserializes a Block from the payload of a BLOCK message.
extractChainHeight(MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.MessageCodec
Extracts the chain height from the payload of a STATUS message.
extractTransaction(MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.MessageCodec
Extracts and deserializes a Transaction from the payload of a TRANSACTION message.

F

failure(ValidationResult.ValidationStatus, String) - Static method in class com.privatechain.core.spi.ValidationResult
Creates a failed result with a single error message.
failure(ValidationResult.ValidationStatus, List<String>) - Static method in class com.privatechain.core.spi.ValidationResult
Creates a failed result with multiple error messages.
Fan-out size - Search tag in class com.privatechain.network.gossip.GossipProtocol
Section
Fan-out strategy - Search tag in class com.privatechain.network.gossip.BlockBroadcaster
Section
FEE_METADATA_KEY - Static variable in class com.privatechain.core.mempool.FeeBasedPrioritizer
Metadata key used to extract the transaction fee.
FeeBasedPrioritizer - Class in com.privatechain.core.mempool
Orders transactions by fee in descending order (highest fee = highest priority).
FeeBasedPrioritizer() - Constructor for class com.privatechain.core.mempool.FeeBasedPrioritizer
 
Fee extraction - Search tag in class com.privatechain.core.mempool.FeeBasedPrioritizer
Section
fetchBlocks(Peer, int, int) - Method in class com.privatechain.network.sync.BlockFetcher
Fetches all blocks from fromHeight (inclusive) to toHeight (inclusive) from the given peer, in ascending order.
File layout - Search tag in class com.privatechain.storage.fs.FileSystemStorage
Section
FileSystemStorage - Class in com.privatechain.storage.fs
File system backed BlockchainStorage implementation that stores each block as a separate JSON file.
FileSystemStorage(String) - Constructor for class com.privatechain.storage.fs.FileSystemStorage
Constructs a FileSystemStorage rooted at the given directory path.
FileSystemStorage(Path) - Constructor for class com.privatechain.storage.fs.FileSystemStorage
Constructs a FileSystemStorage rooted at the given Path.
ForkDetectedEvent(Block, Block) - Constructor for class com.privatechain.core.event.BlockchainEvent.ForkDetectedEvent
Constructs a ForkDetectedEvent.
Fork handling - Search tag in class com.privatechain.network.sync.SyncManager
Section
ForkResolver - Class in com.privatechain.network.sync
Resolves chain forks by selecting the canonical chain according to the longest-chain (greatest cumulative difficulty) rule (FR-NET-05).
ForkResolver() - Constructor for class com.privatechain.network.sync.ForkResolver
Constructs a ForkResolver.
fromBytes(byte[]) - Static method in class com.privatechain.storage.BlockSerializer
Deserializes a Block from a raw UTF-8 JSON byte array.
fromJson(String) - Static method in class com.privatechain.storage.BlockSerializer
Deserializes a Block from a UTF-8 JSON string.
fromJson(String, BlockchainStorage) - Static method in class com.privatechain.storage.ChainExporter
Deserializes a JSON array produced by ChainExporter.toJson(com.privatechain.core.builder.Blockchain) and persists each block to the supplied storage backend (FR-SER-02).
fromPrivateKeyHex(String) - Static method in class com.privatechain.crypto.KeyPairGenerator
Reconstructs an ECKeyPair from a hex-encoded PKCS#8 private key.
fromRawPrivateScalar(String) - Static method in class com.privatechain.crypto.KeyPairGenerator
Reconstructs an ECKeyPair from a raw 32-byte private scalar (big-integer, big-endian).
Full YAML reference - Search tag in class com.privatechain.spring.BlockchainProperties
Section

G

generateECKeyPair() - Static method in class com.privatechain.crypto.KeyPairGenerator
Generates a fresh secp256k1 EC key pair using a SecureRandom entropy source.
generateToken(String, long) - Method in class com.privatechain.access.invite.InvitationService
Convenience overload that generates a token valid for a specified duration from now.
generateToken(String, Instant) - Method in class com.privatechain.access.invite.InvitationService
Generates a signed invitation token for a new node.
genesis() - Static method in record class com.privatechain.core.model.BlockHeader
Creates a genesis-block header with a zero nonce and the empty Merkle root.
GENESIS_PREVIOUS_HASH - Static variable in class com.privatechain.core.model.Block
The previousHash value of the genesis block (index 0).
GenesisBlockFactory - Class in com.privatechain.core.builder
Factory for creating the genesis block (index 0) of a new blockchain.
get(String) - Method in class com.privatechain.network.peer.PeerStore
Returns the peer with the given node ID, or Optional.empty() if not found.
GET_BLOCKS - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Request for a range of blocks by height.
GET_STATUS - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Request for a peer's current chain height.
getAddress() - Method in class com.privatechain.core.event.BlockchainEvent.PeerConnectedEvent
Returns the network address of the connected peer.
getAddress() - Method in class com.privatechain.network.peer.Peer
Returns the network address in host:port notation.
getAddress() - Method in class com.privatechain.wallet.Wallet
Returns the blockchain address derived from this wallet's public key.
getAll() - Method in class com.privatechain.network.peer.PeerStore
Returns a point-in-time snapshot of all known peers.
getAll(Collection<String>) - Method in class com.privatechain.network.peer.PeerStore
Returns a snapshot of all peers whose node ID is in the given collection.
getAllowedNodes() - Method in class com.privatechain.access.allowlist.AllowlistManager
Returns all currently allowlisted node IDs.
getAllRoleAssignments() - Method in class com.privatechain.access.rbac.PermissionManager
Returns all currently assigned role assignments.
getAllWallets() - Method in class com.privatechain.wallet.WalletManager
Returns all wallets managed by this manager.
getAmount() - Method in class com.privatechain.core.model.Transaction
Returns the token amount transferred by this transaction.
getAuthorizedAddresses() - Method in class com.privatechain.consensus.poa.ProofOfAuthorityEngine
Returns the configured authorized addresses in deterministic order.
getBalance(Blockchain) - Method in class com.privatechain.wallet.Wallet
Computes the balance of this wallet by scanning the blockchain for all confirmed transactions involving this address.
getBlock() - Method in class com.privatechain.core.event.BlockchainEvent.BlockAddedEvent
Returns the block that was added to the chain.
getBlock() - Method in exception class com.privatechain.core.exception.BlockValidationException
Returns the block that triggered this exception.
getBlock(int) - Method in class com.privatechain.core.builder.Blockchain
Returns the block at the given index.
getBlock(int) - Method in class com.privatechain.examples.spring.BlockchainRestController
Returns a single block by its zero-based index.
getBlockA() - Method in class com.privatechain.core.event.BlockchainEvent.ForkDetectedEvent
Returns the first competing block.
getBlockB() - Method in class com.privatechain.core.event.BlockchainEvent.ForkDetectedEvent
Returns the second competing block.
getBlockByHash(String) - Method in class com.privatechain.core.builder.Blockchain
Returns the block with the given hash, if present.
getBlocksMessage(String, int, int) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a GET_BLOCKS message requesting blocks in a height range.
getBlockTimeSeconds() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the target time (in seconds) between consecutive blocks.
getBlockTimeSeconds() - Method in class com.privatechain.spring.BlockchainProperties
Returns the target block time in seconds.
getChain() - Method in class com.privatechain.core.builder.Blockchain
Returns all blocks in ascending index order.
getChain() - Method in class com.privatechain.core.builder.BlockchainNode
Returns the underlying Blockchain for direct chain access.
getChain() - Method in class com.privatechain.examples.spring.BlockchainRestController
Returns the full blockchain as an ordered JSON array.
getChainId() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the stable chain identifier used to create the genesis block.
getChainId() - Method in class com.privatechain.spring.BlockchainProperties
Returns the chain identifier embedded in the genesis block.
getConnectedPeerCount() - Method in interface com.privatechain.core.network.PeerManagerLifecycle
Returns the number of currently connected peers.
getConnectedPeerCount() - Method in class com.privatechain.network.peer.PeerManager
Returns the number of currently connected peers.
getConnectedPeers() - Method in class com.privatechain.network.peer.PeerManager
Returns a snapshot list of all currently connected Peer instances.
getConsensusEngine() - Method in class com.privatechain.core.builder.Blockchain
Returns the consensus engine used by this chain.
getConsensusEngine() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the configured consensus engine.
getCurrency() - Method in class com.privatechain.examples.spring.BlockchainRestController.PaymentTransaction
Returns the ISO-4217 currency code.
getDepth() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof
Returns the depth of the tree from which this proof was generated, which equals the number of sibling hashes in the path.
getDetails() - Method in class com.privatechain.spring.BlockchainHealthIndicator
Returns a snapshot of the node's health details as an immutable map.
getDifficulty() - Method in class com.privatechain.consensus.pow.ProofOfWorkEngine
Returns the configured difficulty.
getDifficulty() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the PoW difficulty (leading zero bits required in a valid hash).
getDifficulty() - Method in class com.privatechain.spring.BlockchainProperties
Returns the Proof-of-Work difficulty (leading zero bit count).
getEncodedToken() - Method in class com.privatechain.access.invite.InvitationToken
Encodes this token as a Base64 string suitable for transmission or storage.
getErrors() - Method in class com.privatechain.core.spi.ValidationResult
Returns the list of human-readable error descriptions.
getEventBus() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the shared event bus instance.
getEventListeners() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the list of event listeners pre-registered during configuration.
getExpiryEpochSeconds() - Method in class com.privatechain.access.invite.InvitationToken
Returns the token expiry time as Unix epoch seconds.
getExpiryInstant() - Method in class com.privatechain.access.invite.InvitationToken
Returns the expiry time as an Instant.
getHash() - Method in class com.privatechain.core.model.Block
Returns the pre-computed SHA-256 hash of this block.
getHeader() - Method in class com.privatechain.core.model.Block
Returns the block header (version, nonce, Merkle root, timestamp).
getHost() - Method in class com.privatechain.network.peer.Peer
Returns the hostname or IP address of this peer.
getId() - Method in class com.privatechain.core.model.Transaction
Returns the unique identifier of this transaction.
getIndex() - Method in class com.privatechain.core.model.Block
Returns the zero-based index of this block in the chain.
getLastSeen() - Method in class com.privatechain.network.peer.Peer
Returns the UTC instant of the most recent heartbeat or message exchange.
getLatestBlock() - Method in class com.privatechain.core.builder.Blockchain
Returns the most recently added block (the chain tip).
getMaxMempoolSize() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the maximum number of transactions the mempool can hold (Milestone 8).
getMaxPeers() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the maximum number of simultaneous peer connections.
getMaxPeers() - Method in class com.privatechain.spring.BlockchainProperties
Returns the maximum number of simultaneous peer connections.
getMaxSize() - Method in class com.privatechain.spring.BlockchainProperties.Mempool
Returns the maximum mempool size.
getMempool() - Method in class com.privatechain.core.builder.BlockchainNode
Returns the transaction mempool managed by this node.
getMempool() - Method in class com.privatechain.spring.BlockchainProperties
Returns the mempool configuration.
getMempoolTtl() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the TTL for unconfirmed transactions in the mempool (Milestone 8).
getMerkleRoot() - Method in class com.privatechain.core.model.Block
Convenience accessor for the Merkle root stored in the header.
getMetadata() - Method in class com.privatechain.core.model.Transaction
Returns an unmodifiable view of the transaction metadata map.
getMinerAddress() - Method in class com.privatechain.core.model.Block
Returns the address of the node that produced this block, or null for PoW blocks where no identity claim is embedded.
getNetworkPort() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the TCP port on which the P2P node server listens.
getNetworkPort() - Method in class com.privatechain.spring.BlockchainProperties
Returns the TCP port for the P2P node server.
getNodeId() - Method in class com.privatechain.access.invite.InvitationToken
Returns the invited node ID.
getNodeId() - Method in class com.privatechain.network.peer.Peer
Returns the stable logical identifier of this peer.
getNodesWithRole(NodeRole) - Method in class com.privatechain.access.rbac.PermissionManager
Returns all node IDs that have been assigned a specific role.
getOccurredAt() - Method in class com.privatechain.core.event.BlockchainEvent
Returns the UTC instant at which this event occurred.
getPath() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof
Returns the ordered sibling path from leaf to root.
getPayload() - Method in class com.privatechain.network.rpc.MessageCodec.NetworkMessage
Returns the raw JSON payload string.
getPeerId() - Method in class com.privatechain.core.event.BlockchainEvent.PeerConnectedEvent
Returns the unique identifier of the connected peer.
getPeerId() - Method in class com.privatechain.core.event.BlockchainEvent.PeerDisconnectedEvent
Returns the unique identifier of the disconnected peer.
getPeers() - Method in class com.privatechain.consensus.roundrobin.RoundRobinEngine
Returns the configured peer order.
getPeerStore() - Method in class com.privatechain.network.peer.PeerManager
Returns the backing PeerStore for direct peer-level operations.
getPort() - Method in class com.privatechain.network.peer.Peer
Returns the TCP port on which this peer's node server listens.
getPort() - Method in class com.privatechain.network.rpc.NodeServer
Returns the port this server is (or will be) listening on.
getPreviousHash() - Method in class com.privatechain.core.model.Block
Returns the SHA-256 hash of the preceding block.
getPrivateKeyHex() - Method in class com.privatechain.crypto.ECKeyPair
Returns the PKCS#8-encoded private key as a lowercase hex string.
getProof(List<String>, String) - Static method in class com.privatechain.crypto.MerkleTree
Generates a Merkle inclusion proof for the given transaction ID.
getPublicKey() - Method in class com.privatechain.crypto.ECKeyPair
Returns the JCA PublicKey for this key pair.
getPublicKeyHex() - Method in class com.privatechain.crypto.ECKeyPair
Returns the uncompressed, DER-encoded public key as a lowercase hex string.
getPublicKeyHex() - Method in class com.privatechain.network.peer.Peer
Returns the hex-encoded secp256k1 public key of this peer.
getQuorumSize() - Method in class com.privatechain.consensus.pbft.PBFTEngine
Returns the configured quorum size.
getReason() - Method in class com.privatechain.core.event.BlockchainEvent.PeerDisconnectedEvent
Returns the human-readable reason for disconnection, or null if unknown.
getReceiverAddress() - Method in class com.privatechain.core.model.Transaction
Returns the receiver's blockchain address.
getRejectionReasons() - Method in class com.privatechain.core.mempool.MempoolSubmissionResult
Returns the list of human-readable rejection reasons.
getRole(String) - Method in class com.privatechain.access.rbac.PermissionManager
Retrieves the role assigned to a given node, if any.
getSenderAddress() - Method in class com.privatechain.core.model.Transaction
Returns the sender's blockchain address.
getSenderId() - Method in class com.privatechain.network.rpc.MessageCodec.NetworkMessage
Returns the node ID of the originating sender.
getSiblingHash() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof.ProofNode
Returns the sibling's hash at this level of the tree.
getSignature() - Method in class com.privatechain.access.invite.InvitationToken
Returns the ECDSA signature bytes (DER-encoded).
getSignature() - Method in class com.privatechain.core.model.Transaction
Returns a defensive copy of the ECDSA signature bytes.
getStatus() - Method in class com.privatechain.core.spi.ValidationResult
Returns the status classification of the validation outcome.
getStatus() - Method in class com.privatechain.examples.spring.BlockchainRestController
Returns a live snapshot of the node's operational status.
getStatusMessage(String) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a GET_STATUS message requesting a peer's current chain height.
getStorage() - Method in class com.privatechain.core.builder.Blockchain
Returns the storage backend used by this chain.
getStorage() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the configured storage backend.
getTimestamp() - Method in class com.privatechain.core.model.Transaction
Returns the UTC creation timestamp of this transaction.
getTopN(int) - Method in class com.privatechain.core.mempool.TransactionMempool
Returns the top n transactions ordered by the configured prioritizer.
getTransaction() - Method in class com.privatechain.core.event.BlockchainEvent.TransactionSubmittedEvent
Returns the transaction that was submitted to the mempool.
getTransaction() - Method in exception class com.privatechain.core.exception.TransactionValidationException
Returns the transaction that failed validation.
getTransactionId() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof
Returns the transaction ID this proof covers.
getTransactionPrioritizer() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the configured transaction prioritizer.
getTransactions() - Method in class com.privatechain.core.model.Block
Returns the ordered, immutable list of transactions in this block.
getTransactionValidators() - Method in class com.privatechain.core.builder.BlockchainConfig
Returns the ordered list of transaction validators.
getTtl() - Method in class com.privatechain.spring.BlockchainProperties.Mempool
Returns the transaction TTL duration.
getType() - Method in class com.privatechain.network.rpc.MessageCodec.NetworkMessage
Returns the message type discriminator.
getValidationResult() - Method in exception class com.privatechain.core.exception.TransactionValidationException
Returns the full ValidationResult that caused this exception.
getValidators() - Method in class com.privatechain.consensus.pbft.PBFTEngine
Returns the configured validators.
getWallet(String) - Method in class com.privatechain.wallet.WalletManager
Retrieves a wallet by its address.
gossip(Transaction, String) - Method in class com.privatechain.network.gossip.GossipProtocol
Gossips a transaction to ⌈log₂(n)⌉ randomly selected connected peers.
GossipProtocol - Class in com.privatechain.network.gossip
Propagates submitted transactions to a random subset of connected peers via epidemic gossip.
GossipProtocol(String, PeerManager, NodeClient, MessageCodec) - Constructor for class com.privatechain.network.gossip.GossipProtocol
Constructs a GossipProtocol with the required dependencies.

H

Handling events - Search tag in class com.privatechain.core.event.BlockchainEvent
Section
hasConsistentIntegrity(Block) - Static method in class com.privatechain.consensus.ConsensusSupport
Performs the baseline integrity checks shared by all consensus engines.
hashCode() - Method in class com.privatechain.access.invite.InvitationToken
hashCode() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns a hash code value for this object.
hashCode() - Method in class com.privatechain.core.mempool.MempoolSubmissionResult
Returns a hash code consistent with MempoolSubmissionResult.equals(java.lang.Object).
hashCode() - Method in class com.privatechain.core.model.Block
Hash code based on the block's SHA-256 hash string.
hashCode() - Method in record class com.privatechain.core.model.BlockHeader
Returns a hash code value for this object.
hashCode() - Method in class com.privatechain.core.model.Transaction
Hash code based solely on the transaction ID.
hashCode() - Method in class com.privatechain.core.spi.ValidationResult
hashCode() - Method in class com.privatechain.crypto.ECKeyPair
hashCode() - Method in record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Returns a hash code value for this object.
hashCode() - Method in class com.privatechain.network.peer.Peer
Hash code based solely on nodeId for consistency with Peer.equals(java.lang.Object).
hashCode() - Method in class com.privatechain.wallet.Wallet
Hash code based on the wallet's address.
Hash function - Search tag in class com.privatechain.crypto.MerkleTree
Section
HashUtil - Class in com.privatechain.crypto
Utility class providing cryptographic hash functions used throughout the blockchain.
hasLeadingZeroBits(String, int) - Static method in class com.privatechain.consensus.ConsensusSupport
Verifies that a block hash satisfies a leading-zero-bit constraint.
hasRole(String, NodeRole) - Method in class com.privatechain.access.rbac.PermissionManager
Checks whether a given node has a specific role.
header(BlockHeader) - Method in class com.privatechain.core.model.Block.Builder
Sets the block header.
HEARTBEAT_INTERVAL_SECONDS - Static variable in class com.privatechain.network.peer.PeerManager
How often the heartbeat task checks peer liveness (seconds).
heaviestBlock(List<Block>) - Method in class com.privatechain.network.sync.ForkResolver
Returns the block with the greatest bits value in the chain.
host(String) - Method in class com.privatechain.network.peer.Peer.Builder
Sets the hostname or IP address of the peer.

I

Identity vs address - Search tag in class com.privatechain.network.peer.Peer
Section
Immutability - Search tag in class com.privatechain.access.invite.InvitationToken
Section
Implementation contract - Search tag in interface com.privatechain.core.event.BlockchainEventListener
Section
Implementation requirements - Search tag in interface com.privatechain.access.allowlist.AllowlistStore
Section
importFromKeystore(String, String) - Method in class com.privatechain.wallet.WalletManager
Imports a wallet from an encrypted keystore JSON string.
importWallet(String) - Method in class com.privatechain.wallet.WalletManager
Imports a wallet from a hex-encoded private key.
index(int) - Method in class com.privatechain.core.model.Block.Builder
Sets the block index.
InMemoryStorage - Class in com.privatechain.storage.memory
HashMap-backed in-memory implementation of BlockchainStorage.
InMemoryStorage() - Constructor for class com.privatechain.storage.memory.InMemoryStorage
 
INSUFFICIENT_FUNDS - Enum constant in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
The sender does not have sufficient funds to cover the transaction amount.
INVALID_SIGNATURE - Enum constant in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
The ECDSA signature does not match the sender's public key.
InvitationService - Class in com.privatechain.access.invite
Service for generating and verifying time-limited invitation tokens for new node onboarding.
InvitationService(ECKeyPair, PermissionManager, AllowlistManager) - Constructor for class com.privatechain.access.invite.InvitationService
Constructs an InvitationService with the given admin credentials and manager references.
InvitationToken - Class in com.privatechain.access.invite
Immutable representation of a signed, time-limited invitation token.
isAccepted() - Method in class com.privatechain.core.mempool.MempoolSubmissionResult
Returns true if the transaction was accepted into the mempool.
isAddressValid(String) - Static method in class com.privatechain.crypto.AddressUtil
Verifies that a Base58Check-encoded address has a valid internal checksum.
isAllowed(String) - Method in class com.privatechain.access.allowlist.AllowlistManager
Checks whether a node ID is on the allowlist.
isChainValid() - Method in class com.privatechain.core.builder.Blockchain
Verifies the full integrity of the blockchain without network access (FR-CORE-06).
isConnected(String) - Method in class com.privatechain.network.peer.PeerManager
Returns true if the peer with the given node ID is currently connected.
isEmpty() - Method in class com.privatechain.access.allowlist.AllowlistManager
Returns true if the allowlist is empty.
isEmpty() - Method in class com.privatechain.core.builder.Blockchain
Returns true if the chain contains no blocks.
isEmpty() - Method in class com.privatechain.network.peer.PeerStore
Returns true if the store contains no peers.
isEnabled() - Method in class com.privatechain.spring.BlockchainProperties
Returns whether blockchain autoconfiguration is enabled.
isExpired() - Method in class com.privatechain.access.invite.InvitationToken
Checks whether this token has expired.
isFailure() - Method in class com.privatechain.core.spi.ValidationResult
Returns true if the transaction failed one or more validation checks.
isGenesis(Block) - Static method in class com.privatechain.consensus.ConsensusSupport
Returns true if the supplied block is the genesis block.
isHashValid() - Method in class com.privatechain.core.model.Block
Verifies that the stored Block.hash matches a fresh computation.
isRegistered(BlockchainEventListener) - Method in class com.privatechain.core.event.BlockchainEventBus
Returns true if the given listener is currently registered.
isRejected() - Method in class com.privatechain.core.mempool.MempoolSubmissionResult
Returns true if the transaction was rejected.
isRunning() - Method in interface com.privatechain.core.network.NodeServerLifecycle
Returns true if the server is currently accepting inbound connections.
isRunning() - Method in class com.privatechain.network.rpc.NodeServer
Returns true if the server accept loop is running.
isShutdown() - Method in class com.privatechain.core.event.BlockchainEventBus
Returns true if the event bus has been shut down.
isSiblingOnLeft() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof.ProofNode
Returns true if the sibling is to the left of the current node (meaning the current node is a right child at this level).
isSigned() - Method in class com.privatechain.core.model.Transaction
Returns true if a signature has been attached to this transaction.
isSuccess() - Method in class com.privatechain.core.spi.ValidationResult
Returns true if the transaction passed all validation checks.
isUp() - Method in class com.privatechain.spring.BlockchainHealthIndicator
Returns true when the node is running and BlockchainNode.status() can be called without throwing.

J

Jackson configuration - Search tag in class com.privatechain.storage.BlockSerializer
Section

K

KEY_CHAIN_HEIGHT - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: current chain height (number of blocks including genesis).
KEY_ENGINE - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: name of the active consensus engine.
KEY_LAST_BLOCK - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: ISO-8601 timestamp of the most recently added block.
KEY_MEMPOOL_SIZE - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: number of transactions currently in the mempool.
KEY_PEER_COUNT - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: number of currently connected peers.
KEY_REASON - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: human-readable error reason when status is DOWN.
KEY_STATUS - Static variable in class com.privatechain.spring.BlockchainHealthIndicator
Detail key: overall UP / DOWN status string.
Key design decision - Search tag in class com.privatechain.network.peer.PeerStore
Section
Key layout - Search tag in class com.privatechain.storage.leveldb.LevelDBStorage
Section
Key layout - Search tag in class com.privatechain.storage.rocksdb.RocksDBStorage
Section
Key management - Search tag in class com.privatechain.wallet.Wallet
Section
KeyPairGenerator - Class in com.privatechain.crypto
Factory for generating and reconstructing elliptic-curve key pairs on the secp256k1 curve.
Keystore format - Search tag in class com.privatechain.wallet.WalletManager
Section

L

lastBlockTime() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns the value of the lastBlockTime record component.
lastSeen(Instant) - Method in class com.privatechain.network.peer.Peer.Builder
Sets the last-seen timestamp.
LevelDBStorage - Class in com.privatechain.storage.leveldb
Crash-safe, persistent BlockchainStorage implementation backed by LevelDB.
LevelDBStorage(String) - Constructor for class com.privatechain.storage.leveldb.LevelDBStorage
Opens (or creates) a LevelDB database at the given directory path.
Lifecycle - Search tag in class com.privatechain.core.event.BlockchainEventBus
Section
Lifecycle - Search tag in class com.privatechain.network.rpc.NodeServer
Section
Lifecycle - Search tag in class com.privatechain.storage.leveldb.LevelDBStorage
Section
Lifecycle - Search tag in class com.privatechain.storage.rocksdb.RocksDBStorage
Section
listenerCount() - Method in class com.privatechain.core.event.BlockchainEventBus
Returns the number of currently registered listeners.
load() - Method in interface com.privatechain.access.allowlist.AllowlistStore
Loads allowlisted node IDs from persistent storage.
loadAll() - Method in interface com.privatechain.core.spi.BlockchainStorage
Returns all stored blocks in ascending index order.
loadAll() - Method in class com.privatechain.storage.fs.FileSystemStorage
Returns all stored blocks in ascending index order.
loadAll() - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Returns all stored blocks in ascending index order.
loadAll() - Method in class com.privatechain.storage.memory.InMemoryStorage
Returns all stored blocks in ascending index order.
loadAll() - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Returns all stored blocks in ascending index order.
loadBlock(int) - Method in interface com.privatechain.core.spi.BlockchainStorage
Retrieves a block by its index.
loadBlock(int) - Method in class com.privatechain.storage.fs.FileSystemStorage
Retrieves a block by loading and deserializing its JSON file.
loadBlock(int) - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Retrieves a block by its index.
loadBlock(int) - Method in class com.privatechain.storage.memory.InMemoryStorage
Retrieves a block by its zero-based index.
loadBlock(int) - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Retrieves a block by its zero-based index.
loadBlockByHash(String) - Method in interface com.privatechain.core.spi.BlockchainStorage
Retrieves a block by its SHA-256 hash.
loadBlockByHash(String) - Method in class com.privatechain.storage.fs.FileSystemStorage
Searches for a block by its SHA-256 hash.
loadBlockByHash(String) - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Searches for a block by its SHA-256 hash.
loadBlockByHash(String) - Method in class com.privatechain.storage.memory.InMemoryStorage
Searches for a block by its SHA-256 hash using a constant-time comparison to prevent hash timing attacks (NFR-SEC-03).
loadBlockByHash(String) - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Searches for a block by its SHA-256 hash.
loadFromStore(AllowlistStore) - Method in class com.privatechain.access.allowlist.AllowlistManager
Loads allowlisted node IDs from persistent storage.
Loop prevention - Search tag in class com.privatechain.network.gossip.GossipProtocol
Section

M

main(String[]) - Static method in class com.privatechain.examples.spring.SpringChainApp
Application entry point.
maxMempoolSize(int) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the maximum pool capacity (Milestone 8).
maxPeers(int) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the maximum number of simultaneous peer connections.
Mempool() - Constructor for class com.privatechain.spring.BlockchainProperties.Mempool
 
mempoolSize() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns the value of the mempoolSize record component.
MempoolSubmissionResult - Class in com.privatechain.core.mempool
mempoolTtl(Duration) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the TTL for unconfirmed transactions in the mempool (Milestone 8).
MerkleProof(String, List<MerkleTree.MerkleProof.ProofNode>) - Constructor for class com.privatechain.crypto.MerkleTree.MerkleProof
Constructs a Merkle proof.
merkleRoot() - Method in record class com.privatechain.core.model.BlockHeader
Returns the value of the merkleRoot record component.
merkleRoot(String) - Method in class com.privatechain.core.model.BlockHeader.Builder
Sets the Merkle root hex string.
merkleRoot(List<Transaction>) - Static method in class com.privatechain.consensus.ConsensusSupport
Computes the canonical Merkle root for the supplied transactions.
MerkleTree - Class in com.privatechain.crypto
Builds a binary Merkle tree from a list of transaction IDs and exposes root computation, inclusion-proof generation, and proof verification.
MerkleTree.MerkleProof - Class in com.privatechain.crypto
Immutable Merkle inclusion proof for a single transaction.
MerkleTree.MerkleProof.ProofNode - Class in com.privatechain.crypto
Immutable value holding a sibling hash and its relative position at one level of the Merkle tree.
MessageCodec - Class in com.privatechain.network.rpc
Encodes and decodes wire-protocol messages exchanged between blockchain nodes.
MessageCodec() - Constructor for class com.privatechain.network.rpc.MessageCodec
Constructs a MessageCodec with a pre-configured ObjectMapper.
MessageCodec.MessageType - Enum Class in com.privatechain.network.rpc
Discriminator enum identifying the kind of P2P message.
MessageCodec.NetworkMessage - Class in com.privatechain.network.rpc
Immutable envelope wrapping all P2P messages.
Message format - Search tag in class com.privatechain.network.rpc.MessageCodec
Section
metadata - Variable in class com.privatechain.core.model.Transaction
Flexible key-value map for lightweight extension.
Milestone 8 additions (T-066) - Search tag in class com.privatechain.core.builder.BlockchainConfig
Section
Milestone 8 changes (T-066) - Search tag in class com.privatechain.core.builder.BlockchainNode
Section
Milestone 8 wiring (T-066) - Search tag in class com.privatechain.core.mempool.TransactionMempool
Section
Milestone 8 wiring (T-066) - Search tag in class com.privatechain.network.peer.PeerManager
Section
mineBlock() - Method in class com.privatechain.examples.spring.BlockchainRestController
Triggers a manual block mining cycle, selecting up to 100 transactions from the mempool and appending the resulting block to the chain.
mineBlock(List<Transaction>, Block) - Method in class com.privatechain.consensus.pbft.PBFTEngine
Produces a new block using the deterministic PBFT leader for the current view.
mineBlock(List<Transaction>, Block) - Method in class com.privatechain.consensus.poa.ProofOfAuthorityEngine
Builds a new authority-signed block using the first authorized miner address.
mineBlock(List<Transaction>, Block) - Method in class com.privatechain.consensus.pow.ProofOfWorkEngine
Mines a new block by searching for a nonce that satisfies the configured leading-zero-bit target.
mineBlock(List<Transaction>, Block) - Method in class com.privatechain.consensus.roundrobin.RoundRobinEngine
Produces a new block for the next round-robin slot.
mineBlock(List<Transaction>, Block) - Method in interface com.privatechain.core.spi.ConsensusEngine
Produces a new candidate block from the given transactions and the current chain tip.
minerAddress(String) - Method in class com.privatechain.core.model.Block.Builder
Sets the address of the node producing this block.
Minimal YAML - Search tag in class com.privatechain.spring.BlockchainProperties
Section
Minimum example (FR-CFG-02) - Search tag in class com.privatechain.core.builder.BlockchainNode
Section
Minimum viable setup (FR-CFG-02) - Search tag in class com.privatechain.core.builder.BlockchainConfig
Section
Multiple validators and listeners - Search tag in class com.privatechain.spring.BlockchainAutoConfiguration
Section

N

NetworkMessage(MessageCodec.MessageType, String, String) - Constructor for class com.privatechain.network.rpc.MessageCodec.NetworkMessage
Constructs a NetworkMessage.
networkPort(int) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the TCP port for the P2P node server.
NODE_ADMIN - Enum constant in enum class com.privatechain.access.rbac.NodeRole
Administrator node with unrestricted permissions.
NODE_MINER - Enum constant in enum class com.privatechain.access.rbac.NodeRole
Mining node with permission to produce and submit blocks, and submit transactions.
NODE_OBSERVER - Enum constant in enum class com.privatechain.access.rbac.NodeRole
Observer node with read-only access to the chain.
NodeClient - Class in com.privatechain.network.rpc
Manages outbound TCP connections from this node to remote peers.
NodeClient(String, PeerManager, MessageCodec) - Constructor for class com.privatechain.network.rpc.NodeClient
Constructs a NodeClient.
nodeId(String) - Method in class com.privatechain.network.peer.Peer.Builder
Sets the stable logical identifier for the peer.
Node lifecycle - Search tag in class com.privatechain.spring.BlockchainAutoConfiguration
Section
NodeRole - Enum Class in com.privatechain.access.rbac
Enumeration of node roles in a private blockchain network.
NodeServer - Class in com.privatechain.network.rpc
TCP server that accepts inbound peer connections and dispatches received messages.
NodeServer(int, AllowlistManager, PermissionManager, PeerManager, MessageCodec, Blockchain, BlockchainEventBus) - Constructor for class com.privatechain.network.rpc.NodeServer
Constructs a NodeServer with all required dependencies.
NodeServerLifecycle - Interface in com.privatechain.core.network
Lifecycle interface for the P2P TCP node server.
NodeStatus(int, int, int, Instant, String) - Constructor for record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Creates an instance of a NodeStatus record class.
nonce() - Method in record class com.privatechain.core.model.BlockHeader
Returns the value of the nonce record component.
nonce(long) - Method in class com.privatechain.core.model.BlockHeader.Builder
Sets the proof-of-work nonce.

O

objectMapper() - Method in class com.privatechain.examples.spring.SpringChainApp
Configures Spring MVC's Jackson ObjectMapper so that java.time.Instant fields serialize as ISO-8601 strings (e.g.
Odd-node handling - Search tag in class com.privatechain.crypto.MerkleTree
Section
of(int, long, String) - Static method in record class com.privatechain.core.model.BlockHeader
Creates a BlockHeader with the current UTC timestamp and version 1.
of(String, String, BigDecimal, String) - Static method in class com.privatechain.examples.spring.BlockchainRestController.PaymentTransaction
Factory for clean construction in the controller.
onEvent(BlockchainEvent) - Method in interface com.privatechain.core.event.BlockchainEventListener
Called by the BlockchainEventBus when a blockchain event occurs.
onEvent(BlockchainEvent) - Method in class com.privatechain.network.gossip.BlockBroadcaster
Reacts to blockchain events, broadcasting new blocks to all connected peers.
onEvent(BlockchainEvent) - Method in class com.privatechain.network.gossip.GossipProtocol
Reacts to blockchain events.
Ordering contract - Search tag in class com.privatechain.core.mempool.FeeBasedPrioritizer
Section
Ordering contract - Search tag in class com.privatechain.core.mempool.TimestampBasedPrioritizer
Section
Override points (T-072) - Search tag in class com.privatechain.spring.BlockchainAutoConfiguration
Section

P

parseEncodedToken(String) - Static method in class com.privatechain.access.invite.InvitationToken
Parses an encoded invitation token (Base64-formatted) back into its components.
PaymentTransaction(UUID, String, String, BigDecimal, Instant, Map<String, Object>, String) - Constructor for class com.privatechain.examples.spring.BlockchainRestController.PaymentTransaction
Jackson deserialization constructor.
PBFTEngine - Class in com.privatechain.consensus.pbft
Practical Byzantine Fault Tolerance consensus engine.
PBFTEngine(int, Collection<String>) - Constructor for class com.privatechain.consensus.pbft.PBFTEngine
Creates a PBFT engine with an explicit quorum size.
PBFTEngine(Collection<String>) - Constructor for class com.privatechain.consensus.pbft.PBFTEngine
Creates a PBFT engine with an automatically derived quorum size.
PBFTEngine(Collection<String>, int) - Constructor for class com.privatechain.consensus.pbft.PBFTEngine
Creates a PBFT engine with an explicit quorum size.
Peer - Class in com.privatechain.network.peer
Immutable value object representing a remote peer node in the private blockchain network.
PEER_TIMEOUT_SECONDS - Static variable in class com.privatechain.network.peer.PeerManager
Silence duration before a peer is considered unresponsive (seconds).
Peer.Builder - Class in com.privatechain.network.peer
Fluent builder for Peer.
PeerConnectedEvent(String, String) - Constructor for class com.privatechain.core.event.BlockchainEvent.PeerConnectedEvent
Constructs a PeerConnectedEvent.
peerCount() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns the value of the peerCount record component.
PeerDisconnectedEvent(String, String) - Constructor for class com.privatechain.core.event.BlockchainEvent.PeerDisconnectedEvent
Constructs a PeerDisconnectedEvent.
PeerManager - Class in com.privatechain.network.peer
Manages the lifecycle of peer connections in the private blockchain P2P network.
PeerManager(PeerStore, BlockchainEventBus, int) - Constructor for class com.privatechain.network.peer.PeerManager
Constructs a PeerManager with all required dependencies.
PeerManagerLifecycle - Interface in com.privatechain.core.network
Lifecycle interface for the P2P peer manager.
PeerStore - Class in com.privatechain.network.peer
Thread-safe in-memory store for known Peer instances.
PeerStore() - Constructor for class com.privatechain.network.peer.PeerStore
 
Performance tuning - Search tag in class com.privatechain.storage.rocksdb.RocksDBStorage
Section
PermissionManager - Class in com.privatechain.access.rbac
Manages role-based access control (RBAC) for a private blockchain network.
PermissionManager(BlockchainStorage) - Constructor for class com.privatechain.access.rbac.PermissionManager
Constructs a PermissionManager that persists role assignments to the provided BlockchainStorage.
PING - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Heartbeat ping.
pingMessage(String) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a PING heartbeat request message.
Polymorphic serialization - Search tag in class com.privatechain.core.model.Transaction
Section
PONG - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Heartbeat pong response.
pongMessage(String) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a PONG heartbeat response message.
port(int) - Method in class com.privatechain.network.peer.Peer.Builder
Sets the TCP port.
previousHash(String) - Method in class com.privatechain.core.model.Block.Builder
Sets the hash of the preceding block.
ProofNode(String, boolean) - Constructor for class com.privatechain.crypto.MerkleTree.MerkleProof.ProofNode
Constructs a ProofNode.
ProofOfAuthorityEngine - Class in com.privatechain.consensus.poa
Proof-of-authority consensus engine.
ProofOfAuthorityEngine(Collection<String>) - Constructor for class com.privatechain.consensus.poa.ProofOfAuthorityEngine
Creates a proof-of-authority engine with the supplied authorized addresses.
ProofOfWorkEngine - Class in com.privatechain.consensus.pow
SHA-256 proof-of-work consensus engine.
ProofOfWorkEngine() - Constructor for class com.privatechain.consensus.pow.ProofOfWorkEngine
Creates a proof-of-work engine using the default difficulty.
ProofOfWorkEngine(int) - Constructor for class com.privatechain.consensus.pow.ProofOfWorkEngine
Creates a proof-of-work engine using the supplied difficulty.
publicKeyHex(String) - Method in class com.privatechain.network.peer.Peer.Builder
Sets the hex-encoded secp256k1 public key.
publish(BlockchainEvent) - Method in class com.privatechain.core.event.BlockchainEventBus
Publishes an event to all currently registered listeners asynchronously.
put(Peer) - Method in class com.privatechain.network.peer.PeerStore
Inserts or replaces a peer entry keyed by Peer.getNodeId().

R

receiverAddress() - Method in record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Returns the value of the receiverAddress record component.
recordHeartbeat(String) - Method in class com.privatechain.network.peer.PeerManager
Records a successful heartbeat for the given peer, refreshing its lastSeen timestamp in the PeerStore.
register(BlockchainEventListener) - Method in class com.privatechain.core.event.BlockchainEventBus
Registers a listener to receive future events.
rejected(List<String>) - Static method in class com.privatechain.core.mempool.MempoolSubmissionResult
Creates a result indicating the transaction was rejected.
remove(String) - Method in class com.privatechain.access.allowlist.AllowlistManager
Removes a node ID from the allowlist.
remove(String) - Method in class com.privatechain.network.peer.PeerStore
Removes a peer from the store by node ID.
remove(UUID) - Method in class com.privatechain.core.mempool.TransactionMempool
Removes a specific transaction from the pool.
removeWallet(String) - Method in class com.privatechain.wallet.WalletManager
Removes a wallet from this manager by address.
replaceAllowlist(Collection<String>) - Method in class com.privatechain.access.allowlist.AllowlistManager
Replaces the allowlist with a new set of node IDs.
resolveCanonical(List<Block>, List<Block>) - Method in class com.privatechain.network.sync.ForkResolver
Selects the heavier chain from two competing chains.
revokeRole(String) - Method in class com.privatechain.access.rbac.PermissionManager
Revokes any role assignment for a given node.
RocksDBStorage - Class in com.privatechain.storage.rocksdb
High write-throughput, crash-safe BlockchainStorage implementation backed by RocksDB.
RocksDBStorage(String) - Constructor for class com.privatechain.storage.rocksdb.RocksDBStorage
Opens (or creates) a RocksDB database at the given directory path.
Role hierarchy and capabilities - Search tag in enum class com.privatechain.access.rbac.NodeRole
Section
roleName() - Method in enum class com.privatechain.access.rbac.NodeRole
Returns the user-friendly name of this role.
RoundRobinEngine - Class in com.privatechain.consensus.roundrobin
Slot-based consensus engine.
RoundRobinEngine(List<String>) - Constructor for class com.privatechain.consensus.roundrobin.RoundRobinEngine
Creates a round-robin engine with the supplied peer order.
Run with Maven - Search tag in class com.privatechain.examples.spring.SpringChainApp
Section

S

Sample detail map - Search tag in class com.privatechain.spring.BlockchainHealthIndicator
Section
save(Set<String>) - Method in interface com.privatechain.access.allowlist.AllowlistStore
Saves a set of node IDs to persistent storage, replacing any previously stored list.
saveBlock(Block) - Method in interface com.privatechain.core.spi.BlockchainStorage
Persists a block to the underlying storage medium.
saveBlock(Block) - Method in class com.privatechain.storage.fs.FileSystemStorage
Persists a block as a JSON file using an atomic write-then-rename strategy.
saveBlock(Block) - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Persists a block atomically using a LevelDB WriteBatch.
saveBlock(Block) - Method in class com.privatechain.storage.memory.InMemoryStorage
Persists a block to the in-memory store.
saveBlock(Block) - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Persists a block atomically using a RocksDB WriteBatch.
saveToStore(AllowlistStore) - Method in class com.privatechain.access.allowlist.AllowlistManager
Saves the current allowlist to persistent storage.
Security invariants - Search tag in class com.privatechain.crypto.ECKeyPair
Section
send(Peer, MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.NodeClient
Sends a message to the given peer without waiting for a response.
sendAndReceive(Peer, MessageCodec.NetworkMessage) - Method in class com.privatechain.network.rpc.NodeClient
Sends a message to the given peer and blocks until a response is received.
setBlockTimeSeconds(int) - Method in class com.privatechain.spring.BlockchainProperties
Sets the target block time in seconds.
setChainId(String) - Method in class com.privatechain.spring.BlockchainProperties
Sets the chain identifier.
setDifficulty(int) - Method in class com.privatechain.spring.BlockchainProperties
Sets the Proof-of-Work difficulty.
setEnabled(boolean) - Method in class com.privatechain.spring.BlockchainProperties
Sets whether blockchain autoconfiguration is enabled.
setGossipProtocol(GossipProtocol) - Method in class com.privatechain.network.rpc.NodeServer
Wires the gossip protocol after construction (avoids circular dependency at construction time between NodeServer and GossipProtocol).
setMaxPeers(int) - Method in class com.privatechain.spring.BlockchainProperties
Sets the maximum number of simultaneous peer connections.
setMaxSize(int) - Method in class com.privatechain.spring.BlockchainProperties.Mempool
Sets the maximum mempool size.
setMempool(BlockchainProperties.Mempool) - Method in class com.privatechain.spring.BlockchainProperties
Sets the mempool configuration.
setNetworkPort(int) - Method in class com.privatechain.spring.BlockchainProperties
Sets the TCP port for the P2P node server.
setNodeServer(NodeServerLifecycle) - Method in class com.privatechain.core.builder.BlockchainNode
Wires the node server into this node.
setPeerManager(PeerManagerLifecycle) - Method in class com.privatechain.core.builder.BlockchainNode
Wires the peer manager into this node.
setSyncManager(ChainSyncer) - Method in class com.privatechain.core.builder.BlockchainNode
Wires the chain syncer into this node.
setTtl(Duration) - Method in class com.privatechain.spring.BlockchainProperties.Mempool
Sets the transaction TTL duration.
sha256(byte[]) - Static method in class com.privatechain.crypto.HashUtil
Computes the SHA-256 hash of a byte array.
sha256(String) - Static method in class com.privatechain.crypto.HashUtil
Computes the SHA-256 hash of a UTF-8–encoded string.
sha3_256(byte[]) - Static method in class com.privatechain.crypto.HashUtil
Computes the SHA-3-256 hash of a byte array.
sha3_256(String) - Static method in class com.privatechain.crypto.HashUtil
Computes the SHA-3-256 hash of a UTF-8–encoded string.
shouldSwitchTo(List<Block>, List<Block>) - Method in class com.privatechain.network.sync.ForkResolver
Returns true if the candidate chain should replace the local chain.
shutdown() - Method in class com.privatechain.core.event.BlockchainEventBus
Shuts down the event delivery executor gracefully.
shutdown() - Method in class com.privatechain.network.gossip.BlockBroadcaster
Shuts down the broadcast thread pool.
shutdown() - Method in class com.privatechain.network.gossip.GossipProtocol
Shuts down the gossip thread pool.
sign(byte[]) - Method in class com.privatechain.core.model.Transaction
Attaches the ECDSA signature to this transaction.
sign(byte[], ECKeyPair) - Static method in class com.privatechain.crypto.ECDSASignatureUtil
Convenience overload that accepts an ECKeyPair directly.
sign(byte[], PrivateKey) - Static method in class com.privatechain.crypto.ECDSASignatureUtil
Signs a byte array with the given ECDSA private key using SHA-256withECDSA.
sign(Transaction) - Method in class com.privatechain.wallet.Wallet
Signs a transaction with this wallet's private key.
size() - Method in class com.privatechain.access.allowlist.AllowlistManager
Returns the number of allowlisted nodes.
size() - Method in class com.privatechain.core.builder.Blockchain
Returns the number of blocks currently in the chain.
size() - Method in class com.privatechain.core.mempool.TransactionMempool
Returns the current number of transactions in the pool.
size() - Method in class com.privatechain.network.peer.PeerStore
Returns the total number of peers currently stored.
size() - Method in class com.privatechain.wallet.WalletManager
Returns the number of wallets managed by this manager.
SpringChainApp - Class in com.privatechain.examples.spring
Spring Boot entry point for the blockchain REST demo application.
SpringChainApp() - Constructor for class com.privatechain.examples.spring.SpringChainApp
 
start() - Method in class com.privatechain.core.builder.BlockchainNode
Starts the blockchain node.
start() - Method in interface com.privatechain.core.network.NodeServerLifecycle
Binds the server to its configured TCP port and starts accepting inbound peer connections.
start() - Method in interface com.privatechain.core.network.PeerManagerLifecycle
Starts the peer manager (heartbeat scheduler, seed peer connections, etc.).
start() - Method in class com.privatechain.network.peer.PeerManager
Starts the peer manager and schedules the periodic heartbeat/pruning task.
start() - Method in class com.privatechain.network.rpc.NodeServer
Binds the server socket and starts the accept loop on a daemon thread.
start(Duration) - Method in class com.privatechain.core.mempool.TransactionMempool
Starts the background TTL eviction scheduler.
status() - Method in class com.privatechain.core.builder.BlockchainNode
Returns a snapshot of the current node status (NFR-UX-04).
STATUS - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Response reporting this node's current chain height.
statusMessage(String, int) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a STATUS message reporting this node's chain height.
stop() - Method in class com.privatechain.core.builder.BlockchainNode
Stops the blockchain node and cleanly releases all subsystems.
stop() - Method in class com.privatechain.core.mempool.TransactionMempool
Stops the background eviction scheduler and clears the pool.
stop() - Method in interface com.privatechain.core.network.NodeServerLifecycle
Stops the server and closes the listening socket.
stop() - Method in interface com.privatechain.core.network.PeerManagerLifecycle
Stops the peer manager and disconnects all active peers cleanly.
stop() - Method in class com.privatechain.network.peer.PeerManager
Stops the peer manager, disconnects all peers, and shuts down the heartbeat scheduler.
stop() - Method in class com.privatechain.network.rpc.NodeServer
Stops the server by closing the server socket and shutting down the handler pool.
stopNode() - Method in class com.privatechain.examples.spring.SpringChainApp
Stops the node cleanly when the Spring context shuts down.
storage(BlockchainStorage) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the storage backend.
Stream resource management - Search tag in class com.privatechain.storage.fs.FileSystemStorage
Section
submit(Transaction) - Method in class com.privatechain.core.mempool.TransactionMempool
Submits a transaction to the pool without pre-validation.
submitTransaction(Transaction) - Method in class com.privatechain.core.builder.BlockchainNode
Validates and submits a transaction through the configured validator chain.
submitTransaction(BlockchainRestController.TransactionRequest) - Method in class com.privatechain.examples.spring.BlockchainRestController
Accepts a payment transaction request, signs it with the demo wallet, and submits it to the mempool.
submitWithValidation(Transaction, Blockchain) - Method in class com.privatechain.core.mempool.TransactionMempool
Validates and submits a transaction using the configured TransactionValidator.
success() - Static method in class com.privatechain.core.spi.ValidationResult
Returns the canonical singleton representing a successful validation.
Supported algorithms - Search tag in class com.privatechain.crypto.HashUtil
Section
Supported message types - Search tag in class com.privatechain.network.rpc.MessageCodec
Section
syncChain() - Method in interface com.privatechain.core.network.ChainSyncer
Synchronizes the local chain with the network.
syncChain() - Method in class com.privatechain.network.sync.SyncManager
Performs chain synchronization against the connected peer network.
SyncManager - Class in com.privatechain.network.sync
Synchronizes the local blockchain with the P2P network on node startup and after partition recovery (FR-NET-04, design.md §4.3).
SyncManager(String, Blockchain, PeerManager, BlockFetcher, ForkResolver, MessageCodec, NodeClient) - Constructor for class com.privatechain.network.sync.SyncManager
Constructs a SyncManager with all required dependencies.

T

Thread safety - Search tag in class com.privatechain.access.allowlist.AllowlistManager
Section
Thread safety - Search tag in class com.privatechain.access.rbac.PermissionManager
Section
Thread safety - Search tag in class com.privatechain.core.builder.Blockchain
Section
Thread safety - Search tag in class com.privatechain.core.mempool.TransactionMempool
Section
Thread safety - Search tag in class com.privatechain.crypto.ECDSASignatureUtil
Section
Thread safety - Search tag in class com.privatechain.crypto.HashUtil
Section
Thread safety - Search tag in class com.privatechain.examples.spring.BlockchainRestController
Section
Thread safety - Search tag in class com.privatechain.network.gossip.BlockBroadcaster
Section
Thread safety - Search tag in class com.privatechain.network.gossip.GossipProtocol
Section
Thread safety - Search tag in class com.privatechain.network.peer.PeerStore
Section
Thread safety - Search tag in class com.privatechain.network.rpc.MessageCodec
Section
Thread safety - Search tag in class com.privatechain.network.rpc.NodeClient
Section
Thread safety - Search tag in class com.privatechain.network.rpc.NodeServer
Section
Thread safety - Search tag in class com.privatechain.network.sync.BlockFetcher
Section
Thread safety - Search tag in class com.privatechain.network.sync.ForkResolver
Section
Thread safety - Search tag in class com.privatechain.network.sync.SyncManager
Section
Thread safety - Search tag in class com.privatechain.storage.ChainExporter
Section
Thread safety - Search tag in class com.privatechain.storage.fs.FileSystemStorage
Section
Thread safety - Search tag in class com.privatechain.storage.leveldb.LevelDBStorage
Section
Thread safety - Search tag in class com.privatechain.storage.memory.InMemoryStorage
Section
Thread safety - Search tag in class com.privatechain.storage.rocksdb.RocksDBStorage
Section
Thread safety - Search tag in class com.privatechain.wallet.Wallet
Section
Thread safety - Search tag in class com.privatechain.wallet.WalletManager
Section
timestamp() - Method in record class com.privatechain.core.model.BlockHeader
Returns the value of the timestamp record component.
timestamp(Instant) - Method in class com.privatechain.core.model.BlockHeader.Builder
Sets the block timestamp.
TimestampBasedPrioritizer - Class in com.privatechain.core.mempool
Orders transactions by submission timestamp in ascending order (oldest first / FIFO).
TimestampBasedPrioritizer() - Constructor for class com.privatechain.core.mempool.TimestampBasedPrioritizer
 
toBytes(Block) - Static method in class com.privatechain.storage.BlockSerializer
Serializes a Block to its canonical UTF-8 JSON byte representation.
toCsv(Blockchain) - Static method in class com.privatechain.storage.ChainExporter
Exports the blockchain as a flat RFC-4180 CSV string for audit and analytics use (FR-SER-03).
toJson(Blockchain) - Static method in class com.privatechain.storage.ChainExporter
Serializes the entire blockchain to a compact JSON array string (FR-SER-02).
toJson(Block) - Static method in class com.privatechain.storage.BlockSerializer
Serializes a Block to a UTF-8 JSON string.
toSignableBytes() - Method in class com.privatechain.core.model.Transaction
Returns the byte array that the sender MUST sign and verifiers MUST verify.
toSignableBytes() - Method in class com.privatechain.examples.spring.BlockchainRestController.PaymentTransaction
Extends the base signable bytes with |currency so the currency field is cryptographically bound to the signature.
toString() - Method in class com.privatechain.access.invite.InvitationToken
toString() - Method in record class com.privatechain.core.builder.BlockchainNode.NodeStatus
Returns a string representation of this record class.
toString() - Method in class com.privatechain.core.event.BlockchainEvent.BlockAddedEvent
toString() - Method in class com.privatechain.core.event.BlockchainEvent.ForkDetectedEvent
toString() - Method in class com.privatechain.core.event.BlockchainEvent.PeerConnectedEvent
toString() - Method in class com.privatechain.core.event.BlockchainEvent.PeerDisconnectedEvent
toString() - Method in class com.privatechain.core.event.BlockchainEvent.TransactionSubmittedEvent
toString() - Method in class com.privatechain.core.mempool.FeeBasedPrioritizer
Returns a human-readable name for this prioritizer.
toString() - Method in class com.privatechain.core.mempool.MempoolSubmissionResult
Returns a human-readable string representation of this result.
toString() - Method in class com.privatechain.core.mempool.TimestampBasedPrioritizer
Returns a human-readable name for this prioritizer.
toString() - Method in class com.privatechain.core.model.Block
Human-readable summary safe for logging (hash truncated, no tx data).
toString() - Method in record class com.privatechain.core.model.BlockHeader
Returns a string representation of this record class.
toString() - Method in class com.privatechain.core.model.Transaction
Returns a human-readable summary of the transaction (safe for logging).
toString() - Method in class com.privatechain.core.spi.ValidationResult
toString() - Method in class com.privatechain.crypto.ECKeyPair
Returns a safe, human-readable summary of this key pair.
toString() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof.ProofNode
toString() - Method in class com.privatechain.crypto.MerkleTree.MerkleProof
toString() - Method in record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Returns a string representation of this record class.
toString() - Method in class com.privatechain.network.peer.Peer
Returns a human-readable summary of this peer (safe for logging).
toString() - Method in class com.privatechain.network.peer.PeerManager
Returns a human-readable summary of the peer manager state.
toString() - Method in class com.privatechain.network.peer.PeerStore
Returns a human-readable summary of the peer store (for logging).
toString() - Method in class com.privatechain.network.rpc.MessageCodec.NetworkMessage
Returns a log-safe summary of this message.
toString() - Method in class com.privatechain.storage.fs.FileSystemStorage
Returns a human-readable description of this storage instance.
toString() - Method in class com.privatechain.storage.leveldb.LevelDBStorage
Returns a human-readable description of this storage instance.
toString() - Method in class com.privatechain.storage.memory.InMemoryStorage
Returns a human-readable description of this storage instance.
toString() - Method in class com.privatechain.storage.rocksdb.RocksDBStorage
Returns a human-readable description of this storage instance.
toString() - Method in class com.privatechain.wallet.Wallet
Returns a human-readable summary of the wallet.
Transaction - Class in com.privatechain.core.model
Abstract base class for all blockchain transactions.
Transaction(UUID, String, String, BigDecimal, Instant, Map<String, Object>) - Constructor for class com.privatechain.core.model.Transaction
Constructs a new unsigned transaction with all required fields.
TRANSACTION - Enum constant in enum class com.privatechain.network.rpc.MessageCodec.MessageType
A signed transaction to be validated and added to the mempool.
TransactionMempool - Class in com.privatechain.core.mempool
In-memory pool of submitted, unconfirmed transactions ordered by a pluggable TransactionPrioritizer (FR-MEMPOOL-01 through FR-MEMPOOL-05).
TransactionMempool(TransactionPrioritizer) - Constructor for class com.privatechain.core.mempool.TransactionMempool
Creates a mempool with a prioritizer and no event-bus integration.
TransactionMempool(TransactionPrioritizer, int) - Constructor for class com.privatechain.core.mempool.TransactionMempool
Creates a mempool with a prioritizer, no validator, and bounded capacity.
TransactionMempool(TransactionPrioritizer, BlockchainEventBus) - Constructor for class com.privatechain.core.mempool.TransactionMempool
Creates a mempool with a prioritizer, event-bus integration, and the default unbounded capacity.
TransactionMempool(TransactionPrioritizer, TransactionValidator) - Constructor for class com.privatechain.core.mempool.TransactionMempool
Creates a mempool with a prioritizer, optional validator, and unbounded capacity.
TransactionMempool(TransactionPrioritizer, TransactionValidator, int) - Constructor for class com.privatechain.core.mempool.TransactionMempool
Creates a mempool with a prioritizer, optional validator, bounded capacity, and no event-bus integration.
TransactionMempool(TransactionPrioritizer, TransactionValidator, int, BlockchainEventBus) - Constructor for class com.privatechain.core.mempool.TransactionMempool
Full constructor wiring all dependencies.
transactionMessage(String, Transaction) - Method in class com.privatechain.network.rpc.MessageCodec
Creates a TRANSACTION message carrying the given transaction.
transactionPrioritizer(TransactionPrioritizer) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Sets the transaction prioritizer for mempool ordering (FR-MEMPOOL-02).
TransactionPrioritizer - Interface in com.privatechain.core.spi
Service Provider Interface (SPI) for ordering transactions in the mempool.
TransactionRequest(String, BigDecimal, String) - Constructor for record class com.privatechain.examples.spring.BlockchainRestController.TransactionRequest
Compact canonical constructor — validates required fields.
transactions(List<Transaction>) - Method in class com.privatechain.core.model.Block.Builder
Sets the transaction list for this block.
TransactionSubmittedEvent(Transaction) - Constructor for class com.privatechain.core.event.BlockchainEvent.TransactionSubmittedEvent
Constructs a TransactionSubmittedEvent.
TransactionValidationException - Exception Class in com.privatechain.core.exception
Thrown when a Transaction fails one or more TransactionValidator checks before entering the mempool or being included in a block.
TransactionValidationException(String, ValidationResult, Transaction) - Constructor for exception class com.privatechain.core.exception.TransactionValidationException
Constructs a TransactionValidationException.
transactionValidator(TransactionValidator) - Method in class com.privatechain.core.builder.BlockchainConfig.Builder
Appends a transaction validator to the validation chain (FR-TX-03).
TransactionValidator - Interface in com.privatechain.core.spi
Service Provider Interface (SPI) for pluggable transaction validation logic.
Transport - Search tag in class com.privatechain.network.rpc.NodeServer
Section

U

unregister(BlockchainEventListener) - Method in class com.privatechain.core.event.BlockchainEventBus
Unregisters a previously registered listener.
Usage - Search tag in class com.privatechain.access.allowlist.AllowlistManager
Section
Usage - Search tag in class com.privatechain.access.invite.InvitationService
Section
Usage - Search tag in class com.privatechain.access.invite.InvitationToken
Section
Usage - Search tag in class com.privatechain.access.rbac.PermissionManager
Section
Usage - Search tag in class com.privatechain.core.builder.GenesisBlockFactory
Section
Usage - Search tag in class com.privatechain.core.event.BlockchainEventBus
Section
Usage - Search tag in class com.privatechain.core.mempool.FeeBasedPrioritizer
Section
Usage - Search tag in class com.privatechain.core.mempool.MempoolSubmissionResult
Section
Usage - Search tag in class com.privatechain.core.mempool.TransactionMempool
Section
Usage - Search tag in class com.privatechain.core.model.Block
Section
Usage - Search tag in class com.privatechain.crypto.AddressUtil
Section
Usage - Search tag in class com.privatechain.crypto.ECDSASignatureUtil
Section
Usage - Search tag in class com.privatechain.crypto.KeyPairGenerator
Section
Usage - Search tag in class com.privatechain.crypto.MerkleTree
Section
Usage - Search tag in class com.privatechain.network.peer.Peer
Section
Usage - Search tag in class com.privatechain.network.rpc.NodeClient
Section
Usage - Search tag in class com.privatechain.storage.ChainExporter
Section
Usage - Search tag in class com.privatechain.storage.fs.FileSystemStorage
Section
Usage - Search tag in class com.privatechain.storage.leveldb.LevelDBStorage
Section
Usage - Search tag in class com.privatechain.storage.memory.InMemoryStorage
Section
Usage - Search tag in interface com.privatechain.access.allowlist.AllowlistStore
Section
Usage example - Search tag in interface com.privatechain.core.event.BlockchainEventListener
Section

V

VALID - Enum constant in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
Transaction passed all validation checks.
validate(Transaction, Blockchain) - Method in interface com.privatechain.core.spi.TransactionValidator
Validates a single transaction against the current chain state.
validateBlock(Block, Blockchain) - Method in class com.privatechain.consensus.pbft.PBFTEngine
Validates whether the candidate block satisfies the PBFT acceptance rules.
validateBlock(Block, Blockchain) - Method in class com.privatechain.consensus.poa.ProofOfAuthorityEngine
Validates whether the candidate block was produced by an authorized miner.
validateBlock(Block, Blockchain) - Method in class com.privatechain.consensus.pow.ProofOfWorkEngine
Validates whether the candidate block satisfies the proof-of-work rules.
validateBlock(Block, Blockchain) - Method in class com.privatechain.consensus.roundrobin.RoundRobinEngine
Validates whether the candidate block was produced by the peer assigned to the current slot.
validateBlock(Block, Blockchain) - Method in interface com.privatechain.core.spi.ConsensusEngine
Validates whether the given block satisfies the consensus rules of this engine.
ValidationResult - Class in com.privatechain.core.spi
ValidationResult.ValidationStatus - Enum Class in com.privatechain.core.spi
Classification of a transaction validation outcome.
valueOf(String) - Static method in enum class com.privatechain.access.rbac.NodeRole
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.privatechain.access.rbac.NodeRole
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.privatechain.core.spi.ValidationResult.ValidationStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.privatechain.network.rpc.MessageCodec.MessageType
Returns an array containing the constants of this enum class, in the order they are declared.
verify(byte[], byte[], ECKeyPair) - Static method in class com.privatechain.crypto.ECDSASignatureUtil
Convenience overload that accepts an ECKeyPair for verification.
verify(byte[], byte[], PublicKey) - Static method in class com.privatechain.crypto.ECDSASignatureUtil
Verifies a DER-encoded ECDSA signature against raw data and a public key.
verifyProof(MerkleTree.MerkleProof, String, String) - Static method in class com.privatechain.crypto.MerkleTree
Verifies that a MerkleTree.MerkleProof establishes inclusion of a transaction in a block whose Merkle root is expectedRoot.
verifyToken(InvitationToken) - Method in class com.privatechain.access.invite.InvitationService
Verifies an invitation token: checks the signature and expiry.
verifyToken(String) - Method in class com.privatechain.access.invite.InvitationService
Verifies an invitation token from an encoded (Base64) string.
version() - Method in record class com.privatechain.core.model.BlockHeader
Returns the value of the version record component.
version(int) - Method in class com.privatechain.core.model.BlockHeader.Builder
Sets the protocol version.

W

Wallet - Class in com.privatechain.wallet
Immutable wallet holding an EC key pair, a derived blockchain address, and performing transaction signing and balance queries.
WalletManager - Class in com.privatechain.wallet
Manager for creating, importing, and persisting wallets with encrypted keystores.
WalletManager() - Constructor for class com.privatechain.wallet.WalletManager
Constructs an empty wallet manager.
Why abstract, not interface? - Search tag in class com.privatechain.core.model.Transaction
Section
Wiring (Milestone 8 — T-066) - Search tag in class com.privatechain.core.event.BlockchainEventBus
Section
withLastSeen(Instant) - Method in class com.privatechain.network.peer.Peer
Returns a new Peer with the lastSeen field updated to the given instant.
withPublicKey(String) - Method in class com.privatechain.network.peer.Peer
Returns a new Peer with the public key filled in after handshake.
Write atomicity - Search tag in class com.privatechain.storage.fs.FileSystemStorage
Section
Writing a custom validator - Search tag in interface com.privatechain.core.spi.TransactionValidator
Section

Z

Zero-configuration start (AC-10) - Search tag in class com.privatechain.spring.BlockchainAutoConfiguration
Section
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form