Packages

package sync

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class ChainSync extends ChainVerificationLogger
  2. abstract class FilterSync extends ChainVerificationLogger

    A class that is meant to expose and api to sync GolombFilters and FilterHeaders from an external data source.

    A class that is meant to expose and api to sync GolombFilters and FilterHeaders from an external data source. The important thing to implement is

    getFilterFunc: BlockHeader => Future[GolombFilter]

    which will allow us to sync our internal filters against.

    It should be noted you are entirely trusting the provider of the getFilterFunc as you aren't able to validate the result against another peer that as BIP157 specifies

    See also

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

  3. case class FilterWithHeaderHash(filter: GolombFilter, filterHeaderHash: DoubleSha256DigestBE) extends Product with Serializable

    Represents a GolombFilter with it's org.bitcoins.core.gcs.FilterHeader associated with it This is needed because bitcoin core's 'getblockfilter' rpc returns things in this structure

    Represents a GolombFilter with it's org.bitcoins.core.gcs.FilterHeader associated with it This is needed because bitcoin core's 'getblockfilter' rpc returns things in this structure

    See also

    https://developer.bitcoin.org/reference/rpc/getblockfilter.html#argument-2-filtertype

Value Members

  1. object ChainSync extends ChainSync
  2. object FilterSync extends FilterSync

Ungrouped