- All Known Subinterfaces:
Deadline
public interface DeadlineDescription
The description of a deadline. This can be provided for instance to
a miner to describe the properties if the deadline one is looking for.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Yields the data used to compute the deadline.io.hotmoka.crypto.api.HashingAlgorithm<byte[]>The hashing algorithm used for the plot file from which this deadline has been generated.intYields the number of the scoop considered to compute the deadline.toString()Yields a string representation of this deadline description.
-
Method Details
-
getScoopNumber
int getScoopNumber()Yields the number of the scoop considered to compute the deadline.- Returns:
- the number of the scoop
-
getData
byte[] getData()Yields the data used to compute the deadline.- Returns:
- the data
-
getHashing
io.hotmoka.crypto.api.HashingAlgorithm<byte[]> getHashing()The hashing algorithm used for the plot file from which this deadline has been generated.- Returns:
- the hashing algorithm
-
toString
String toString()Yields a string representation of this deadline description.
-