Package nxt.blockchain
Class ChainTransactionId
java.lang.Object
nxt.blockchain.ChainTransactionId
- All Implemented Interfaces:
Comparable<ChainTransactionId>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic ChainTransactionIdfromStringId(String strId) getChain()intstatic ChainTransactionIdgetChainTransactionId(Transaction transaction) byte[]org.json.simple.JSONObjectgetJSON()longinthashCode()static ChainTransactionIdparse(ByteBuffer buffer) static ChainTransactionIdparse(org.json.simple.JSONObject json) voidput(ByteBuffer buffer) toString()
-
Field Details
-
BYTE_SIZE
public static final int BYTE_SIZE- See Also:
-
-
Constructor Details
-
ChainTransactionId
public ChainTransactionId(int chainId, byte[] hash)
-
-
Method Details
-
getChainId
public int getChainId() -
getStringId
-
getFullHash
public byte[] getFullHash() -
getTransactionId
public long getTransactionId() -
getChain
-
getChildChain
-
getTransaction
-
getChildTransaction
-
getChainTransactionId
-
parse
-
put
-
parse
-
getJSON
public org.json.simple.JSONObject getJSON() -
fromStringId
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ChainTransactionId>
-