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