Commit Graph

143 Commits

Author SHA1 Message Date
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
Roman Zeyde
ce49f39948
Refactor query accessors to the store 2018-05-17 15:00:31 +03:00
Roman Zeyde
30f892d76d
Return actual mempool fee histogram from RPC
Also, add this to the CLI tracker tool and improve logging.
2018-05-17 14:19:48 +03:00
Roman Zeyde
b6d664c580
Let query module return errors 2018-05-17 12:38:12 +03:00
Roman Zeyde
4b0f3d470d
Protect mempool tracker with a RwLock inside a Query 2018-05-17 12:28:43 +03:00
Roman Zeyde
95676647f3
Don't build on nightly Rust 2018-05-17 12:28:40 +03:00
Roman Zeyde
d31b9fdb87
Improve index state logging 2018-05-17 12:28:36 +03:00
Roman Zeyde
430325d16b
Store blockchain tip separately at HeaderList 2018-05-17 11:22:27 +03:00
Roman Zeyde
90cb428d66
Return 'null' instead of invalid Bitcoin address 2018-05-17 11:09:28 +03:00
Roman Zeyde
866f36ebd4
Keep new transaction logging at minimum verbosity level 2018-05-17 10:44:10 +03:00
Roman Zeyde
5674f4f997
Refactor mempool tracker to use HashSet difference 2018-05-17 10:29:22 +03:00
Roman Zeyde
eea7f7fc1d
Cache cargo builds on Travis 2018-05-16 23:24:33 +03:00
Roman Zeyde
80ca99f2cd
Add low-fee transactions to mempool histogram 2018-05-16 23:13:32 +03:00
Roman Zeyde
f0e6de2281
Add mempool fees histogram estimation 2018-05-16 23:09:04 +03:00
Roman Zeyde
f56125eb11
Add simple binary for testing mempool tracker 2018-05-16 23:08:00 +03:00
Roman Zeyde
7bf1c562b2
Make clear that transaction size is measured in virtual bytes 2018-05-16 21:55:56 +03:00
Roman Zeyde
928a6c074f
Add TODO for signal handling 2018-05-16 21:54:44 +03:00
Roman Zeyde
14f132a766
Refactor find_funding_outputs in query crate 2018-05-16 21:54:01 +03:00
Roman Zeyde
a2dea8c3f2
Update to latest 'bitcoin' crate 2018-05-16 21:53:18 +03:00
Roman Zeyde
8775b04cc7
Improve RPC logging and function structure 2018-05-16 18:28:59 +03:00