-
public interface IBlock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getData()
byte[]
getHash()
int
getLeadingZerosCount()
byte[]
getMerkleRoot()
byte[]
getPreviousBlockHash()
long
getTimestamp()
java.util.List<ITransaction>
getTransactions()
long
getTries()
void
setData(java.lang.String data)
void
setHash(byte[] hash)
void
setMerkleRoot(byte[] merkleRoot)
void
setPreviousBlockHash(byte[] previousBlockHash)
void
setTimestamp(long timestamp)
void
setTransactions(java.util.List<ITransaction> transactions)
void
setTries(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)
-
-