| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getBaseTarget() |
byte[] |
getBlockSignature() |
byte[] |
getBytes() |
java.math.BigInteger |
getCumulativeDifficulty() |
java.util.List<FxtTransactionImpl> |
getFxtTransactions() |
byte[] |
getGenerationSignature() |
long |
getGeneratorId() |
byte[] |
getGeneratorPublicKey() |
int |
getHeight() |
long |
getId() |
long |
getNextBlockId() |
byte[] |
getPayloadHash() |
byte[] |
getPreviousBlockHash() |
long |
getPreviousBlockId() |
java.lang.String |
getStringId() |
int |
getTimestamp() |
long |
getTotalFeeFQT() |
int |
getVersion() |
int |
hashCode() |
static BlockImpl |
parseBlock(byte[] blockBytes,
java.util.List<? extends FxtTransaction> blockTransactions) |
java.lang.String |
toString() |
public int getVersion()
getVersion in interface Blockpublic int getTimestamp()
getTimestamp in interface Blockpublic long getPreviousBlockId()
getPreviousBlockId in interface Blockpublic byte[] getGeneratorPublicKey()
getGeneratorPublicKey in interface Blockpublic byte[] getPreviousBlockHash()
getPreviousBlockHash in interface Blockpublic long getTotalFeeFQT()
getTotalFeeFQT in interface Blockpublic byte[] getPayloadHash()
getPayloadHash in interface Blockpublic byte[] getGenerationSignature()
getGenerationSignature in interface Blockpublic byte[] getBlockSignature()
getBlockSignature in interface Blockpublic java.util.List<FxtTransactionImpl> getFxtTransactions()
getFxtTransactions in interface Blockpublic long getBaseTarget()
getBaseTarget in interface Blockpublic java.math.BigInteger getCumulativeDifficulty()
getCumulativeDifficulty in interface Blockpublic long getNextBlockId()
getNextBlockId in interface Blockpublic java.lang.String getStringId()
getStringId in interface Blockpublic long getGeneratorId()
getGeneratorId in interface Blockpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static BlockImpl parseBlock(byte[] blockBytes, java.util.List<? extends FxtTransaction> blockTransactions) throws NxtException.NotValidException
NxtException.NotValidException