java.lang.Object
io.mokamint.node.ChainPortions
Providers of objects containing the hashes of a sorted, sequential portion
of the current best chain of a Mokamint node.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGson decoder.static classGson encoder.static classJson representation. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChainPortionYields the container of the hashes of a sequential portion of the current best chain of a Mokamint node.
-
Method Details
-
of
Yields the container of the hashes of a sequential portion of the current best chain of a Mokamint node.- Parameters:
hashes- the hashes, in increasing order of height- Returns:
- the object containing the sequential hashes
-