1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-24 23:08:39 +01:00
electrs/TODO.txt

22 lines
996 B
Text
Raw Normal View History

= Electrum
Update height to -1 for txns with any unconfirmed input (https://electrumx.readthedocs.io/en/latest/protocol-basics.html#status)
Snapshot DB after successful indexing - and run queries on this snapshot
Handle multiple RPC client in parallel
Figure out graceful shutting down and error logging for RPC server
= Bitcoind
2018-05-20 23:07:10 +03:00
Handle bitcoind connection failures - instead of crashing
Use p2p protocol for querying blocks - similar to `bitcoincore-indexd`
Lookup confirmed transactions only at their blocks (using `blockhash` parameter of `getrawtransaction` RPC), so -txindex won't be needed
Add getrawtransactions() API (for RPC batching)
= Performance
Add timing/profiler helpers (for indexing/DB/RPC operations)
2018-05-20 23:07:10 +03:00
Measure first-time query latency
= Rust
2018-05-24 15:12:28 +03:00
Use Bytes instead of Vec[u8] when possible
Handle SIGINT gracefully (https://www.reddit.com/r/rust/comments/6swidb/how_to_properly_catch_sigint_in_a_threaded_program/)
Return errors instead of panics
Use generators instead of vectors