Class

com.ubirch.backend.chain.model

BlockInfo

Related Doc: package model

Permalink

case class BlockInfo(hash: String, previousBlockHash: String, number: Long, anchors: Seq[Anchor] = Seq.empty, created: DateTime = DateUtil.nowUTC, version: String = MetaModel.version) extends BaseBlock with PreviousBlockReference with AnchoredBlock with Product with Serializable

hash

hash of the block

previousBlockHash

hash of the previous block

anchors

optional list of anchors to other chains

Linear Supertypes
Serializable, Serializable, Product, Equals, AnchoredBlock, PreviousBlockReference, BaseBlock, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockInfo
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnchoredBlock
  7. PreviousBlockReference
  8. BaseBlock
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BlockInfo(hash: String, previousBlockHash: String, number: Long, anchors: Seq[Anchor] = Seq.empty, created: DateTime = DateUtil.nowUTC, version: String = MetaModel.version)

    Permalink

    hash

    hash of the block

    previousBlockHash

    hash of the previous block

    anchors

    optional list of anchors to other chains

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val anchors: Seq[Anchor]

    Permalink

    optional list of anchors to other chains

    optional list of anchors to other chains

    Definition Classes
    BlockInfoAnchoredBlock
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val created: DateTime

    Permalink

    when the block was created *

    when the block was created *

    Definition Classes
    BlockInfoBaseBlock
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val hash: String

    Permalink

    hash of the block

    hash of the block

    Definition Classes
    BlockInfoBaseBlock
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. val number: Long

    Permalink

    blocks are explicitly numbered *

    blocks are explicitly numbered *

    Definition Classes
    BlockInfoBaseBlock
  17. val previousBlockHash: String

    Permalink

    hash of the previous block

    hash of the previous block

    Definition Classes
    BlockInfoPreviousBlockReference
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. val version: String

    Permalink

    in which version of ubirchChainService was this block created *

    in which version of ubirchChainService was this block created *

    Definition Classes
    BlockInfoBaseBlock
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnchoredBlock

Inherited from PreviousBlockReference

Inherited from BaseBlock

Inherited from AnyRef

Inherited from Any

Ungrouped