Roman Zeyde
|
818148dc0e
|
Move shutting down logging to INFO
|
6 years ago |
Roman Zeyde
|
f905e50ef4
|
Remove TLS-related TODO
|
6 years ago |
Roman Zeyde
|
c7552878d8
|
Add more documentation for Electrum client invocation
|
6 years ago |
Roman Zeyde
|
288cda518c
|
Document TLS-termination proxy example
|
6 years ago |
Roman Zeyde
|
3198d79e7a
|
Add naive check for SSL encrypted data
Currently, SSL connections are not supported.
|
6 years ago |
Roman Zeyde
|
d45dba2681
|
Move p2p listener logic into `notify` module
|
6 years ago |
Roman Zeyde
|
fd5db9b2fd
|
Add simple P2P listener example
|
6 years ago |
Roman Zeyde
|
a8a5772b26
|
Remove periodic mempool size logging
|
6 years ago |
Roman Zeyde
|
fc8656f7a4
|
Refactor daemon's JSONRPC retries
This should handle also "retriable" JSONRPC errors (e.g. RPC_IN_WARMUP)
|
6 years ago |
Roman Zeyde
|
73d649dc27
|
Detect bitcoind RPC_IN_WARMUP JSONRPC error
Handle it similarly to disconnection errors.
|
6 years ago |
Roman Zeyde
|
583e6beaca
|
Reimplement Daemon::request() using Daemon::requests()
|
6 years ago |
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)
|
6 years ago |
Roman Zeyde
|
945a2d11d1
|
Remove irrelevant TODO
This can be achieved by limiting bitcoind mempool size.
|
6 years ago |
Roman Zeyde
|
961a9207ae
|
Poll mempool after a transaction is broadcast
|
6 years ago |
Roman Zeyde
|
8b02df8f4c
|
Ignore *.pyc files
|
6 years ago |
Roman Zeyde
|
7b79bc93fc
|
Mention new monitoring ports' defaults
|
6 years ago |
Roman Zeyde
|
5869a833cd
|
Bump version
|
6 years ago |
Roman Zeyde
|
f387d038bc
|
Unconfirmed balance may be negative
e.g. when an outgoing transaction is unconfirmed
|
6 years ago |
Roman Zeyde
|
b78e047dfa
|
Separate default monitoring ports for testnet and regtest
|
6 years ago |
Roman Zeyde
|
2e6554cc92
|
Support testnet mempool visualization
|
6 years ago |
Roman Zeyde
|
0f02dfdcba
|
Add testnet support for address-based balance query tool
|
6 years ago |
Roman Zeyde
|
56af6170dd
|
Refactor daemon port and cookie directory
|
6 years ago |
Roman Zeyde
|
123e0cf23b
|
Separate Electrum client helper from actual tools
|
6 years ago |
Roman Zeyde
|
a3f43643f3
|
Support 'blockchain.address.subscribe' Electrum API
|
6 years ago |
Roman Zeyde
|
ecc8a2004e
|
Log HTTP headers and response in case of JSONRPC error
|
6 years ago |
Roman Zeyde
|
2f1e4123e1
|
Update usage.md with Electrum installation URL
|
6 years ago |
Roman Zeyde
|
cb6196d7a9
|
Increase target_file_size to 256MB (for HDD)
|
6 years ago |
Roman Zeyde
|
85edb2cc2c
|
Use OS prefetching during bulk import
|
6 years ago |
Roman Zeyde
|
4ee5aba5fe
|
Add HDD tuning guide to TODO.md
|
6 years ago |
Roman Zeyde
|
b300a55cb4
|
Log daemon information with INFO verbosity
|
6 years ago |
Roman Zeyde
|
1c75b55b71
|
Reduce `max_open_files` to reduce RocksDB RAM usage
At 128MB per SST, we should have ~300 target files.
|
6 years ago |
Roman Zeyde
|
d8e53246c4
|
Persist full compaction marker after bulk indexing is over
|
6 years ago |
Roman Zeyde
|
652e577f24
|
Export more metrics from server
Add userspace CPU usage and # of file descriptors.
|
6 years ago |
Roman Zeyde
|
a93284cd96
|
Export current process RSS size to Prometheus
|
6 years ago |
Roman Zeyde
|
eab81c2936
|
Use larger write buffer size (256MB)
|
6 years ago |
Roman Zeyde
|
2260fdc1a4
|
Apply full-compaction after non-bulk initial indexing
|
6 years ago |
Roman Zeyde
|
ac819af52e
|
Allow setting index batch size from command-line
Should allow running on low-memory systems.
|
6 years ago |
Roman Zeyde
|
0b4a56ade8
|
Use regular indexing instead of the bulk-based one (with disabled compaction)
|
6 years ago |
Roman Zeyde
|
972a155ce0
|
Use larger write buffer size (128MB)
|
6 years ago |
Roman Zeyde
|
f66e5e48cc
|
Add a simple tool for full compaction benchmarking
|
6 years ago |
Roman Zeyde
|
7e7f62111a
|
Implement "verbose" `blockchain.transaction.get` Electrum RPC
Also, change Daemon::load_txn() to be a private method.
|
6 years ago |
Roman Zeyde
|
93022ef834
|
Add "raw" gettransaction() daemon method
It allows implementing "verbose" `blockchain.transaction.get` Electrum RPC
|
6 years ago |
Roman Zeyde
|
2f48be7d0b
|
Support "blockchain.address.get_balance" Electrum API
|
6 years ago |
Roman Zeyde
|
001f7a7ba5
|
Update stable Rust to 1.28
Fix formatting warnings.
|
6 years ago |
Roman Zeyde
|
e4556e8929
|
Replace to-be-deprecated `std:🔚:home_dir()` with `dirs::home_dir()`
Found by building on nightly
|
6 years ago |
Roman Zeyde
|
792dd8867a
|
Fail if bitcoind is pruned or still in IBD
(with human-readable error message)
|
6 years ago |
Roman Zeyde
|
308333f40b
|
Make sure bitcoind 0.16+ is used
|
6 years ago |
Roman Zeyde
|
31ee0df0bf
|
Use stable Rust from ./scripts/run.sh
|
6 years ago |
Roman Zeyde
|
b71c41854e
|
Re-open DB before compaction (to close unused file descriptors)
|
6 years ago |
Roman Zeyde
|
45b507a241
|
Add optional --cookie flag to usage example
|
6 years ago |