1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Roman Zeyde
fd16082925
Don't start bulk loader if already done 2018-06-28 13:41:46 +03:00
Roman Zeyde
70743c9a10
Integrate bulk parser into main server binary 2018-06-28 11:15:30 +03:00
Roman Zeyde
0cceb790b9
Rename parse into bulk 2018-06-28 00:20:24 +03:00
Roman Zeyde
0de580a300
Perform compaction after blk*.dat parsing is over 2018-06-25 22:16:46 +03:00
Roman Zeyde
8e0a719cee
Replace eprintln!() by error!() 2018-06-25 22:16:22 +03:00
Roman Zeyde
9a5f746cc0
Refactor blk*.dat parser 2018-06-25 14:06:07 +03:00
Roman Zeyde
4200648c8d
Refactor blk*.dat parser 2018-06-25 10:46:30 +03:00
Roman Zeyde
6f3424f734
Move block indexing into parse module 2018-06-24 13:20:09 +03:00
Roman Zeyde
8b0b4323e0
Store indexed rows into a DB 2018-06-24 09:51:18 +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
11da7d884b
Add benchmark for blk*.dat parser
Also, create the parser from an existing daemon
2018-06-23 16:17:04 +03:00