package
Version:
v1.4.10
Opens a new window with list of versions in this module.
Published: Jan 28, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AreSame returns true if both the heights are either nil or equal
Height represents the height of a transaction in blockchain
NewHeight constructs a new instance of Height
NewHeightFromBytes constructs a new instance of Height from serialized bytes
Compare return a -1, zero, or +1 based on whether this height is
less than, equals to, or greater than the specified height respectively.
String returns string for printing
ToBytes serializes the Height
Source Files
¶
Click to show internal directories.
Click to hide internal directories.