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)
|
7 years ago |
Roman Zeyde
|
945a2d11d1
|
Remove irrelevant TODO
This can be achieved by limiting bitcoind mempool size.
|
7 years ago |
Roman Zeyde
|
961a9207ae
|
Poll mempool after a transaction is broadcast
|
7 years ago |
Roman Zeyde
|
8b02df8f4c
|
Ignore *.pyc files
|
7 years ago |
Roman Zeyde
|
7b79bc93fc
|
Mention new monitoring ports' defaults
|
7 years ago |
Roman Zeyde
|
5869a833cd
|
Bump version
|
7 years ago |
Roman Zeyde
|
f387d038bc
|
Unconfirmed balance may be negative
e.g. when an outgoing transaction is unconfirmed
|
7 years ago |
Roman Zeyde
|
b78e047dfa
|
Separate default monitoring ports for testnet and regtest
|
7 years ago |
Roman Zeyde
|
2e6554cc92
|
Support testnet mempool visualization
|
7 years ago |
Roman Zeyde
|
0f02dfdcba
|
Add testnet support for address-based balance query tool
|
7 years ago |
Roman Zeyde
|
56af6170dd
|
Refactor daemon port and cookie directory
|
7 years ago |
Roman Zeyde
|
123e0cf23b
|
Separate Electrum client helper from actual tools
|
7 years ago |
Roman Zeyde
|
a3f43643f3
|
Support 'blockchain.address.subscribe' Electrum API
|
7 years ago |
Roman Zeyde
|
ecc8a2004e
|
Log HTTP headers and response in case of JSONRPC error
|
7 years ago |
Roman Zeyde
|
2f1e4123e1
|
Update usage.md with Electrum installation URL
|
7 years ago |
Roman Zeyde
|
cb6196d7a9
|
Increase target_file_size to 256MB (for HDD)
|
7 years ago |
Roman Zeyde
|
85edb2cc2c
|
Use OS prefetching during bulk import
|
7 years ago |
Roman Zeyde
|
4ee5aba5fe
|
Add HDD tuning guide to TODO.md
|
7 years ago |
Roman Zeyde
|
b300a55cb4
|
Log daemon information with INFO verbosity
|
7 years ago |
Roman Zeyde
|
1c75b55b71
|
Reduce `max_open_files` to reduce RocksDB RAM usage
At 128MB per SST, we should have ~300 target files.
|
7 years ago |
Roman Zeyde
|
d8e53246c4
|
Persist full compaction marker after bulk indexing is over
|
7 years ago |
Roman Zeyde
|
652e577f24
|
Export more metrics from server
Add userspace CPU usage and # of file descriptors.
|
7 years ago |
Roman Zeyde
|
a93284cd96
|
Export current process RSS size to Prometheus
|
7 years ago |
Roman Zeyde
|
eab81c2936
|
Use larger write buffer size (256MB)
|
7 years ago |
Roman Zeyde
|
2260fdc1a4
|
Apply full-compaction after non-bulk initial indexing
|
7 years ago |
Roman Zeyde
|
ac819af52e
|
Allow setting index batch size from command-line
Should allow running on low-memory systems.
|
7 years ago |
Roman Zeyde
|
0b4a56ade8
|
Use regular indexing instead of the bulk-based one (with disabled compaction)
|
7 years ago |
Roman Zeyde
|
972a155ce0
|
Use larger write buffer size (128MB)
|
7 years ago |
Roman Zeyde
|
f66e5e48cc
|
Add a simple tool for full compaction benchmarking
|
7 years ago |
Roman Zeyde
|
7e7f62111a
|
Implement "verbose" `blockchain.transaction.get` Electrum RPC
Also, change Daemon::load_txn() to be a private method.
|
7 years ago |
Roman Zeyde
|
93022ef834
|
Add "raw" gettransaction() daemon method
It allows implementing "verbose" `blockchain.transaction.get` Electrum RPC
|
7 years ago |
Roman Zeyde
|
2f48be7d0b
|
Support "blockchain.address.get_balance" Electrum API
|
7 years ago |
Roman Zeyde
|
001f7a7ba5
|
Update stable Rust to 1.28
Fix formatting warnings.
|
7 years ago |
Roman Zeyde
|
e4556e8929
|
Replace to-be-deprecated `std:🔚:home_dir()` with `dirs::home_dir()`
Found by building on nightly
|
7 years ago |
Roman Zeyde
|
792dd8867a
|
Fail if bitcoind is pruned or still in IBD
(with human-readable error message)
|
7 years ago |
Roman Zeyde
|
308333f40b
|
Make sure bitcoind 0.16+ is used
|
7 years ago |
Roman Zeyde
|
31ee0df0bf
|
Use stable Rust from ./scripts/run.sh
|
7 years ago |
Roman Zeyde
|
b71c41854e
|
Re-open DB before compaction (to close unused file descriptors)
|
7 years ago |
Roman Zeyde
|
45b507a241
|
Add optional --cookie flag to usage example
|
7 years ago |
Roman Zeyde
|
00210f6e29
|
Remove optional bitcoind flag from doc/usage.md
|
7 years ago |
Roman Zeyde
|
85687f18dd
|
Add short description to example/ binaries
|
7 years ago |
Roman Zeyde
|
96c0737649
|
Add key/value separators for schema doc
|
7 years ago |
Roman Zeyde
|
87b4df5747
|
Persist stderr log with run.sh
|
7 years ago |
Roman Zeyde
|
016fc46018
|
Reduce compaction readahead size to 1MB
Should reduce RAM consumption during full compaction stage,
without hurting the throughput too much.
|
7 years ago |
Roman Zeyde
|
d8078c1930
|
Enable detailed backtraces at scripts/run.sh
|
7 years ago |
Roman Zeyde
|
b8e07f153a
|
Correct RPC shutdown logging
|
7 years ago |
Roman Zeyde
|
b9c778f02d
|
Respond to SIGINT while waiting for re-connections
|
7 years ago |
Roman Zeyde
|
ea39632523
|
Add interrupt error kind
|
7 years ago |
Roman Zeyde
|
3f9f6e6330
|
Exit RPC server during its d-tor
|
7 years ago |
Roman Zeyde
|
2c167c6a7d
|
Merge branch 'disconnect'
|
7 years ago |