Commit Graph

562 Commits

Author SHA1 Message Date
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
Roman Zeyde
e5da12a5e8
Update index logging 2018-05-22 09:43:52 +03:00
Roman Zeyde
e5ecd13658
Add a few more TODOs 2018-05-22 09:25:53 +03:00
Roman Zeyde
b210727831
Ignore sublime-related files 2018-05-22 09:25:42 +03:00
Roman Zeyde
beab2c50c9
Add mempool-polling script 2018-05-22 09:25:10 +03:00
Roman Zeyde
0404e91bb9
Handle both index and mempool during Query::status() invocation 2018-05-21 21:20:44 +03:00
Roman Zeyde
24eddc5881
Notify once on each block header 2018-05-21 13:35:34 +03:00
Roman Zeyde
99466c13a6
Add more TODOs 2018-05-21 13:21:21 +03:00
Roman Zeyde
cc3b1ddccc
Periodically poll subscription status (w/ mempool) 2018-05-21 13:21:00 +03:00
Roman Zeyde
c487f2ba40
Use i32 height only at Status::history() method 2018-05-21 13:18:14 +03:00
Roman Zeyde
de884ac06b
Scan mempool transaction during status query 2018-05-21 11:34:36 +03:00
Roman Zeyde
5941edbbc6
Remove itertools dependency 2018-05-21 11:18:16 +03:00
Roman Zeyde
c030f8739d
Add TODO.txt 2018-05-21 09:16:21 +03:00
Roman Zeyde
935c3cfb7b
Make query-related structs and members private 2018-05-20 22:58:26 +03:00
Roman Zeyde
d9b0e0c917
Move and rename MemStore to mempool module 2018-05-20 22:31:55 +03:00
Roman Zeyde
042991106b
Split transaction indexing into a separate function 2018-05-20 14:47:39 +03:00
Roman Zeyde
60ffa27162
Add MemStore c-tor and remove() method 2018-05-20 14:47:35 +03:00
Roman Zeyde
5118d8f7fa
Measure all mempool processing duration 2018-05-18 21:52:17 +03:00
Roman Zeyde
5300149c0a
Refactor mempool transaction handling into separate methods 2018-05-18 21:51:00 +03:00
Roman Zeyde
1944bf2bd5
Fix a few small nits in mempool module 2018-05-18 21:48:13 +03:00
Roman Zeyde
d6ea025861
Add memory-based KV store implementation 2018-05-18 21:46:11 +03:00
Roman Zeyde
2254d3bb30
Define Store as a basic KV store trait
DBStore is the actual rocksdb-based implementation
2018-05-18 21:45:32 +03:00
Roman Zeyde
420e8714d4
Rename variable to clarify its semantics 2018-05-18 17:35:34 +03:00
Roman Zeyde
04b2568954
Move Status-related functions to query module 2018-05-18 12:29:10 +03:00
Roman Zeyde
8a3b6f90b7
Auto-deduce float literal type 2018-05-18 12:12:30 +03:00
Roman Zeyde
33f68509f8
Move HeaderList stuff to 'util' module 2018-05-18 12:08:52 +03:00
Roman Zeyde
0c4e500fb8
Add TODO regarding JSONRPC errors 2018-05-18 11:57:05 +03:00
Roman Zeyde
f3ac83a376
Rename Handler -> Connection and refactor a bit 2018-05-18 11:34:18 +03:00
Roman Zeyde
d38308797e
Make debug format similar to bitcoind 2018-05-18 10:37:52 +03:00
Roman Zeyde
e14f7f7174
Don't crash on orphan blocks 2018-05-18 09:52:12 +03:00
Roman Zeyde
4a8f7b5c0b
Support transaction broadcast RPC 2018-05-17 15:52:38 +03:00
Roman Zeyde
31abb3e538
Add back testnet support 2018-05-17 15:22:44 +03:00
Roman Zeyde
539f753616
Allow sending transactions with any fee 2018-05-17 15:22:41 +03:00
Roman Zeyde
2079f3f635
Don't support blockchain.estimatefee() API for now 2018-05-17 15:22:37 +03:00