1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00

Re-format several files

This commit is contained in:
Roman Zeyde 2018-06-03 20:42:01 +03:00
parent e7ec19408b
commit 1f8b6df531
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB
4 changed files with 12 additions and 6 deletions

View File

@ -21,4 +21,5 @@ serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"
serde_json = "1.0" serde_json = "1.0"
simplelog = "0.5" simplelog = "0.5"
sled = "0.15"
time = "0.1" time = "0.1"

View File

@ -1,2 +1,2 @@
Bitcoin indexer and Electrum Server in Rust Electrum Server in Rust
=========================================== =======================

View File

@ -1,19 +1,23 @@
= Electrum Electrum
========
Update height to -1 for txns with any unconfirmed input (https://electrumx.readthedocs.io/en/latest/protocol-basics.html#status) 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 Snapshot DB after successful indexing - and run queries on this snapshot
Figure out graceful shutting down RPC server Figure out graceful shutting down RPC server
= Bitcoind Bitcoind
========
Handle bitcoind connection failures - instead of crashing Handle bitcoind connection failures - instead of crashing
Use p2p protocol for querying blocks - similar to `bitcoincore-indexd` Use p2p protocol for querying blocks - similar to `bitcoincore-indexd`
Add getrawtransactions() API (for RPC batching) Add getrawtransactions() API (for RPC batching)
= Performance Performance
===========
Add timing/profiler helpers (for indexing/DB/RPC operations) Add timing/profiler helpers (for indexing/DB/RPC operations)
Measure first-time query latency Measure first-time query latency
Flush only on the last write. Flush only on the last write.
= Rust Rust
====
Use Bytes instead of Vec[u8] when possible Use Bytes instead of Vec[u8] when possible
Return errors instead of panics Return errors instead of panics
Use generators instead of vectors Use generators instead of vectors

View File

@ -12,6 +12,7 @@ extern crate rocksdb;
extern crate serde; extern crate serde;
extern crate simplelog; extern crate simplelog;
extern crate time; extern crate time;
#[macro_use] #[macro_use]
extern crate chan; extern crate chan;
#[macro_use] #[macro_use]