Roman Zeyde
|
5e48e1e1dc
|
Append to log file
|
2018-04-13 22:58:18 +03:00 |
|
Roman Zeyde
|
9af0df224f
|
Separate main to src/bin/index_server.rs
|
2018-04-13 22:51:04 +03:00 |
|
Roman Zeyde
|
a02502f46d
|
Use log file (in addition to terminal)
|
2018-04-12 22:23:16 +03:00 |
|
Roman Zeyde
|
95ede83092
|
Tweak DB options and progress bar a bit
|
2018-04-12 22:07:59 +03:00 |
|
Roman Zeyde
|
9996e3a4f7
|
Store prefix of output script hash
|
2018-04-12 21:57:05 +03:00 |
|
Roman Zeyde
|
5ed0db6957
|
Use binecode crate for serialization`
|
2018-04-12 18:57:49 +03:00 |
|
Roman Zeyde
|
4354837fc7
|
Use explicit Sha256dHash type (instead of Bytes)
|
2018-04-11 21:33:35 +03:00 |
|
Roman Zeyde
|
0750e0b670
|
Use HeaderMap type
|
2018-04-11 21:14:18 +03:00 |
|
Roman Zeyde
|
3f183b8fcc
|
Pass block headers instead of block hashes
|
2018-04-11 21:06:38 +03:00 |
|
Roman Zeyde
|
e1074e4aec
|
Add comment about block hash byte-order
|
2018-04-11 20:41:57 +03:00 |
|
Roman Zeyde
|
10d3182ee9
|
Replace has_block() by read_header()
|
2018-04-11 20:41:25 +03:00 |
|
Roman Zeyde
|
611fce4dfb
|
Add simple from_hex() helper
|
2018-04-11 19:44:56 +03:00 |
|
Roman Zeyde
|
c68a6fdedb
|
Use Bytes for block hash (instead of String)
|
2018-04-11 18:44:48 +03:00 |
|
Roman Zeyde
|
c7f138ec90
|
Rename HASH_LEN to HASH_PREFIX_LEN
|
2018-04-11 17:05:35 +03:00 |
|
Roman Zeyde
|
a84d677a20
|
Remove unneeded mut from Store
|
2018-04-11 17:05:13 +03:00 |
|
Roman Zeyde
|
a770804e19
|
Move indexing logic into index.rs
|
2018-04-11 17:00:17 +03:00 |
|
Roman Zeyde
|
9ee7714cb0
|
Use simple progress bar for indexing
|
2018-04-11 16:24:56 +03:00 |
|
Roman Zeyde
|
09d4df49f3
|
Move extern crate to main.rs
|
2018-04-11 12:44:44 +03:00 |
|
Roman Zeyde
|
17ea973c02
|
Log latest block time
|
2018-04-11 12:35:08 +03:00 |
|
Roman Zeyde
|
0f743be785
|
Split main.rs into a few modules
|
2018-04-11 10:59:22 +03:00 |
|
Roman Zeyde
|
5605ff7451
|
Run full compaction once after initial sync
|
2018-04-10 23:16:40 +03:00 |
|
Roman Zeyde
|
294649e51a
|
Update RocksDB
|
2018-04-10 22:51:36 +03:00 |
|
Roman Zeyde
|
4d0346e1ab
|
Add ZMQ wait helper
|
2018-04-10 22:28:32 +03:00 |
|
Roman Zeyde
|
e64617fd04
|
Refactor blocks' indexing into a separate function
|
2018-04-10 20:24:22 +03:00 |
|
Roman Zeyde
|
e2a610767f
|
Consume unindexed hashes' list
|
2018-04-10 20:09:12 +03:00 |
|
Roman Zeyde
|
2a773d78b0
|
Skip already indexed blocks
|
2018-04-10 20:07:04 +03:00 |
|
Roman Zeyde
|
d875abcf22
|
Fixup Cargo.toml
|
2018-04-09 22:00:37 +03:00 |
|
Roman Zeyde
|
c88437af04
|
Optimize for spinning disk
https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#difference-of-spinning-disk
|
2018-04-09 22:00:06 +03:00 |
|
Roman Zeyde
|
ca14921273
|
Ingore database
|
2018-04-09 21:58:50 +03:00 |
|
Roman Zeyde
|
fc7d6f389e
|
Collect more progress metrics
|
2018-04-09 14:29:53 +03:00 |
|
Roman Zeyde
|
5a0451425f
|
Single threaded indexer and storage
|
2018-04-09 14:17:57 +03:00 |
|
Roman Zeyde
|
d4084a7dfe
|
Add simple timing
|
2018-04-09 11:31:05 +03:00 |
|
Roman Zeyde
|
2907ca29b9
|
Add MIT license and small README
|
2018-04-08 23:54:29 +03:00 |
|
Roman Zeyde
|
2bf79782c4
|
Load all headers and parse all blocks
|
2018-04-08 23:50:59 +03:00 |
|
Roman Zeyde
|
b348a423a8
|
init
|
2018-04-08 23:46:35 +03:00 |
|