Martin Habovštiak
0db0e8c8c1
Update documentation regarding cargo features
...
With new `rocksdb` it's no longer necessary to disable features when dynamically linking.
Thus this change removes instructions to add `--no-default-features`.
However there's now a new feature called `metrics` which enables Prometheus.
This change also documents this and explains how to turn it off.
Closes #517
2021-09-30 14:09:26 +02:00
Roman Zeyde
34a8549d2e
Fix description
...
Fix https://github.com/romanz/electrs/issues/516
2021-09-30 13:58:49 +03:00
Roman Zeyde
557911e3ba
Release 0.9.0
2021-09-30 10:13:10 +03:00
Roman Zeyde
8df21a4f7c
Merge pull request #514 from Kixunil/dbdir-doc
...
Detailed documentation of db_dir
2021-09-30 10:10:48 +03:00
Martin Habovstiak
5537c963c0
Detailed documentation of db_dir
...
This warns users that they shouldn't touch `db_dir` internals except for
deleting the old `mainnet` database. It explains in details how to do
upgrade and deleting properly, calls it out in release notes and fixes
small style mistake in nearby heading.
It can be thought of as more explicit/detailed version of
8b8ebea0018d3e9a97ce965845b1914df4b4d8a4 or a textual alternative to
PR #513 .
2021-09-29 22:15:53 +02:00
Roman Zeyde
6fff80e9af
Merge pull request #511 from DominoPrusa/master
...
fixed color in logo and icon export
2021-09-28 21:00:41 +03:00
Dominik Průša
43b944da15
fixed color in logo and icon export
2021-09-28 19:36:06 +02:00
Roman Zeyde
d97479ad6b
Fixup https://github.com/DominoPrusa link
2021-09-28 20:01:39 +03:00
Roman Zeyde
30a409ff4a
Add electrs logo
...
Provided by Dominik Průša (https://github.com/DominoPrusa )
under the MIT license.
2021-09-28 19:30:21 +03:00
Roman Zeyde
a28eebcf00
Fixup timeout log warning
2021-09-28 08:37:37 +03:00
Roman Zeyde
ac16b9d3b6
Don't fail on HTTP timeouts from bitcoind RPC
...
It should be OK to retry in case of a RPC timeout.
Should help with https://github.com/romanz/electrs/issues/495 .
2021-09-27 20:44:24 +03:00
Roman Zeyde
0e2766c264
Disable setting TRACE verbosity by '-vvvv'
...
Should fix https://github.com/romanz/electrs/issues/355#issuecomment-926903119 .
It still can be set using:
```
RUST_LOG=electrs=TRACE target/release/electrs <args>
```
See https://docs.rs/env_logger for more usage examples.
2021-09-26 12:46:12 +03:00
Roman Zeyde
a10c3244da
Add gauge metric to export latest block height
2021-09-26 12:05:13 +03:00
Roman Zeyde
94de4345b4
Update indexing duration histogram metrics
2021-09-26 12:04:12 +03:00
Roman Zeyde
7b52eadf82
Drop unused metrics
2021-09-26 11:53:10 +03:00
Roman Zeyde
f0e9549650
Merge pull request #501 from romanz/simpler-index
...
Use blocks' height iterator (instead of a map)
2021-09-26 09:42:34 +03:00
Roman Zeyde
9b2d40966d
Use blocks' height iterator (instead of a map)
...
We already assume that blocks are processed in ascending order.
2021-09-26 00:02:57 +03:00
Roman Zeyde
c902e4e545
Merge pull request #504 from Kixunil/patch-4
...
Warn about log level
2021-09-25 22:34:35 +03:00
Martin Habovštiak
c299183289
Explain verbose level in usage
2021-09-25 19:46:01 +02:00
Martin Habovštiak
cb53ec2938
Warn about log level
...
Some people still incorrectly use trace log level and get burned by this update.
2021-09-25 19:39:39 +02:00
Roman Zeyde
f420188650
Add a release note about db/mainnet
-> db/bitcoin
rename
...
https://github.com/romanz/electrs/issues/502
2021-09-25 18:07:17 +03:00
Roman Zeyde
74b94d80e1
Fix a few clippy lints
2021-09-23 23:20:25 +03:00
Roman Zeyde
7c55c784c3
Use bitcoincore-rpc
0.14.0 release
...
Since it now uses `bitcoin` 0.27
2021-09-23 18:37:02 +03:00
Roman Zeyde
5ae3d6526e
Update 0.9.0-rc2 release notes
2021-09-23 18:09:58 +03:00
Roman Zeyde
a8a4ba280e
Use latest cargo-audit
2021-09-23 17:53:20 +03:00
Roman Zeyde
f5bd245569
Close index DB if interrupted during initial sync
...
It should allow resuming initial sync (fixing #494 ).
2021-09-23 17:40:14 +03:00
Roman Zeyde
c7133dd9e7
Refactor index_batch_size
usage
2021-09-23 17:40:14 +03:00
Roman Zeyde
8285cf3fc7
Allow configuration of JSON-RPC timeout
...
Following https://github.com/romanz/electrs/issues/495 .
Also, fix https://github.com/romanz/electrs/issues/443 .
2021-09-23 17:21:57 +03:00
Roman Zeyde
492d6aa275
Don't fail if wait_for_new_block
RPC timeouts
...
Following #495 .
2021-09-21 13:11:56 +03:00
Roman Zeyde
3041e89cd2
Bump bitcoin crate to 0.27.1
...
Fixes #490 .
Also, reverts 52dd59c117
.
2021-09-20 17:46:30 +03:00
Roman Zeyde
2887359883
Merge pull request #493 from romanz/cargo-audit
...
Run 'cargo audit' in CI
2021-09-19 23:23:33 +03:00
Roman Zeyde
048d038aaf
Run CI also once a day
2021-09-19 22:38:46 +03:00
Roman Zeyde
e29483318e
Run 'cargo audit' in CI
2021-09-19 22:30:42 +03:00
Roman Zeyde
29c81f61a2
Build with 'prometheus/process' in server.sh
2021-09-19 21:21:51 +03:00
Roman Zeyde
8252518ff4
Add #490 to release notes
2021-09-19 19:10:32 +03:00
Roman Zeyde
52dd59c117
Don't apply debug formatting to NetworkMessages in p2p.rs
...
Otherwise, it may panic on tx ebc9fa1196a59e192352d76c0f6e73167046b9d37b8302b6bb6968dfd279b767 with curent rust-bitcoin.
See https://github.com/romanz/electrs/issues/490#issuecomment-922470120 for more details.
2021-09-19 18:55:56 +03:00
Roman Zeyde
205b33ade9
Merge pull request #492 from romanz/disable-process-collector
...
Don't use prometheus::process_collector::ProcessCollector by default
2021-09-19 17:44:59 +03:00
Roman Zeyde
d085b60fb0
Don't use TRACE verbosity in contrib/electrs.service
2021-09-19 14:15:52 +03:00
Roman Zeyde
2ded459d0c
Don't use prometheus::process_collector::ProcessCollector by default
...
Following #491 .
It can be re-enabled by:
```
cargo build --release --features prometheus/process
```
2021-09-19 14:10:49 +03:00
Roman Zeyde
a53048f2ef
Fixup schema.md table formatting
2021-09-18 20:19:58 +03:00
Roman Zeyde
2237e45a55
Delete old sync.sh script
2021-09-18 20:16:26 +03:00
Roman Zeyde
77b47ec351
Document the reasons for using custom RocksDB release
2021-09-18 09:45:18 +03:00
Roman Zeyde
357bfe896d
Use a custom release of rocksdb
2021-09-18 09:01:29 +03:00
Roman Zeyde
3c4e616901
Add p2p daemon address to config_example.toml
2021-09-18 00:28:55 +03:00
Roman Zeyde
32b6340cc1
Use core-rpc
instead of bitcoincore-rpc
...
https://github.com/RCasatta/rust-bitcoincore-rpc
2021-09-17 23:42:57 +03:00
Roman Zeyde
62e404848b
Update 0.9.0-rc1 release date and notes
2021-09-17 20:01:10 +03:00
Roman Zeyde
2152ac9cca
Merge branch 'p2p'
2021-09-17 16:08:19 +03:00
Martin Habovštiak
c1ce81112f
Reference auto reindex PR in release notes
...
Co-authored-by: Roman Zeyde <git@romanzey.de>
2021-09-17 15:28:24 +03:00
Martin Habovštiak
c11ee11395
JSON spelling
...
Co-authored-by: Roman Zeyde <git@romanzey.de>
2021-09-17 15:28:24 +03:00
Martin Habovstiak
ce96481522
Improve documentation of 0.8.x -> 0.9.0 upgrade
...
This should hopefully make the major changes more visible and avoid
surprises.
2021-09-17 15:28:24 +03:00