public class HardforkVersion extends Version implements ByteTransformable
| Constructor and Description |
|---|
HardforkVersion(byte majorVersion,
byte hardforkVersion)
This class represents a hardfork version.
|
HardforkVersion(String hardforkVersion)
Like
HardforkVersion(byte, byte), but expects the hardfork
version in its String representation. |
HardforkVersion(Version hardforkVersion)
Like
HardforkVersion(byte, byte), but expects a Version object. |
toByteArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoByteArraypublic HardforkVersion(byte majorVersion,
byte hardforkVersion)
majorVersion - The major version to set.hardforkVersion - The hardfork version to set.public HardforkVersion(Version hardforkVersion)
HardforkVersion(byte, byte), but expects a Version object.hardforkVersion - The hardfork version to set.public HardforkVersion(String hardforkVersion)
HardforkVersion(byte, byte), but expects the hardfork
version in its String representation.hardforkVersion - The hardfork version to set.Copyright © 2019. All rights reserved.