Packages

object Block extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Block
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def createAndSign(parentId: ModifierId, timestamp: Time, txs: Seq[TX], generatorBox: ArbitBox, publicKey: PublicKeyPropositionCurve25519, height: Long, difficulty: Long, version: PNVMVersion)(signFunction: (Array[Byte]) => Try[SignatureCurve25519]): Try[Block]

    Creates a new block

    Creates a new block

    parentId

    the id of the previous block

    timestamp

    time this block was forged

    txs

    a seqence of state modifiers

    generatorBox

    the Arbit box that resulted in the successful hit

    height

    the new height of the chain with this block

    difficulty

    the new difficulty of the chain with this block

    version

    a byte used to signal the serializer version to use for this block

    returns

    a block to be sent to the network

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def fromComponents(header: BlockHeader, body: BlockBody): Block

    Creates a full block from the individual components

    Creates a full block from the individual components

    header

    the header information needed by the consensus layer

    body

    the block body containing transactions

    returns

    a full block

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. implicit def jsonDecoder(implicit networkPrefix: NetworkPrefix): Decoder[Block]
  15. implicit val jsonEncoder: Encoder[Block]
  16. val modifierTypeId: @@[Byte, NodeViewModifier.ModifierTypeId.Tag]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toComponents(block: Block): (BlockHeader, BlockBody)

    Deconstruct a block to its compoennts

    Deconstruct a block to its compoennts

    block

    the block to decompose

    returns

    a block header and block body

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped