Class BasicConsensusConfigBuilders.Json

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

    Constructors
    Constructor
    Description
    Json(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Json

      public Json(ConsensusConfig<?,?> config)
      Creates the Json representation for the given configuration.
      Parameters:
      config - the configuration