1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 18:10:51 +01:00
electrs/TODO.rst
Roman Zeyde 64a4e096ce
Don't use Rust-based P2P block download
It seems to be limited to ~2 block/second - not sure why...
2018-06-07 22:46:31 +03:00

25 lines
816 B
ReStructuredText

Electrum
========
* Poll mempool after transaction broadcast
* Update subscriptions after index/mempool update
* 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>`_
Bitcoind
========
* Use persistent connection for donwloading multiple blocks
* Handle bitcoind connection failures - instead of crashing
* Add getrawtransactions() API (for RPC batching)
Performance
===========
* Export accumulated timing metrics (for indexing/DB/RPC operations) via Prometheus
* Measure first-time query latency
* Sync only on the last write.
Rust
====
* Use Bytes instead of Vec[u8] when possible
* Return errors instead of panics
* Use generators instead of vectors