1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00
electrs/TODO.md

24 lines
780 B
Markdown
Raw Normal View History

2018-06-15 11:23:48 +02:00
# Electrum
2018-06-03 22:28:18 +02:00
* Poll mempool after transaction broadcast
2018-06-16 11:38:43 +02:00
* Support TLS (via https://docs.rs/rustls/)
2018-06-03 20:07:01 +02:00
* Snapshot DB after successful indexing - and run queries on the latest snapshot
2018-06-15 11:23:48 +02:00
* Update height to -1 for txns with any [unconfirmed input](https://electrumx.readthedocs.io/en/latest/protocol-basics.html#status)
# Bitcoind
2018-06-16 11:38:43 +02:00
* Stream blocks (instead batching RPCs)
2018-06-15 11:23:48 +02:00
* Use nTx from [getblockheader RPC](https://github.com/bitcoin/bitcoin/pull/13451) for better batching
2018-06-03 20:07:01 +02:00
* Handle bitcoind connection failures - instead of crashing
* Add getrawtransactions() API (for RPC batching)
2018-06-15 11:23:48 +02:00
# Performance
* Experiment with [sled](https://github.com/spacejam/sled) DB
# Rust
2018-06-03 20:07:01 +02:00
* Use Bytes instead of Vec[u8] when possible
* Return errors instead of panics
* Use generators instead of vectors