Packages

class ScanBitcoind extends BitcoinSRunner[Unit]

Useful script for scanning bitcoind This file assumes you have pre-configured the connection between bitcoin-s and bitcoind inside of bitcoin-s.conf

See also

https://bitcoin-s.org/docs/config/configuration#example-configuration-file

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScanBitcoind
  2. BitcoinSRunner
  3. BitcoinSLogger
  4. StartStopAsync
  5. StartStop
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScanBitcoind()(implicit system: ActorSystem, rpcAppConfig: BitcoindRpcAppConfig)

Value Members

  1. def countSegwitTxs(bitcoind: BitcoindRpcClient, startHeight: Int, endHeight: Int): Future[Unit]
  2. def countTaprootTxsInBlocks(endHeight: Int, lastBlocks: Int, bitcoind: BitcoindRpcClient): Future[Int]
  3. def countWitV1MempoolTxs(bitcoind: BitcoindRpcClient): Future[Int]
  4. implicit lazy val ec: ExecutionContext
    Definition Classes
    BitcoinSRunner
  5. def getMemPoolSource(bitcoind: BitcoindRpcClient): Future[Source[Transaction, NotUsed]]
  6. def logger: Logger
    Definition Classes
    BitcoinSLogger
  7. final def run(): Future[Unit]
    Definition Classes
    BitcoinSRunner
  8. def searchBlocks[T](bitcoind: BitcoindRpcClient, source: Source[Int, NotUsed], f: (Block) => T, numParallelism: Int = Runtime.getRuntime.availableProcessors()): Future[Seq[T]]

    Searches a given Source[Int] that represents block heights applying f to them and returning a Seq[T] with the results

  9. def start(): Future[Unit]
    Definition Classes
    ScanBitcoindStartStop
  10. def stop(): Future[Unit]
    Definition Classes
    ScanBitcoindStartStop
  11. implicit val system: ActorSystem
    Definition Classes
    ScanBitcoindBitcoinSRunner