-
public interface IBlock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetData()byte[]getHash()intgetLeadingZerosCount()byte[]getMerkleRoot()byte[]getPreviousBlockHash()longgetTimestamp()java.util.List<ITransaction>getTransactions()longgetTries()voidsetData(java.lang.String data)voidsetHash(byte[] hash)voidsetMerkleRoot(byte[] merkleRoot)voidsetPreviousBlockHash(byte[] previousBlockHash)voidsetTimestamp(long timestamp)voidsetTransactions(java.util.List<ITransaction> transactions)voidsetTries(long tries)
-
-
-
Method Detail
-
getData
java.lang.String getData()
-
setData
void setData(java.lang.String data)
-
getHash
byte[] getHash()
-
setHash
void setHash(byte[] hash)
-
getLeadingZerosCount
int getLeadingZerosCount()
-
getMerkleRoot
byte[] getMerkleRoot()
-
setMerkleRoot
void setMerkleRoot(byte[] merkleRoot)
-
getPreviousBlockHash
byte[] getPreviousBlockHash()
-
setPreviousBlockHash
void setPreviousBlockHash(byte[] previousBlockHash)
-
getTimestamp
long getTimestamp()
-
setTimestamp
void setTimestamp(long timestamp)
-
getTransactions
java.util.List<ITransaction> getTransactions()
-
setTransactions
void setTransactions(java.util.List<ITransaction> transactions)
-
getTries
long getTries()
-
setTries
void setTries(long tries)
-
-