Expand description
§silent-payments-scan
Pluggable scanning backends for BIP 352 Silent Payments.
This crate defines the ScanBackend trait that all scanning backends
implement, allowing wallet developers to swap infrastructure (Electrum,
Esplora, BIP0352 index server) without changing application code.
§Feature Flags
electrum– EnablesElectrumBackendfor scanning via Electrum serversindex-server– EnablesIndexServerBackendfor scanning via BIP0352 index servers
§Architecture
The trait is intentionally synchronous (no async runtime). Backends handle all data fetching internally – callers provide keys, height range, and callbacks. Connection errors bubble up immediately; the caller owns retry policy.
Re-exports§
pub use backend::OnMatch;pub use backend::OnProgress;pub use backend::ScanBackend;pub use error::ScanError;pub use electrum::ElectrumBackend;pub use index_server::IndexServerBackend;
Modules§
- backend
- Pluggable scanning backend trait for Silent Payments.
- electrum
- Electrum-based scanning backend for Silent Payments.
- error
- Error types for the Silent Payments scan crate.
- index_
server - BIP0352 index server scanning backend.