public interface IBlock
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
byte[]
getHash()
int
byte[]
byte[]
long
long
getTries()
void
void
setHash
(byte[] hash) void
setMerkleRoot
(byte[] merkleRoot) void
setPreviousBlockHash
(byte[] previousBlockHash) void
setTimestamp
(long timestamp) void
setTransactions
(List<ITransaction> transactions) void
setTries
(long tries)
-
Method Details
-
getData
String getData() -
setData
-
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
List<ITransaction> getTransactions() -
setTransactions
-
getTries
long getTries() -
setTries
void setTries(long tries)
-