Module crypt.api

Interface IBlock


public interface IBlock
  • Method Details

    • getData

      String getData()
    • setData

      void setData(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

      List<ITransaction> getTransactions()
    • setTransactions

      void setTransactions(List<ITransaction> transactions)
    • getTries

      long getTries()
    • setTries

      void setTries(long tries)