Roman Zeyde
c32e553cac
Fixup integration tests
2020-12-01 20:42:33 +02:00
Roman Zeyde
b4492e7b67
Use configure_me instead of clap
2020-12-01 13:32:28 +02:00
Roman Zeyde
dba7990f48
Add Docker-based integration tests
2020-11-30 22:55:29 +02:00
Roman Zeyde
b35d0728fd
Fixup versions
2020-11-30 22:55:17 +02:00
Roman Zeyde
2842a1c7c3
Add dependencies' comments
2020-11-23 20:46:20 +02:00
Roman Zeyde
0464a9a285
Log more info about DB
2020-11-22 09:45:44 +02:00
Roman Zeyde
2b90774ac2
rm old examples
2020-11-16 09:57:26 +02:00
Roman Zeyde
edcee0ba8e
Add health-check tool
2020-11-15 22:27:17 +02:00
Roman Zeyde
165db08587
Refactor total rows' count
2020-11-15 20:24:16 +02:00
Roman Zeyde
21a640ba44
Move low-memory indexing into a separate method
2020-11-15 20:24:13 +02:00
Roman Zeyde
4f4476efe7
Simplify header rows' collection
...
Also, measure low-memory indexing duration
2020-11-15 20:24:11 +02:00
Roman Zeyde
8c1917abe2
Simplify parse_block_and_undo
2020-11-15 20:24:08 +02:00
Roman Zeyde
ca09e30b03
Simplify group_locations_by_file
2020-11-15 20:24:06 +02:00
Roman Zeyde
2e7c249800
Refactor undo.rs
2020-11-15 20:24:04 +02:00
Roman Zeyde
37d1bf1f29
Reorder types.rs
2020-11-15 20:24:03 +02:00
Roman Zeyde
9125a64e23
rm commented code
2020-11-15 20:24:01 +02:00
Roman Zeyde
83c2b9cc4a
Move undo-related code into a separate module
2020-11-15 20:23:59 +02:00
Roman Zeyde
bba0cdeb72
Less auto-compaction logging
2020-11-15 20:23:51 +02:00
Roman Zeyde
883d284474
Refactor following clippy
2020-11-14 13:17:25 +02:00
Roman Zeyde
efeddaa11c
Run clippy in CI
2020-11-13 23:30:16 +02:00
Roman Zeyde
f0230d1ae5
clippy fixes
2020-11-13 22:56:51 +02:00
Roman Zeyde
4f692d23c4
Enable auto-compaction after bulk load
2020-11-13 21:59:30 +02:00
Roman Zeyde
73e2669e26
Allow concurrent confirmed history queries for notification
2020-11-13 09:10:25 +02:00
Roman Zeyde
ff59424120
Allow limiting popular addresses
2020-11-12 19:48:49 +02:00
Roman Zeyde
7d1e56ae0c
Refactor indexing a bit
2020-11-11 09:36:46 +02:00
Roman Zeyde
3097759686
Rename subscription map
2020-11-09 08:42:27 +02:00
Roman Zeyde
239900ed30
Add blockchain.scripthash.unsubscribe
2020-11-09 08:34:47 +02:00
Roman Zeyde
c9a97ead37
Less verbose mempool updates
2020-11-08 12:13:13 +02:00
Roman Zeyde
56f581de1a
More verbose errors
2020-11-08 12:00:07 +02:00
Roman Zeyde
9a5b943fc7
More debug logging when closing send_loop
2020-11-08 11:58:45 +02:00
Roman Zeyde
f9c7a06ade
Don't fail blockchain.headers.subscribe on initial sync
2020-11-08 11:58:12 +02:00
Roman Zeyde
4af4bcaaf6
Skip notification when waiting for index sync
2020-11-08 11:37:47 +02:00
Roman Zeyde
c565dc915a
Run indexer in a separate task
2020-11-08 11:02:02 +02:00
Roman Zeyde
2c2957e5b4
Less verbose daemon logging
2020-11-08 10:54:55 +02:00
Roman Zeyde
f66ccbf860
Wrap index with Arc in Rpc
2020-11-07 21:04:38 +02:00
Roman Zeyde
bd74b264ea
Wrap mempool with RwLock at Rpc
2020-11-07 21:00:29 +02:00
Roman Zeyde
b3038ccf10
Skip mempool if index sync failed
2020-11-07 14:42:05 +02:00
Roman Zeyde
6cc2a60119
Cache also mempool txs
2020-11-07 14:31:57 +02:00
Roman Zeyde
0389458ffe
Don't rate-limit mempool polling
2020-11-07 12:40:39 +02:00
Roman Zeyde
412c4809d2
Fixup CI
2020-11-06 17:19:07 +02:00
Roman Zeyde
363becf903
rm Arc around BlockMap @ Index
2020-11-06 09:43:07 +02:00
Roman Zeyde
40306cbbe5
Dedup txids at Status::new
2020-11-05 21:40:20 +02:00
Roman Zeyde
8742114702
No need to sync mempool twice
2020-11-05 18:41:13 +02:00
Roman Zeyde
3b79e27ba4
Remove confirmed transactions from mempool
2020-11-05 18:37:43 +02:00
Roman Zeyde
fac0da4577
WIP: signet bump
2020-11-05 16:05:15 +02:00
Roman Zeyde
63210c83b6
Improve daemon error messages
2020-11-05 16:04:37 +02:00
Roman Zeyde
78b8012e8c
Re-use rust-bitcoin dependencies from electrs_index
2020-11-05 11:05:55 +02:00
Roman Zeyde
4183165853
Document protobuf version pin
2020-11-05 11:00:52 +02:00
Martin Habovstiak
0f9ee7f301
Make rocksdb compression algos optional
...
This makes the compression algorithms optional, but on by default to
keep the behavior. While one might think this just decreases the size a
bit, it has another advantage: when linking with system library it's not
needed to specify the paths of all these libraries because they are already
compiled in the system library.
2020-11-05 10:44:38 +02:00
Roman Zeyde
5cc7282baf
Update async-std
2020-11-04 21:24:58 +02:00