Trait/Object

scorex.block

Block

Related Docs: object Block | package block

Permalink

trait Block extends ScorexLogging

A block is an atomic piece of data network participates are agreed on.

A block has: - transactions data: a sequence of transactions, where a transaction is an atomic state update. Some metadata is possible as well(transactions Merkle tree root, state Merkle tree root etc).

- consensus data to check whether block was generated by a right party in a right way. E.g. "baseTarget" & "generatorSignature" fields in the Nxt block structure, nonce & difficulty in the Bitcoin block structure.

- a signature(s) of a block generator(s)

- additional data: block structure version no, timestamp etc

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

Type Members

  1. abstract type ConsensusDataType

    Permalink
  2. abstract type TransactionDataType

    Permalink

Abstract Value Members

  1. abstract val consensusDataField: BlockField[ConsensusDataType]

    Permalink
  2. implicit abstract val consensusModule: ConsensusModule[ConsensusDataType]

    Permalink
  3. abstract val referenceField: BlockIdField

    Permalink
  4. abstract val signerDataField: SignerDataBlockField

    Permalink
  5. abstract val timestampField: LongBlockField

    Permalink
  6. abstract val transactionDataField: BlockField[TransactionDataType]

    Permalink
  7. implicit abstract val transactionModule: TransactionModule[TransactionDataType]

    Permalink
  8. abstract val uniqueId: BlockId

    Permalink
  9. abstract val versionField: ByteBlockField

    Permalink

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val bytes: Array[Byte]

    Permalink
  6. lazy val bytesWithoutSignature: Array[Byte]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. lazy val encodedId: String

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    Block → AnyRef → Any
  11. lazy val fee: Long

    Permalink
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isValid: Boolean

    Permalink
  17. lazy val json: JsObject

    Permalink
  18. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    ScorexLogging
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. lazy val transactions: Seq[Transaction]

    Permalink
  25. final def wait(): Unit

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

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

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

Inherited from ScorexLogging

Inherited from AnyRef

Inherited from Any

Ungrouped