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

204 Commits

Author SHA1 Message Date
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
Roman Zeyde
d82489c2a4
Improve RPC error handing 2018-05-16 17:26:16 +03:00
Roman Zeyde
4404f120a1
Always index the blockchain 2018-05-16 17:24:18 +03:00
Roman Zeyde
3a451a8dbd
Don't use progress bar after first index update 2018-05-16 11:16:39 +03:00
Roman Zeyde
b0fb4d4367
Refactor rows' serialization into index module 2018-05-15 15:23:51 +03:00
Roman Zeyde
935467e6b4
Rename main binary 2018-05-15 09:45:50 +03:00
Roman Zeyde
1d84da30dc
Change tx height to be i32 (to support unconfirmed status) 2018-05-15 08:54:28 +03:00
Roman Zeyde
c88b5d4cb0
Remove ZMQ dependency 2018-05-14 13:55:14 +03:00
Roman Zeyde
8fe9e83abf
Fix types' usage 2018-05-14 13:52:55 +03:00
Roman Zeyde
eab64181bb
Create simple mempool tracker 2018-05-14 13:41:11 +03:00
Roman Zeyde
c8a5cb9c56
Replace ZMQ by simple tip polling 2018-05-14 09:57:53 +03:00
Roman Zeyde
f0ff0bbe29
Move 'waiter' -> 'notification' 2018-05-12 16:36:51 +03:00
Roman Zeyde
b992039882
Add a small buffer to 0MQ notification channel 2018-05-11 20:23:56 +03:00
Roman Zeyde
64e9f2ee68
Fix minor formatting issues 2018-05-11 20:23:24 +03:00
Roman Zeyde
03dacc1b82
Get hashtx notifications via 0MQ for mempool tracking 2018-05-10 23:22:19 +03:00
Roman Zeyde
5ee8e7171a
Remove reqwest dependency and Daemon::get() HTTP-based method 2018-05-10 11:54:52 +03:00
Roman Zeyde
ace4da4576
Add simple travis config 2018-05-09 23:21:22 +03:00
Roman Zeyde
039276bff2
Replace most of HTTP GETs with JSONRPC calls 2018-05-09 23:19:17 +03:00
Roman Zeyde
1b2a84c0ff
Add simplified bitcoind JSONRPC client 2018-05-08 23:07:52 +03:00
Roman Zeyde
44c4ba491f
Don't get stuck when RPC update cannot be sent 2018-05-07 23:20:38 +03:00
Roman Zeyde
10aeea89be
Add simple 0MQ testing tool 2018-05-07 22:20:00 +03:00
Roman Zeyde
d9ddfc4289
Add support for testnet BTC 2018-05-07 12:35:36 +03:00
Roman Zeyde
15971dcfef
Update clients after indexing new blocks 2018-05-07 11:52:46 +03:00
Roman Zeyde
92bfe88b46
Handle block and script_hash subscription 2018-05-07 10:54:31 +03:00
Roman Zeyde
10c6daebbe
React to new blocks' notifications 2018-05-06 21:10:39 +03:00
Roman Zeyde
318008acd6
Log RPC requests at INFO level 2018-05-03 20:02:08 +03:00
Roman Zeyde
53d55e9842
Add refactoring TODO to Header-related structs 2018-05-03 15:21:56 +03:00
Roman Zeyde
06a2326e46
Rename BatchIter -> Batching 2018-05-03 12:05:34 +03:00
Roman Zeyde
c88a28e873
Load (most of) indexed headers from DB at first update
Re-use in-memory headers (and don't re-load from DB on next runs).
2018-05-02 23:41:53 +03:00
Roman Zeyde
c80da65885
Add error_chain to daemon module 2018-05-02 22:20:17 +03:00
Roman Zeyde
ea31d17c42
Implement get_merkle API 2018-05-02 21:47:52 +03:00
Roman Zeyde
909802e6fe
Refactor RPC parameter parsing 2018-05-02 21:47:11 +03:00
Roman Zeyde
993ab96b64
Move HeaderList to index module 2018-05-02 19:11:43 +03:00
Roman Zeyde
ab785abbee
Simplify indexing logging 2018-05-02 16:58:16 +03:00
Roman Zeyde
ca2223e476
Simplify string concatenation 2018-05-02 16:53:40 +03:00
Roman Zeyde
3e307a2e1f
Fix out-of-bound panic 2018-05-02 16:09:45 +03:00
Roman Zeyde
0b5a67b81f
Support get_header API 2018-05-02 15:59:39 +03:00
Roman Zeyde
12d16f0df5
Increase file log level 2018-05-02 13:45:47 +03:00
Roman Zeyde
4a5fc5e83b
Add very simple Electrum API 2018-05-02 13:42:13 +03:00
Roman Zeyde
92ac75e50d
Support get_chunk API call via concurrent Index::header_list() 2018-05-01 15:05:55 +03:00