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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScanBitcoind
- BitcoinSRunner
- BitcoinSLogger
- StartStopAsync
- StartStop
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScanBitcoind()(implicit system: ActorSystem, rpcAppConfig: BitcoindRpcAppConfig)
Value Members
- def countSegwitTxs(bitcoind: BitcoindRpcClient, startHeight: Int, endHeight: Int): Future[Unit]
- def countTaprootTxsInBlocks(endHeight: Int, lastBlocks: Int, bitcoind: BitcoindRpcClient): Future[Int]
- def countWitV1MempoolTxs(bitcoind: BitcoindRpcClient): Future[Int]
- implicit lazy val ec: ExecutionContext
- Definition Classes
- BitcoinSRunner
- def getMemPoolSource(bitcoind: BitcoindRpcClient): Future[Source[Transaction, NotUsed]]
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def run(): Future[Unit]
- Definition Classes
- BitcoinSRunner
- 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
- def start(): Future[Unit]
- Definition Classes
- ScanBitcoind → StartStop
- def stop(): Future[Unit]
- Definition Classes
- ScanBitcoind → StartStop
- implicit val system: ActorSystem
- Definition Classes
- ScanBitcoind → BitcoinSRunner