mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
780 B
780 B
Electrum
- Poll mempool after transaction broadcast
- Support TLS (via https://docs.rs/rustls/)
- Snapshot DB after successful indexing - and run queries on the latest snapshot
- Update height to -1 for txns with any unconfirmed input
Bitcoind
- Stream blocks (instead batching RPCs)
- Use nTx from getblockheader RPC for better batching
- Handle bitcoind connection failures - instead of crashing
- Add getrawtransactions() API (for RPC batching)
Performance
- Experiment with sled DB
Rust
- Use Bytes instead of Vec[u8] when possible
- Return errors instead of panics
- Use generators instead of vectors