2018-06-15 09:23:48 +00:00
|
|
|
# Electrum
|
|
|
|
|
2018-06-03 18:07:01 +00:00
|
|
|
* Snapshot DB after successful indexing - and run queries on the latest snapshot
|
2018-06-15 09:23:48 +00:00
|
|
|
* Update height to -1 for txns with any [unconfirmed input](https://electrumx.readthedocs.io/en/latest/protocol-basics.html#status)
|
|
|
|
|
|
|
|
# Rust
|
2018-05-23 10:33:34 +00:00
|
|
|
|
2018-07-03 18:02:12 +00:00
|
|
|
* Use [bytes](https://carllerche.github.io/bytes/bytes/index.html) instead of `Vec<u8>` when possible
|
2018-06-03 18:07:01 +00:00
|
|
|
* Use generators instead of vectors
|
2018-07-13 18:12:26 +00:00
|
|
|
* Use proper HTTP parser for JSONRPC replies over persistent connection
|
2018-08-07 12:09:44 +00:00
|
|
|
|
|
|
|
# Performance
|
|
|
|
|
|
|
|
* Consider https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#difference-of-spinning-disk
|