Class

scorex.transaction.state.database.blockchain

StoredBlockTree

Related Doc: package blockchain

Permalink

class StoredBlockTree extends BlockTree with ScorexLogging

TODO fix situation of forks If no datafolder provided, blocktree lives in RAM (useful for tests)

Linear Supertypes
BlockTree, ScorexLogging, History, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StoredBlockTree
  2. BlockTree
  3. ScorexLogging
  4. History
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StoredBlockTree(dataFolderOpt: Option[String], MaxRollback: Int)(implicit consensusModule: ConsensusModule[_], transactionModule: TransactionModule[_])

    Permalink

Type Members

  1. trait BlockTreePersistence extends AnyRef

    Permalink
  2. class MapDBBlockTreePersistence extends BlockTreePersistence

    Permalink

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. def appendBlock(block: Block): Try[BlocksToProcess]

    Permalink
    Definition Classes
    StoredBlockTree → History
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def averageDelay(block: Block, blockNum: Int): Try[Long]

    Permalink
    Definition Classes
    History
  7. def blockById(blockId: BlockId): Option[Block]

    Permalink
    Definition Classes
    StoredBlockTree → History
  8. def blockById(blockId: String): Option[Block]

    Permalink
    Definition Classes
    History
  9. def branchBlock(b1: Block, b2: Block, in: Int): Option[Block]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def confirmations(block: Block): Option[Int]

    Permalink
    Definition Classes
    History
  12. def contains(id: BlockId): Boolean

    Permalink
    Definition Classes
    StoredBlockTree → History
  13. def contains(block: Block): Boolean

    Permalink
    Definition Classes
    History
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def find(block: Block, limit: Int)(condition: (Block) ⇒ Boolean): Option[Block]

    Permalink
  18. def generatedBy(account: Account, from: Int, to: Int): Seq[Block]

    Permalink
    Definition Classes
    StoredBlockTree → History
  19. lazy val genesis: Block

    Permalink
    Definition Classes
    StoredBlockTree → History
  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def height(): Int

    Permalink
    Definition Classes
    StoredBlockTree → History
  23. def heightOf(blockId: BlockId): Option[Int]

    Permalink
    Definition Classes
    StoredBlockTree → History
  24. def heightOf(block: Block): Option[Int]

    Permalink
    Definition Classes
    History
  25. def isEmpty: Boolean

    Permalink
    Definition Classes
    History
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def lastBlock: Block

    Permalink
    Definition Classes
    StoredBlockTree → History
  28. def lastBlockIds(howMany: Int): Seq[BlockId]

    Permalink
    Definition Classes
    History
  29. def lastBlocks(howMany: Int): Seq[Block]

    Permalink
    Definition Classes
    StoredBlockTree → History
  30. def lastBlocks(block: Block, howMany: Int): Seq[Block]

    Permalink
  31. def log: LoggerFacade

    Permalink
    Attributes
    protected
    Definition Classes
    ScorexLogging
  32. def lookForward(parentSignature: BlockId, howMany: Int): Seq[BlockId]

    Permalink
    Definition Classes
    StoredBlockTree → History
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def parent(block: Block, back: Int = 1): Option[Block]

    Permalink
    Definition Classes
    StoredBlockTree → History
  37. def score(): BigInt

    Permalink
    Definition Classes
    StoredBlockTree → History
  38. def scoreOf(id: BlockId): BigInt

    Permalink
    Definition Classes
    StoredBlockTree → History
  39. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

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

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

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

Inherited from BlockTree

Inherited from ScorexLogging

Inherited from History

Inherited from AnyRef

Inherited from Any

Ungrouped