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
ConstructorsConstructorDescriptionJson(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
-
Constructor Details
-
Json
Creates the Json representation for the given block.- Parameters:
description- the block description
-