Packages

package chain

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package db

Type Members

  1. case class Blockchain(headers: Vector[BlockHeaderDb]) extends BaseBlockChain with Product with Serializable

    <invalid inheritdoc annotation>

  2. sealed abstract class BlockchainUpdate extends AnyRef

    Represens the state of a batch of BlockHeaders being added to our blockchain

    Represens the state of a batch of BlockHeaders being added to our blockchain

    An example of a Failed update is when we receive a BlockHeader that is invalid and because of a TipUpdateFailure because of BadPOW or a BadNonce etc

  3. trait ChainApi extends ChainQueryApi

    Entry api to the chain project for adding new things to our blockchain

  4. trait ChainQueryApi extends AnyRef

    This trait provides methods to query various types of blockchain data.

  5. sealed trait ConnectTipResult extends AnyRef

    The result indicating how the TipUpdateResult modified the chain.

    The result indicating how the TipUpdateResult modified the chain.

    We can

    1. Extend the chain 2. Reorg the chain 3. Fail to connect to anything in the chain
  6. case class FilterSyncMarker(startHeight: Int, stopBlockHash: DoubleSha256Digest) extends Product with Serializable

    This is a helper class for syncing block filters following the BIP157 protocol.

    This is a helper class for syncing block filters following the BIP157 protocol. This indicates the starting block height we are syncing filters at, and the last block hash we expect in the batch of filters sent back to us by our peer

    See also

    https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki#cfheaders

  7. sealed abstract class TipUpdateResult extends AnyRef

    Represents the result of updating the chain with the given header

  8. trait TipValidationApi extends AnyRef

Value Members

  1. object Blockchain extends BaseBlockChainCompObject with Serializable
  2. object BlockchainUpdate
  3. object ChainQueryApi
  4. object ConnectTipResult
  5. object TipUpdateResult

Ungrouped