Roman Zeyde
|
06a2326e46
|
Rename BatchIter -> Batching
|
2018-05-03 12:05:34 +03:00 |
|
Roman Zeyde
|
c88a28e873
|
Load (most of) indexed headers from DB at first update
Re-use in-memory headers (and don't re-load from DB on next runs).
|
2018-05-02 23:41:53 +03:00 |
|
Roman Zeyde
|
c80da65885
|
Add error_chain to daemon module
|
2018-05-02 22:20:17 +03:00 |
|
Roman Zeyde
|
ea31d17c42
|
Implement get_merkle API
|
2018-05-02 21:47:52 +03:00 |
|
Roman Zeyde
|
909802e6fe
|
Refactor RPC parameter parsing
|
2018-05-02 21:47:11 +03:00 |
|
Roman Zeyde
|
993ab96b64
|
Move HeaderList to index module
|
2018-05-02 19:11:43 +03:00 |
|
Roman Zeyde
|
ab785abbee
|
Simplify indexing logging
|
2018-05-02 16:58:16 +03:00 |
|
Roman Zeyde
|
ca2223e476
|
Simplify string concatenation
|
2018-05-02 16:53:40 +03:00 |
|
Roman Zeyde
|
3e307a2e1f
|
Fix out-of-bound panic
|
2018-05-02 16:09:45 +03:00 |
|
Roman Zeyde
|
0b5a67b81f
|
Support get_header API
|
2018-05-02 15:59:39 +03:00 |
|
Roman Zeyde
|
12d16f0df5
|
Increase file log level
|
2018-05-02 13:45:47 +03:00 |
|
Roman Zeyde
|
4a5fc5e83b
|
Add very simple Electrum API
|
2018-05-02 13:42:13 +03:00 |
|
Roman Zeyde
|
92ac75e50d
|
Support get_chunk API call via concurrent Index::header_list()
|
2018-05-01 15:05:55 +03:00 |
|
Roman Zeyde
|
e3490568cf
|
Don't use Option<HeaderList> at Index
|
2018-05-01 12:51:14 +03:00 |
|
Roman Zeyde
|
d3a18537d8
|
Use equals instead of manual comparison of last headers
|
2018-05-01 12:25:37 +03:00 |
|
Roman Zeyde
|
c157185de2
|
Add some TODOs
|
2018-05-01 11:12:27 +03:00 |
|
Roman Zeyde
|
7b858f9989
|
Implement blockchain_transaction_get RPC
|
2018-04-30 22:30:12 +03:00 |
|
Roman Zeyde
|
95da35ac80
|
Move query-related code into a separate module
|
2018-04-30 14:56:00 +03:00 |
|
Roman Zeyde
|
68feda0baa
|
Use jsonrpc for simple balance check
|
2018-04-30 14:37:23 +03:00 |
|
Roman Zeyde
|
114befd559
|
Refactor to optimize hashing and keep headers available for queries
|
2018-04-29 23:15:48 +03:00 |
|
Roman Zeyde
|
78f722aadc
|
Allow partial downloads after initial header sync
|
2018-04-26 13:36:06 +03:00 |
|
Roman Zeyde
|
a448758bf0
|
Refactor headers' list into a separate type
|
2018-04-26 12:24:32 +03:00 |
|
Roman Zeyde
|
4ba7e0092d
|
WiP
|
2018-04-25 22:44:36 +03:00 |
|
Roman Zeyde
|
2657db6a21
|
Log StoreOptions while opening the DB
|
2018-04-23 10:59:07 +03:00 |
|
Roman Zeyde
|
78ce5c9203
|
Allow query-only server via --disable-indexing flag
|
2018-04-23 10:58:39 +03:00 |
|
Roman Zeyde
|
1af76c2833
|
Add batching iterator
|
2018-04-22 15:58:07 +03:00 |
|
Roman Zeyde
|
da39169cef
|
Add simple ZMQ RPC server
|
2018-04-20 21:33:49 +03:00 |
|
Roman Zeyde
|
390d4d0290
|
Reuse DB::get() at compact_as_needed()
|
2018-04-20 17:46:11 +03:00 |
|
Roman Zeyde
|
6b9d38df49
|
Add simple balance query support
|
2018-04-15 23:45:30 +03:00 |
|
Roman Zeyde
|
e388a8ae18
|
Refactor indexing and fix potential TxIn key collision
|
2018-04-15 11:07:46 +03:00 |
|
Roman Zeyde
|
012b8b2c90
|
Add types.rs to git
|
2018-04-13 22:59:12 +03:00 |
|
Roman Zeyde
|
7d26232b53
|
Use a constant for DB path
|
2018-04-13 22:58:54 +03:00 |
|
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 |
|