pub trait StatelessBlockchain: Blockchain { }
Expand description

Trait for blockchains that don’t contain any state

Statless blockchains can be used to sync multiple wallets with different descriptors.

BlockchainFactory is automatically implemented for Arc<T> where T is a stateless blockchain.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl StatelessBlockchain for ElectrumBlockchain

Available on crate feature electrum only.
source§

impl StatelessBlockchain for EsploraBlockchain

Available on crate feature esplora only.