Package io.mokamint.application.messages
Class BeginBlockMessages
java.lang.Object
io.mokamint.application.messages.BeginBlockMessages
A provider of
BeginBlockMessage.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGson decoder.static classGson encoder.static classJson representation. -
Method Summary
Modifier and TypeMethodDescriptionstatic BeginBlockMessageof(long height, LocalDateTime when, byte[] stateId, String id) Yields aBeginBlockMessage.
-
Method Details
-
of
Yields aBeginBlockMessage.- Parameters:
height- the block height in the messagewhen- the block creation time in the messagestateId- the state identifier in the messageid- the identifier of the message- Returns:
- the message
-