java.lang.Object
io.mokamint.node.internal.json.BasicConsensusConfigJson
io.mokamint.node.BasicConsensusConfigBuilders.Json
- All Implemented Interfaces:
io.hotmoka.websockets.beans.api.JsonRepresentation<ConsensusConfig<?,?>>
- Enclosing class:
BasicConsensusConfigBuilders
public static class BasicConsensusConfigBuilders.Json
extends io.mokamint.node.internal.json.BasicConsensusConfigJson
Json representation.
-
Constructor Summary
ConstructorsConstructorDescriptionJson(ConsensusConfig<?, ?> config) Creates the Json representation for the given configuration. -
Method Summary
Methods inherited from class io.mokamint.node.internal.json.BasicConsensusConfigJson
getChainId, getHashingForBlocks, getHashingForDeadlines, getHashingForGenerations, getHashingForTransactions, getMaxBlockSize, getOblivion, getSignatureForBlocks, getSignatureForDeadlines, getTargetBlockCreationTime, unmap
-
Constructor Details
-
Json
Creates the Json representation for the given configuration.- Parameters:
config- the configuration
-