Roman Zeyde
|
78f5203fe7
|
Simplify indexing main loop
|
2018-06-01 12:28:40 +03:00 |
|
Roman Zeyde
|
09c795ce37
|
Check downloaded block hash
|
2018-06-01 12:22:03 +03:00 |
|
Roman Zeyde
|
505914828a
|
Update README.md
|
2018-05-31 15:27:24 +03:00 |
|
Roman Zeyde
|
9ca064c320
|
Update crate name
|
2018-05-31 14:44:00 +03:00 |
|
Roman Zeyde
|
76a396968a
|
Update TODO.txt
|
2018-05-31 14:28:46 +03:00 |
|
Roman Zeyde
|
8c3382cea7
|
Refactor balance calculation
|
2018-05-31 12:55:50 +03:00 |
|
Roman Zeyde
|
2e84b05c28
|
Use commandline flag for log file specification
|
2018-05-31 11:31:41 +03:00 |
|
Roman Zeyde
|
a4f6ba8fa4
|
Simplify main loop
|
2018-05-31 10:50:28 +03:00 |
|
Roman Zeyde
|
629ef08d2b
|
Validate the new chain extension
|
2018-05-31 10:12:19 +03:00 |
|
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 |
|