1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
electrs/TODO.md
Roman Zeyde 945a2d11d1
Remove irrelevant TODO
This can be achieved by limiting bitcoind mempool size.
2018-08-14 13:30:52 +03:00

16 lines
605 B
Markdown

# Electrum
* 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](https://electrumx.readthedocs.io/en/latest/protocol-basics.html#status)
# Rust
* Use [bytes](https://carllerche.github.io/bytes/bytes/index.html) instead of `Vec<u8>` when possible
* Use generators instead of vectors
* Use proper HTTP parser for JSONRPC replies over persistent connection
# Performance
* Consider https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#difference-of-spinning-disk