Packages

object Blockchain extends BaseBlockChainCompObject with Serializable

Linear Supertypes
Serializable, BaseBlockChainCompObject, ChainVerificationLogger, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Blockchain
  2. Serializable
  3. BaseBlockChainCompObject
  4. ChainVerificationLogger
  5. Logging
  6. AnyRef
  7. 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 connectHeadersToChains(headers: Vector[BlockHeader], blockchains: Vector[Blockchain])(implicit chainAppConfig: ChainAppConfig): Vector[BlockchainUpdate]

    Iterates through each given blockchains attempting to connect the given headers to that chain

    Iterates through each given blockchains attempting to connect the given headers to that chain

    returns

    The final updates for each chain

    Definition Classes
    BaseBlockChainCompObject
  7. def connectTip(header: BlockHeader, blockchain: Blockchain)(implicit conf: ChainAppConfig): ConnectTipResult

    Attempts to connect the given block header with the given blockchain

    Attempts to connect the given block header with the given blockchain

    header

    the block header to connect to our chain

    blockchain

    the blockchain we are attempting to connect to

    Definition Classes
    BaseBlockChainCompObject
  8. final def connectWalkBackwards(current: BlockHeaderDb, ancestors: Vector[BlockHeaderDb]): Vector[BlockHeaderDb]

    Walks backwards from the current header searching through ancestors if current.previousBlockHashBE is in ancestors This does not validate other things such as POW.

    Walks backwards from the current header searching through ancestors if current.previousBlockHashBE is in ancestors This does not validate other things such as POW.

    Definition Classes
    BaseBlockChainCompObject
  9. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  11. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def fromHeaders(headers: Seq[BlockHeaderDb]): Blockchain
    Definition Classes
    Blockchain → BaseBlockChainCompObject
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  26. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  29. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  30. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  31. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def reconstructFromHeaders(childHeader: BlockHeaderDb, ancestors: Vector[BlockHeaderDb])(implicit chainAppConfig: ChainAppConfig): Vector[Blockchain]

    Walks backwards from a child header reconstructing a blockchain This validates things like POW, difficulty change etc.

    Walks backwards from a child header reconstructing a blockchain This validates things like POW, difficulty change etc.

    Definition Classes
    BaseBlockChainCompObject
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from Serializable

Inherited from BaseBlockChainCompObject

Inherited from ChainVerificationLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped