Class MinimalBlockInfo


  • public class MinimalBlockInfo
    extends java.lang.Object
    Minimal info of a `Block`
    Since:
    0.0.1
    See Also:
    PeerData
    • Constructor Detail

      • MinimalBlockInfo

        public MinimalBlockInfo()
    • Method Detail

      • getEraId

        public java.math.BigInteger getEraId()
        Era ID
      • getHash

        public java.lang.String getHash()
        Block Hash
      • getHeight

        public java.math.BigInteger getHeight()
        Block Height
      • getStateRootHash

        public java.lang.String getStateRootHash()
        Hex-encoded hash digest
      • getTimeStamp

        public java.sql.Date getTimeStamp()
        Timestamp formatted as per RFC 3339
      • setEraId

        public void setEraId​(java.math.BigInteger eraId)
        Era ID
      • setHash

        public void setHash​(java.lang.String hash)
        Block Hash
      • setHeight

        public void setHeight​(java.math.BigInteger height)
        Block Height
      • setStateRootHash

        public void setStateRootHash​(java.lang.String stateRootHash)
        Hex-encoded hash digest
      • setTimeStamp

        public void setTimeStamp​(java.sql.Date timeStamp)
        Timestamp formatted as per RFC 3339
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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