mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
17 lines
666 B
Markdown
17 lines
666 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)
|
|
* Limit mempool TXs (e.g. by fee rate) when mempool is large
|
|
|
|
# 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
|