Class BlockDescriptions.Json

java.lang.Object
io.mokamint.node.internal.json.BlockDescriptionJson
io.mokamint.node.BlockDescriptions.Json
All Implemented Interfaces:
io.hotmoka.websockets.beans.api.JsonRepresentation<BlockDescription>
Enclosing class:
BlockDescriptions

public static class BlockDescriptions.Json extends io.mokamint.node.internal.json.BlockDescriptionJson
Json representation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Json(BlockDescription description)
    Creates the Json representation for the given block.
  • Method Summary

    Methods inherited from class io.mokamint.node.internal.json.BlockDescriptionJson

    getAcceleration, getDeadline, getHashingForBlocks, getHashingForDeadlines, getHashingForGenerations, getHashingForTransactions, getHashOfPreviousBlock, getHeight, getOblivion, getPower, getPublicKey, getSignatureForBlocks, getStartDateTimeUTC, getTargetBlockCreationTime, getTotalWaitingTime, getWeightedWaitingTime, unmap

    Methods inherited from class java.lang.Object

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

    • Json

      public Json(BlockDescription description)
      Creates the Json representation for the given block.
      Parameters:
      description - the block description