Module io.mokamint.node
Package io.mokamint.node
Class AbstractConsensusConfig<C extends ConsensusConfig<C,B>,B extends ConsensusConfigBuilder<C,B>>
java.lang.Object
io.mokamint.node.internal.ConsensusConfigImpl<C,B>
io.mokamint.node.AbstractConsensusConfig<C,B>
- Type Parameters:
C- the concrete type of the configurationB- the concrete type of the builder
- All Implemented Interfaces:
ConsensusConfig<C,B>
public abstract class AbstractConsensusConfig<C extends ConsensusConfig<C,B>,B extends ConsensusConfigBuilder<C,B>>
extends io.mokamint.node.internal.ConsensusConfigImpl<C,B>
The configuration of a Mokamint node. Nodes of the same network must agree
on this data in order to achieve consensus.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.mokamint.node.internal.ConsensusConfigImpl
io.mokamint.node.internal.ConsensusConfigImpl.ConsensusConfigBuilderImpl<C extends ConsensusConfig<C,B>, B extends ConsensusConfigBuilder<C, B>> -
Field Summary
Fields inherited from class io.mokamint.node.internal.ConsensusConfigImpl
chainId, hashingForBlocks, hashingForDeadlines, hashingForGenerations, hashingForTransactions, maxBlockSize, maxTransactionSize, oblivion, signatureForBlocks, signatureForDeadlines, targetBlockCreationTime -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFull constructor for the builder pattern. -
Method Summary
Methods inherited from class io.mokamint.node.internal.ConsensusConfigImpl
equals, getChainId, getHashingForBlocks, getHashingForDeadlines, getHashingForGenerations, getHashingForTransactions, getMaxBlockSize, getMaxTransactionSize, getOblivion, getSignatureForBlocks, getSignatureForDeadlines, getTargetBlockCreationTime, hashCode, toString, toTomlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.mokamint.node.api.ConsensusConfig
toBuilder
-
Constructor Details
-
AbstractConsensusConfig
Full constructor for the builder pattern.- Parameters:
builder- the builder where information is extracted from
-