mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
Add a few TODOs
This commit is contained in:
parent
088eff5a86
commit
f51c7dc6b4
@ -56,6 +56,7 @@ impl Parser {
|
||||
}
|
||||
|
||||
fn last_indexed_row(&self) -> Row {
|
||||
// TODO: use JSONRPC for missing blocks, and don't use 'L' row at all.
|
||||
let indexed_blockhashes = self.indexed_blockhashes.lock().unwrap();
|
||||
let last_header = self
|
||||
.current_headers
|
||||
|
@ -313,6 +313,7 @@ impl Daemon {
|
||||
HistogramOpts::new("daemon_rpc", "Bitcoind RPC latency (in seconds)"),
|
||||
&["method"],
|
||||
),
|
||||
// TODO: use better buckets (e.g. 1 byte to 10MB).
|
||||
size: metrics.histogram_vec(
|
||||
HistogramOpts::new("daemon_bytes", "Bitcoind RPC size (in bytes)"),
|
||||
&["method", "dir"],
|
||||
|
Loading…
Reference in New Issue
Block a user