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

1622 Commits

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