1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00
electrs/TODO.md
Roman Zeyde 07bd5401d4
Remove fixed TODOs
Deprecated by bulk indexing from blk*.dat files
2018-07-03 21:05:28 +03:00

787 B

Electrum

  • Poll mempool after transaction broadcast
  • 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
  • Limit mempool TXs (e.g. by fee rate) when mempool is large

Bitcoind

  • Handle bitcoind connection failures - instead of crashing
  • Add getrawtransactions() API (for RPC batching)

Performance

  • Use rayon for faster multi-block indexing on multi-core systems
  • Experiment with sled DB

Rust

  • Use bytes instead of Vec<u8> when possible
  • Use generators instead of vectors