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 Block
public int getTimestamp()
getTimestamp
in interface Block
public long getPreviousBlockId()
getPreviousBlockId
in interface Block
public byte[] getGeneratorPublicKey()
getGeneratorPublicKey
in interface Block
public byte[] getPreviousBlockHash()
getPreviousBlockHash
in interface Block
public long getTotalFeeFQT()
getTotalFeeFQT
in interface Block
public byte[] getPayloadHash()
getPayloadHash
in interface Block
public byte[] getGenerationSignature()
getGenerationSignature
in interface Block
public byte[] getBlockSignature()
getBlockSignature
in interface Block
public java.util.List<FxtTransactionImpl> getFxtTransactions()
getFxtTransactions
in interface Block
public long getBaseTarget()
getBaseTarget
in interface Block
public java.math.BigInteger getCumulativeDifficulty()
getCumulativeDifficulty
in interface Block
public long getNextBlockId()
getNextBlockId
in interface Block
public java.lang.String getStringId()
getStringId
in interface Block
public long getGeneratorId()
getGeneratorId
in interface Block
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static BlockImpl parseBlock(byte[] blockBytes, java.util.List<? extends FxtTransaction> blockTransactions) throws NxtException.NotValidException
NxtException.NotValidException