2018-06-15 11:23:48 +02:00
|
|
|
# Electrum
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
# Rust
|
2018-05-23 12:33:34 +02:00
|
|
|
|
2018-07-03 20:02:12 +02:00
|
|
|
* Use [bytes](https://carllerche.github.io/bytes/bytes/index.html) instead of `Vec<u8>` when possible
|
2018-06-03 20:07:01 +02:00
|
|
|
* Use generators instead of vectors
|
2018-07-13 20:12:26 +02:00
|
|
|
* Use proper HTTP parser for JSONRPC replies over persistent connection
|
2018-08-07 14:09:44 +02:00
|
|
|
|
|
|
|
# Performance
|
|
|
|
|
|
|
|
* Consider https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#difference-of-spinning-disk
|