Roman Zeyde
6 years ago
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB
2 changed files with
2 additions and
0 deletions
-
src/bulk.rs
-
src/daemon.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 |
|
|
|
|
|
@ -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"], |
|
|
|