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:
parent
e7ec19408b
commit
1f8b6df531
@ -21,4 +21,5 @@ serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde_json = "1.0"
|
||||
simplelog = "0.5"
|
||||
sled = "0.15"
|
||||
time = "0.1"
|
||||
|
@ -1,2 +1,2 @@
|
||||
Bitcoin indexer and Electrum Server in Rust
|
||||
===========================================
|
||||
Electrum Server in Rust
|
||||
=======================
|
||||
|
@ -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)
|
||||
Snapshot DB after successful indexing - and run queries on this snapshot
|
||||
Figure out graceful shutting down RPC server
|
||||
|
||||
= Bitcoind
|
||||
Bitcoind
|
||||
========
|
||||
Handle bitcoind connection failures - instead of crashing
|
||||
Use p2p protocol for querying blocks - similar to `bitcoincore-indexd`
|
||||
Add getrawtransactions() API (for RPC batching)
|
||||
|
||||
= Performance
|
||||
Performance
|
||||
===========
|
||||
Add timing/profiler helpers (for indexing/DB/RPC operations)
|
||||
Measure first-time query latency
|
||||
Flush only on the last write.
|
||||
|
||||
= Rust
|
||||
Rust
|
||||
====
|
||||
Use Bytes instead of Vec[u8] when possible
|
||||
Return errors instead of panics
|
||||
Use generators instead of vectors
|
@ -12,6 +12,7 @@ extern crate rocksdb;
|
||||
extern crate serde;
|
||||
extern crate simplelog;
|
||||
extern crate time;
|
||||
|
||||
#[macro_use]
|
||||
extern crate chan;
|
||||
#[macro_use]
|
||||
|
Loading…
Reference in New Issue
Block a user