Roman Zeyde
8b0b4323e0
Store indexed rows into a DB
2018-06-24 09:51:18 +03:00
Roman Zeyde
df3d9cf6e2
Rename data
into blob
at blk*.dat parser
2018-06-23 23:36:06 +03:00
Roman Zeyde
c3cbf94551
Remove unneeded use
2018-06-23 23:36:06 +03:00
Roman Zeyde
b2b799c4ce
Fix logging during parsing
2018-06-23 23:36:06 +03:00
Roman Zeyde
8785f2747d
Add metrics to parse module
2018-06-23 23:25:32 +03:00
Roman Zeyde
75b3fc969d
Allow closing Channel's internal sender
...
Otherwise, we may get stuck in a deadlock (e.g. parse module):
- the channel's receiver waits for messages
- but the last channel's sender is kept alive (at the channel)
2018-06-23 23:25:32 +03:00
Roman Zeyde
a8e26e6e33
Revert "Update formatting following Rust 1.27 update"
...
This reverts commit 7372f8e239
.
2018-06-23 19:57:49 +03:00
Roman Zeyde
144bc7ba6a
Improve error message when monitoring fails
2018-06-23 16:18:41 +03:00
Roman Zeyde
11da7d884b
Add benchmark for blk*.dat parser
...
Also, create the parser from an existing daemon
2018-06-23 16:17:04 +03:00
Roman Zeyde
f3a559824c
Make index_block() a public function
...
So it could be used by blk*.dat parsing
2018-06-22 18:56:21 +03:00
Roman Zeyde
47a1de666a
Parse blk*.dat files concurrently
...
Reading and parsing should run in separate threads.
2018-06-22 18:20:29 +03:00
Roman Zeyde
7372f8e239
Update formatting following Rust 1.27 update
2018-06-22 18:18:45 +03:00
Roman Zeyde
656eef336b
Add async parser for blk*.dat files
2018-06-21 23:56:03 +03:00
Roman Zeyde
8925857085
Move logging initialization into config.rs
2018-06-21 22:44:28 +03:00
Roman Zeyde
0171b8f63c
Allow listing bitcoind blk*.dat files
2018-06-21 22:03:01 +03:00
Roman Zeyde
9af70c95cf
Rename mempool vsize histograms
2018-06-21 14:05:43 +03:00
Roman Zeyde
4cc417232d
Allow timestamping log entries
2018-06-20 00:33:11 +03:00
Roman Zeyde
1e798c2ced
Log only to stderr
...
Also replace `argparse` by `clap`.
2018-06-18 12:23:19 +03:00
Roman Zeyde
74becc9046
Make sure that all fee rate bands are updated
...
Otherwise, the higher fee rate bands may get stuck at their previous values
2018-06-17 17:32:13 +03:00
Roman Zeyde
03bc376db6
Monitor mempool fee bands using Prometheus
2018-06-17 12:00:10 +03:00
Roman Zeyde
26eea65047
Simplify headers' handling during indexing
2018-06-17 11:08:48 +03:00
Roman Zeyde
f00c8cfe92
Add small comment about ending the stream of blocks
2018-06-17 11:03:14 +03:00
Roman Zeyde
f456ad3be7
Add a small image to README
2018-06-17 10:55:16 +03:00
Roman Zeyde
68aa3d0002
Rephrase README
2018-06-17 10:46:15 +03:00
Roman Zeyde
ff9bef20c7
Document full compaction phase
2018-06-17 10:44:27 +03:00
Roman Zeyde
29c816a32c
Add loglevels to invocation example
2018-06-17 10:38:41 +03:00
Roman Zeyde
f786c62dc5
Reformat motivation section in README
2018-06-17 10:34:39 +03:00
Roman Zeyde
b85747c0c2
Improve README
2018-06-16 22:37:51 +03:00
Roman Zeyde
464c3a4eb1
Add more TODOs
2018-06-16 12:38:43 +03:00
Roman Zeyde
da9133f583
Add links to README
2018-06-16 11:42:43 +03:00
Roman Zeyde
bc8feb6d14
Remove confusing fee rate metrics
2018-06-16 11:38:33 +03:00
Roman Zeyde
79e03ce88a
Fix punctuation
2018-06-16 11:08:25 +03:00
Roman Zeyde
ad6b7432f6
Add Travis badge
2018-06-16 10:46:54 +03:00
Roman Zeyde
c79f6fbce7
Update README and switch to markdown
2018-06-16 10:41:59 +03:00
Roman Zeyde
dad9711a95
Reconnect after the (possibly long) bulk import phase is over
2018-06-14 22:23:06 +03:00
Roman Zeyde
2d1002f902
Add batching TODO
2018-06-14 22:08:30 +03:00
Roman Zeyde
f6f82990fd
Show several fee rates for the next block
2018-06-14 21:28:35 +03:00
Roman Zeyde
1b3a3af010
Simplify mempool gauges' names
2018-06-14 20:52:49 +03:00
Roman Zeyde
7bdb1491ae
Disable server auto-restart
2018-06-14 20:51:00 +03:00
Roman Zeyde
46bda14ddf
Monitor fee rates for next blocks' confirmation
2018-06-14 20:50:28 +03:00
Roman Zeyde
3d77353d78
Add Metrics::gauge_vec() method
2018-06-14 15:58:35 +03:00
Roman Zeyde
5a580e1a27
Refactor electrum fees calculation into a helper function
2018-06-14 15:58:20 +03:00
Roman Zeyde
f9ad0938fc
Rename histogram() -> histogram_vec()
2018-06-14 15:57:28 +03:00
Roman Zeyde
0afde683c1
Move benchmark tool to examples/
2018-06-14 15:22:47 +03:00
Roman Zeyde
e1024a29cd
Export correct blockchain height on startup
...
(instead of 0)
2018-06-14 14:01:50 +03:00
Roman Zeyde
027cf65a0f
Rename main binary to 'electrs'
2018-06-14 12:34:50 +03:00
Roman Zeyde
71dc45074b
Run fetching and indexing in separate threads
...
Indexing throughput should improve since fetching takes ~half of the time.
2018-06-14 11:57:03 +03:00
Roman Zeyde
48f26a5309
Use spawn_thread
in metrics and rpc modules
2018-06-14 11:53:48 +03:00
Roman Zeyde
f726853eb2
Allow reconnecting to bitcoind
2018-06-14 11:52:27 +03:00
Roman Zeyde
6a5dd18349
Add helper function for spawning named threads
2018-06-14 11:51:58 +03:00