Object/Class

com.alexdupre.litecoin

Block

Related Docs: class Block | package litecoin

Permalink

object Block extends LtcSerializer[Block] with Serializable

Linear Supertypes
Serializable, Serializable, LtcSerializer[Block], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Block
  2. Serializable
  3. Serializable
  4. LtcSerializer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 LivenetGenesisBlock: Block

    Permalink
  5. val RegtestGenesisBlock: Block

    Permalink
  6. val SegnetGenesisBlock: Block

    Permalink
  7. val TestnetGenesisBlock: Block

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def blockProof(block: Block): Double

    Permalink
  10. def checkProofOfWork(block: Block): Boolean

    Permalink

    Proof of work: hash(block) <= target difficulty

    Proof of work: hash(block) <= target difficulty

    returns

    true if the input block validates its expected proof of work

  11. def checkWitnessCommitment(block: Block): Boolean

    Permalink

    Checks the witness commitment of a block

    Checks the witness commitment of a block

    block

    block

    returns

    true if the witness commitment for this block is valid, or if this block does not contain a witness commitment nor any segwit transactions.

  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  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. def read(input: InputStream, protocolVersion: Long): Block

    Permalink

    read a message from a stream

    read a message from a stream

    returns

    a deserialized message

    Definition Classes
    BlockLtcSerializer
  23. def read(in: String): Block

    Permalink
    Definition Classes
    LtcSerializer
  24. def read(in: String, protocolVersion: Long): Block

    Permalink

    read a message from a hex string

    read a message from a hex string

    in

    message binary data in hex format

    returns

    a deserialized message of type T

    Definition Classes
    LtcSerializer
  25. def read(in: Seq[Byte]): Block

    Permalink
    Definition Classes
    LtcSerializer
  26. def read(in: Seq[Byte], protocolVersion: Long): Block

    Permalink

    read a message from a byte array

    read a message from a byte array

    in

    serialized message

    returns

    a deserialized message

    Definition Classes
    LtcSerializer
  27. def read(in: InputStream): Block

    Permalink
    Definition Classes
    LtcSerializer
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def validate(input: Block): Unit

    Permalink
    Definition Classes
    BlockLtcSerializer
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def witnessCommitment(tx: Transaction): Option[BinaryData]

    Permalink

    tx

    coinbase transaction

    returns

    the witness commitment included in this transaction, if any

  35. def witnessReservedValue(tx: Transaction): Option[BinaryData]

    Permalink

    tx

    coinbase transaction

    returns

    the witness reserved value included in the input of this tx if any

  36. def write(input: Block, out: OutputStream, protocolVersion: Long): Unit

    Permalink

    write a message to a stream

    write a message to a stream

    out

    output stream

    Definition Classes
    BlockLtcSerializer
  37. def write(t: Block): BinaryData

    Permalink
    Definition Classes
    LtcSerializer
  38. def write(t: Block, protocolVersion: Long): BinaryData

    Permalink

    write a message to a byte array

    write a message to a byte array

    t

    message

    returns

    a serialized message

    Definition Classes
    LtcSerializer
  39. def write(t: Block, out: OutputStream): Unit

    Permalink
    Definition Classes
    LtcSerializer

Inherited from Serializable

Inherited from Serializable

Inherited from LtcSerializer[Block]

Inherited from AnyRef

Inherited from Any

Ungrouped