1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
Commit Graph

1503 Commits

Author SHA1 Message Date
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
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