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

796 Commits

Author SHA1 Message Date
Roman Zeyde
4e8a9f6274
Make definitions less public 2018-08-31 12:50:18 +03:00
Roman Zeyde
6a4def0459
Gracefully exit on SIGTERM 2018-08-31 10:39:01 +03:00
Roman Zeyde
74dfef8f09
Wait for IBD to finish (instead of failing) 2018-08-29 23:34:17 +03:00
Roman Zeyde
6af64b6106
Update sysconf to >=0.3.4 2018-08-29 23:28:13 +03:00
Roman Zeyde
f62601bae3
Re-use bitcoin crate Network definitions 2018-08-29 21:53:01 +03:00
Roman Zeyde
bb4c7a667d
Merge branch 'remove_unused_field' of https://github.com/greenaddress/electrs into remove-field 2018-08-29 18:41:14 +03:00
Roman Zeyde
d2b61ac223
Merge pull request #53 from RCasatta/update-rust-bitcoin
update rust-bitcoin dep to 0.14
2018-08-24 13:07:48 +03:00
Riccardo Casatta
8d2f491e91 update rust-bitcoin dep to 0.14 2018-08-24 10:57:19 +02:00
Lawrence Nahum
d6f4d9e197
remove unused size_on_disk 2018-08-21 17:59:34 +02:00
Roman Zeyde
2d2590aeae
Add Docker usage example 2018-08-20 22:42:58 +03:00
Roman Zeyde
b1bec059a8
Specify user, workdir, ports and signal at Dockerfile 2018-08-20 19:27:23 +03:00
Roman Zeyde
e9a6bd0986
Fix daemon resconnection log message 2018-08-20 12:28:30 +03:00
Roman Zeyde
0e525c9342
Add a simple Dockerfile 2018-08-20 12:28:08 +03:00
Roman Zeyde
b747829606
Update release notes 2018-08-20 11:19:40 +03:00
Roman Zeyde
62bc2dc845
Bump version 2018-08-20 08:11:39 +03:00
Roman Zeyde
227b6ed74b
Add simple Dockerfile 2018-08-19 19:27:14 +03:00
Roman Zeyde
836bc5861e
Update Aug 2018 index DB size 2018-08-17 22:19:14 +03:00
Roman Zeyde
98ec908a8d
Update bulk indexing sample
Now it takes ~1.5h :)
2018-08-17 21:56:02 +03:00
Roman Zeyde
215f859aae
Update latest Rust version 2018-08-17 15:32:14 +03:00
Roman Zeyde
2fad1fb8c9
Refactor P2P notification handling 2018-08-15 17:40:56 +03:00
Roman Zeyde
604f7680df
Notify only about new blocks from P2P layer 2018-08-15 17:05:12 +03:00
Roman Zeyde
818148dc0e
Move shutting down logging to INFO 2018-08-15 15:27:48 +03:00
Roman Zeyde
f905e50ef4
Remove TLS-related TODO 2018-08-15 15:05:40 +03:00
Roman Zeyde
c7552878d8
Add more documentation for Electrum client invocation 2018-08-15 15:02:24 +03:00
Roman Zeyde
288cda518c
Document TLS-termination proxy example 2018-08-15 15:00:14 +03:00
Roman Zeyde
3198d79e7a
Add naive check for SSL encrypted data
Currently, SSL connections are not supported.
2018-08-15 14:54:17 +03:00
Roman Zeyde
d45dba2681
Move p2p listener logic into notify module 2018-08-15 11:08:52 +03:00
Roman Zeyde
fd5db9b2fd
Add simple P2P listener example 2018-08-15 10:32:13 +03:00
Roman Zeyde
a8a5772b26
Remove periodic mempool size logging 2018-08-15 08:50:59 +03:00
Roman Zeyde
fc8656f7a4
Refactor daemon's JSONRPC retries
This should handle also "retriable" JSONRPC errors (e.g. RPC_IN_WARMUP)
2018-08-14 23:54:45 +03:00
Roman Zeyde
73d649dc27
Detect bitcoind RPC_IN_WARMUP JSONRPC error
Handle it similarly to disconnection errors.
2018-08-14 23:52:19 +03:00
Roman Zeyde
583e6beaca
Reimplement Daemon::request() using Daemon::requests() 2018-08-14 22:33:17 +03:00
Roman Zeyde
38aa2a4cf4
Fail Electrum RPCs if daemon's RPC returns an error
It appears that bitcoind return "HTTP/1.1 500" in case of JSONRPC error:
63f8b0128b/src/httprpc.cpp (L72)
2018-08-14 22:33:17 +03:00
Roman Zeyde
945a2d11d1
Remove irrelevant TODO
This can be achieved by limiting bitcoind mempool size.
2018-08-14 13:30:52 +03:00
Roman Zeyde
961a9207ae
Poll mempool after a transaction is broadcast 2018-08-14 13:09:30 +03:00
Roman Zeyde
8b02df8f4c
Ignore *.pyc files 2018-08-14 11:41:37 +03:00
Roman Zeyde
7b79bc93fc
Mention new monitoring ports' defaults 2018-08-14 11:36:32 +03:00
Roman Zeyde
5869a833cd
Bump version 2018-08-14 11:17:29 +03:00
Roman Zeyde
f387d038bc
Unconfirmed balance may be negative
e.g. when an outgoing transaction is unconfirmed
2018-08-14 10:34:50 +03:00
Roman Zeyde
b78e047dfa
Separate default monitoring ports for testnet and regtest 2018-08-14 10:16:01 +03:00
Roman Zeyde
2e6554cc92
Support testnet mempool visualization 2018-08-14 10:08:11 +03:00
Roman Zeyde
0f02dfdcba
Add testnet support for address-based balance query tool 2018-08-14 09:28:53 +03:00
Roman Zeyde
56af6170dd
Refactor daemon port and cookie directory 2018-08-14 09:23:45 +03:00
Roman Zeyde
123e0cf23b
Separate Electrum client helper from actual tools 2018-08-14 09:19:55 +03:00
Roman Zeyde
a3f43643f3
Support 'blockchain.address.subscribe' Electrum API 2018-08-13 11:45:34 +03:00
Roman Zeyde
ecc8a2004e
Log HTTP headers and response in case of JSONRPC error 2018-08-12 17:23:26 +03:00
Roman Zeyde
2f1e4123e1
Update usage.md with Electrum installation URL 2018-08-12 13:50:45 +03:00
Roman Zeyde
cb6196d7a9
Increase target_file_size to 256MB (for HDD) 2018-08-07 15:11:09 +03:00
Roman Zeyde
85edb2cc2c
Use OS prefetching during bulk import 2018-08-07 15:10:28 +03:00
Roman Zeyde
4ee5aba5fe
Add HDD tuning guide to TODO.md 2018-08-07 15:09:44 +03:00