Uses of Interface
com.privatechain.core.spi.ConsensusEngine
Packages that use ConsensusEngine
Package
Description
Practical Byzantine Fault Tolerance (PBFT) consensus engine (FR-CONS-04, NFR-REL-03).
Proof of Authority (PoA) consensus engine — accepts blocks only from a configured
set of authorized signer addresses (FR-CONS-03, AC-02).
Proof of Work (PoW) consensus engine — SHA-256 hash mining with configurable
difficulty (FR-CONS-02, AC-03).
Round-Robin consensus engine — deterministic slot-based block production for
development and testing (FR-CONS-05).
Assembly layer — the single location where all library modules are composed.
Spring Boot autoconfiguration for the private-blockchain library (FR-CFG-03, AC-10).
-
Uses of ConsensusEngine in com.privatechain.consensus.pbft
Classes in com.privatechain.consensus.pbft that implement ConsensusEngineModifier and TypeClassDescriptionfinal classPractical Byzantine Fault Tolerance consensus engine. -
Uses of ConsensusEngine in com.privatechain.consensus.poa
Classes in com.privatechain.consensus.poa that implement ConsensusEngineModifier and TypeClassDescriptionfinal classProof-of-authority consensus engine. -
Uses of ConsensusEngine in com.privatechain.consensus.pow
Classes in com.privatechain.consensus.pow that implement ConsensusEngineModifier and TypeClassDescriptionfinal classSHA-256 proof-of-work consensus engine. -
Uses of ConsensusEngine in com.privatechain.consensus.roundrobin
Classes in com.privatechain.consensus.roundrobin that implement ConsensusEngine -
Uses of ConsensusEngine in com.privatechain.core.builder
Methods in com.privatechain.core.builder that return ConsensusEngineModifier and TypeMethodDescriptionBlockchain.getConsensusEngine()Returns the consensus engine used by this chain.BlockchainConfig.getConsensusEngine()Returns the configured consensus engine.Methods in com.privatechain.core.builder with parameters of type ConsensusEngineModifier and TypeMethodDescriptionBlockchainConfig.Builder.consensusEngine(ConsensusEngine engine) Sets the consensus engine.Constructors in com.privatechain.core.builder with parameters of type ConsensusEngineModifierConstructorDescriptionBlockchain(ConsensusEngine consensusEngine, BlockchainStorage storage, BlockchainEventBus eventBus) Constructs aBlockchainwith the given dependencies. -
Uses of ConsensusEngine in com.privatechain.spring
Method parameters in com.privatechain.spring with type arguments of type ConsensusEngineModifier and TypeMethodDescriptionBlockchainAutoConfiguration.blockchainNode(BlockchainProperties properties, org.springframework.beans.factory.ObjectProvider<ConsensusEngine> engineProvider, org.springframework.beans.factory.ObjectProvider<BlockchainStorage> storageProvider, org.springframework.beans.factory.ObjectProvider<TransactionValidator> validatorProvider, org.springframework.beans.factory.ObjectProvider<BlockchainEventListener> listenerProvider) Creates and wires theBlockchainNodebean from bound properties and any user-provided override beans (T-070, T-072).