Browse Source

Add a few TODOs

skip-invalid-blocks
Roman Zeyde 6 years ago
parent
commit
f51c7dc6b4
No known key found for this signature in database GPG Key ID: 87CAE5FA46917CBB
  1. 1
      src/bulk.rs
  2. 1
      src/daemon.rs

1
src/bulk.rs

@ -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

1
src/daemon.rs

@ -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…
Cancel
Save