Roman Zeyde
|
e8c358c961
|
Fix 'use' statements ordering
|
2018-05-31 09:53:42 +03:00 |
|
Roman Zeyde
|
6a68753f04
|
Use HeaderList::header_by_blockhash() to verify the header
|
2018-05-31 09:53:08 +03:00 |
|
Roman Zeyde
|
ade45b3336
|
Remove 'futures' and 'tokio' dependencies
|
2018-05-30 23:47:49 +03:00 |
|
Roman Zeyde
|
d08411109f
|
Use WriteStore trait object for Index::update()
|
2018-05-30 22:33:56 +03:00 |
|
Roman Zeyde
|
32226298e2
|
Remove fixed TODO
|
2018-05-30 22:21:35 +03:00 |
|
Roman Zeyde
|
43b952703f
|
Merge branch 'refactor'
|
2018-05-30 22:10:54 +03:00 |
|
Roman Zeyde
|
e499809d76
|
Remove unused code from util.rs
|
2018-05-30 21:43:21 +03:00 |
|
Roman Zeyde
|
5b7b7d0d10
|
Refactor Index::get_header() implementation
|
2018-05-30 21:42:45 +03:00 |
|
Roman Zeyde
|
ddb38e7d4a
|
Small refactoring of RPC internals
|
2018-05-30 21:37:11 +03:00 |
|
Roman Zeyde
|
ca21ba837d
|
Rewrite query and RPC functionality using new index API
|
2018-05-30 21:36:46 +03:00 |
|
Roman Zeyde
|
14ae2a6b71
|
Rewrite indexing using new HeaderList API
|
2018-05-30 21:27:16 +03:00 |
|
Roman Zeyde
|
175e4cd4fc
|
Simplify daemon's header download logic
|
2018-05-30 21:25:21 +03:00 |
|
Roman Zeyde
|
11f889611e
|
Add new API for HeaderList for incremental updates
|
2018-05-30 21:20:12 +03:00 |
|
Roman Zeyde
|
312aeb5711
|
Verify HeaderList::tip() using assertion
|
2018-05-30 18:35:21 +03:00 |
|
Roman Zeyde
|
a101935f41
|
Move fmt::Debug trait to HeaderEntry
|
2018-05-30 18:34:38 +03:00 |
|
Roman Zeyde
|
313420b0e1
|
Simplify latest headers' retrieval
|
2018-05-28 14:06:36 +03:00 |
|
Roman Zeyde
|
548de46410
|
Improve logging at store.rs
|
2018-05-27 09:32:46 +03:00 |
|
Roman Zeyde
|
75d88fcec1
|
Improve initial data load logging
|
2018-05-27 09:30:57 +03:00 |
|
Roman Zeyde
|
ecd7511842
|
Simplify indexing main loop a bit
|
2018-05-27 08:49:13 +03:00 |
|
Roman Zeyde
|
67ece2dd49
|
Retrieve blockchain state before opening the DB
This would make sure that bitcoind is up and running.
|
2018-05-26 17:14:15 +03:00 |
|
Roman Zeyde
|
50941e7bea
|
Return errors (instead of panics) during indexing
|
2018-05-26 17:13:37 +03:00 |
|
Roman Zeyde
|
8774e11fc3
|
Allow restarting the app in case of an error
|
2018-05-26 17:08:46 +03:00 |
|
Roman Zeyde
|
421e1877bb
|
Fix vec![] usage
|
2018-05-26 12:07:57 +03:00 |
|
Roman Zeyde
|
1786fa69ed
|
Refactor Connection::send_value()
|
2018-05-26 12:01:36 +03:00 |
|
Roman Zeyde
|
ae438b554f
|
Format rpc.rs
|
2018-05-26 11:45:07 +03:00 |
|
Roman Zeyde
|
c80c836852
|
Simplify error handling for Query::get_best_header()
|
2018-05-26 11:43:15 +03:00 |
|
Roman Zeyde
|
bf92ceeb16
|
Return errors back to RPC clients
and fix error handling in more places.
|
2018-05-25 23:05:25 +03:00 |
|
Roman Zeyde
|
2355dbd0ed
|
Add proper error handling (instead of unwrapping) to query.rs
|
2018-05-25 19:10:03 +03:00 |
|
Roman Zeyde
|
0d56b2ecc6
|
Use one error_chain definition
|
2018-05-25 12:00:39 +03:00 |
|
Roman Zeyde
|
a30f492d28
|
Handle daemon failures gracefully
|
2018-05-25 11:18:02 +03:00 |
|
Roman Zeyde
|
503946ee23
|
Add -v flag for log verbosity
|
2018-05-25 10:30:38 +03:00 |
|
Roman Zeyde
|
fd03723842
|
Use std::thread instead of crossbeam
|
2018-05-25 10:30:20 +03:00 |
|
Roman Zeyde
|
b69219a550
|
Pass application state and query via Arc
(consider Tokio futures)
|
2018-05-24 21:01:34 +03:00 |
|
Roman Zeyde
|
375bc0303a
|
Rename indexrs.rs to main.rs
|
2018-05-24 20:46:00 +03:00 |
|
Roman Zeyde
|
1a2cd40c34
|
Add a small TODO
|
2018-05-24 20:45:57 +03:00 |
|
Roman Zeyde
|
4cebd1e25f
|
Remove 0MQ Python client
|
2018-05-24 20:45:54 +03:00 |
|
Roman Zeyde
|
77573fdd19
|
Remove unused Stats c-tor
|
2018-05-23 20:50:09 +03:00 |
|
Roman Zeyde
|
38bb8411e1
|
Move most of the application code back into the library
|
2018-05-23 17:40:29 +03:00 |
|
Roman Zeyde
|
a0f61e6a94
|
Add tokio dependency
|
2018-05-23 17:40:01 +03:00 |
|
Roman Zeyde
|
248df5207f
|
Remove tracker tool
|
2018-05-23 17:39:10 +03:00 |
|
Roman Zeyde
|
8fdc244b0a
|
Pre-compute configuration settings before starting
|
2018-05-23 16:36:10 +03:00 |
|
Roman Zeyde
|
d50f4746d8
|
Move TODOs to a separate file and reorg it a bit
|
2018-05-23 13:33:34 +03:00 |
|
Roman Zeyde
|
ab9f273bc0
|
Don't specify patch versions at Cargo.toml
|
2018-05-23 10:28:38 +03:00 |
|
Roman Zeyde
|
cbbb298b5c
|
Show confirmed and unconfirmed balances separately
|
2018-05-22 23:19:13 +03:00 |
|
Roman Zeyde
|
619bbb52ad
|
Add more TODOs
|
2018-05-22 22:28:17 +03:00 |
|
Roman Zeyde
|
43de21990f
|
Decrease log verbosity in Python tool
|
2018-05-22 22:10:28 +03:00 |
|
Roman Zeyde
|
a681334074
|
Support (older) ETA-based fee estimation
|
2018-05-22 22:04:21 +03:00 |
|
Roman Zeyde
|
fdff31a069
|
Update mempool histogram once (after txns' sync)
|
2018-05-22 21:55:59 +03:00 |
|
Roman Zeyde
|
06d0c8d77f
|
Split Store trait into its R/W parts
|
2018-05-22 14:40:53 +03:00 |
|
Roman Zeyde
|
4747e380ec
|
Update index once (instead at each status RPC)
|
2018-05-22 10:17:02 +03:00 |
|