Commit Graph

613 Commits

Author SHA1 Message Date
Roman Zeyde
af189983ae
Add build and test to Travis 2018-09-28 11:11:35 +03:00
Roman Zeyde
27b3255298
Add Cargo.lock to git 2018-09-27 19:55:01 +03:00
Roman Zeyde
19fa5355f2
Experiment with vanilla caching 2018-09-27 19:50:57 +03:00
Roman Zeyde
71347c1568
Simplify status queries by using itermediate variables 2018-09-27 17:01:41 +03:00
Roman Zeyde
4301abdd10
Bump version 2018-09-22 15:44:24 +03:00
Roman Zeyde
3f51458fee
Optimize for low-memory systems by using different RocksDB settings
- Keep less open files (to preserve memory)
- Don't use compaction readahead
- Use smaller SSTable block size
2018-09-16 09:55:42 +03:00
Roman Zeyde
200ef16ed0
Expose low-memory indexing via --jsonrpc-import flag
(instead of --skip_bulk_import)
2018-09-16 09:55:42 +03:00
Roman Zeyde
e09816db65
Bump version 2018-09-14 17:59:54 +03:00
Roman Zeyde
18d2aef052
Re-format using Rust 1.29 2018-09-14 16:35:18 +03:00
Roman Zeyde
58ea2ed960
Allow higher concurrency for >dual core machines 2018-09-07 18:08:36 +03:00
Roman Zeyde
853513ed27
Add 'blockchain.address.get_history' API
For easier invocation (e.g. using curl).
2018-09-03 12:04:28 +03:00
Roman Zeyde
27ce8ca0ab
Handle disconnections during reading RPC response
Make sure that the read data has the same size as the "Content-Length" header.
2018-09-02 15:07:21 +03:00
Roman Zeyde
fcd85e9f51
Add a small test for FakeStore 2018-09-01 10:13:46 +03:00
Roman Zeyde
fff0d0632a
Remove obsolete bulk loading example 2018-09-01 08:26:19 +03:00
Roman Zeyde
00da50d1ac
Reload block header index only after bulk indexing is over 2018-08-31 20:51:57 +03:00
Roman Zeyde
79b182af08
Add full compaction helpers to store module 2018-08-31 20:49:27 +03:00
Roman Zeyde
610a0ade07
Improve bulk indexing comment 2018-08-31 14:48:05 +03:00
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