-
public class LinkageHash
-
-
Field Summary
Fields Modifier and Type Field Description private Array<byte>automationIDprivate byteheadHashprivate Array<byte>bodyHash
-
Constructor Summary
Constructors Constructor Description LinkageHash(Array<byte> automationID, byte headHash, Array<byte> bodyHash)
-
Method Summary
Modifier and Type Method Description Array<byte>getAutomationID()voidsetAutomationID(Array<byte> automationID)bytegetHeadHash()voidsetHeadHash(byte headHash)Array<byte>getBodyHash()voidsetBodyHash(Array<byte> bodyHash)booleanisLinkageOpen()Determines whether the linkage configuration corresponding to the hash is enabled. -
-
Method Detail
-
getAutomationID
Array<byte> getAutomationID()
-
setAutomationID
void setAutomationID(Array<byte> automationID)
-
getHeadHash
byte getHeadHash()
-
setHeadHash
void setHeadHash(byte headHash)
-
getBodyHash
Array<byte> getBodyHash()
-
setBodyHash
void setBodyHash(Array<byte> bodyHash)
-
isLinkageOpen
boolean isLinkageOpen()
Determines whether the linkage configuration corresponding to the hash is enabled.The judgment is based on whether the highest bit of headHash is 1
-
-
-
-