Class BlockResponse

java.lang.Object
com.exonum.client.response.BlockResponse

public final class BlockResponse
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    BlockResponse​(Block block, java.util.List<com.exonum.binding.common.hash.HashCode> transactionHashes)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    Block getBlock()
    Blockchain block.
    java.util.List<com.exonum.binding.common.hash.HashCode> getTransactionHashes()
    Transaction hashes included at this block.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BlockResponse

      public BlockResponse​(Block block, java.util.List<com.exonum.binding.common.hash.HashCode> transactionHashes)
  • Method Details

    • getBlock

      public Block getBlock()
      Blockchain block.
    • getTransactionHashes

      public java.util.List<com.exonum.binding.common.hash.HashCode> getTransactionHashes()
      Transaction hashes included at this block.
      See Also:
      TransactionMessage.hash()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object