RCasatta / electrsd

Utility to run a regtest electrsd process connected to a given bitcoind instance, useful in integration testing environment.
MIT License
21 stars 16 forks source link

Implements `ElectrsD::wait_tx` and `ElectrsD::wait_block` #60

Closed RCasatta closed 1 year ago

RCasatta commented 1 year ago

It's frequent in test code to have bitcoind to generate blocks and wallets to send transactions and then tests must assert things only if electrs indexed the block or transaction, so code that busy wait on that is repeated in downstream test codes.

RCasatta commented 1 year ago

Implemented in #61