Roman Zeyde
5d7655efc1
WIP: gtxid
2021-12-05 22:04:00 +02:00
Roman Zeyde
4f6d5a4d4a
Fix a few clippy warnings
...
Found with `cargo +stable clippy`.
2021-12-04 23:00:52 +02:00
Roman Zeyde
6a3165af43
Parse p2p messages in a separate thread
...
Also, use a separate metrics for parsing duration monitoring.
2021-12-04 19:41:29 +02:00
Roman Zeyde
67d8472e19
Update release notes
2021-12-04 10:45:11 +02:00
Roman Zeyde
e5047a0b10
Disable index_lookup_limit
by default
2021-12-04 10:42:01 +02:00
Martin Habovštiak
0e69b6ac16
Clarify that electrs is intended for personal use
...
This is quite important information that people occasionally miss. Documenting it visibly should help.
Additional context: https://github.com/romanz/electrs/issues/635#issuecomment-985402363
2021-12-03 20:04:16 +02:00
Christopher Bergqvist
cd348e72de
Warn on attempt to connect over SSL
...
Also output underlying errors when a thread fails.
2021-12-02 17:30:04 +02:00
Roman Zeyde
fe30cd605d
Improve p2p receiving metrics
2021-11-30 08:11:32 +02:00
dependabot[bot]
81aa7ad24a
Bump anyhow from 1.0.47 to 1.0.50
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.47 to 1.0.50.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.47...1.0.50 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 17:15:21 +02:00
dependabot[bot]
c96cd50f59
Bump serde_json from 1.0.71 to 1.0.72
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 17:15:01 +02:00
Roman Zeyde
cd04427e98
Update README.md
...
https://raspibolt.org/electrs.html is now updated to the latest electrs release :)
2021-11-26 16:52:41 +02:00
dependabot[bot]
6681b16e43
Bump serde_json from 1.0.70 to 1.0.71
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.71 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 16:31:39 +02:00
dependabot[bot]
9499657005
Bump anyhow from 1.0.45 to 1.0.47
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.45 to 1.0.47.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.45...1.0.47 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 16:31:22 +02:00
Roman Zeyde
a5ef325d5a
Bump version
2021-11-19 09:09:53 +02:00
Roman Zeyde
0f075fe10c
Update release notes
2021-11-19 09:06:07 +02:00
Roman Zeyde
9839a1123e
Refactor Index::sync() a bit
2021-11-19 08:52:19 +02:00
Roman Zeyde
d68869a962
Support basic RPC handling during initial sync
...
Following https://github.com/romanz/electrs/issues/534#issuecomment-935982984
2021-11-19 08:52:19 +02:00
Roman Zeyde
1b6e5a60da
Add asciinema screencasts for quickstart installation and usage
2021-11-17 14:37:03 +02:00
Andreas Schildbach
ce9b19db63
Dockerfile: re-add curl, so it can be used for docker health checks
2021-11-14 12:14:25 +02:00
dependabot[bot]
220fc587ad
Bump serde_json from 1.0.68 to 1.0.70
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.68 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.70 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 14:25:54 +02:00
dependabot[bot]
3be704fd7a
Bump anyhow from 1.0.44 to 1.0.45
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.45 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 14:25:41 +02:00
Roman Zeyde
108eeebc64
Merge pull request #620 from dbast/master
...
Add dependabot config for autmatic cargo update PRs
2021-11-13 13:07:35 +02:00
Daniel Bast
bb21e76c84
Add dependabot config for autmatic cargo update PRs
2021-11-13 09:59:36 +01:00
Roman Zeyde
a90871a9fc
Fixup --log-filters
documentation and examples
...
Drop `-v` and `--verbose` mentions.
2021-11-12 19:59:11 +02:00
Roman Zeyde
64bc7e1583
Update release notes
2021-11-08 19:46:48 +02:00
Roman Zeyde
cbdca8c266
Allow setting logging filters via configuration
...
Similar to `RUST_LOG` environment variable.
2021-11-08 19:46:31 +02:00
Roman Zeyde
aa789e7575
Remove verbose
configuration
...
Please use `RUST_LOG` or `--log-filter` to specify logging verbosity.
See https://github.com/env-logger-rs/env_logger/ for details.
2021-11-08 19:46:26 +02:00
Roman Zeyde
8c28579ea9
Drop cache_merkle_proofs
configuration
...
https://github.com/romanz/electrs/pull/610#issuecomment-962973917
2021-11-08 12:45:27 +02:00
Roman Zeyde
29831558f7
Merge pull request #612 from seberm/feature/version-argument
...
Add possibility to print out the program version without actually running it
2021-11-08 06:40:32 +02:00
Otto Sabart
6e4dd1575b
Add version command line argument
2021-11-07 21:51:37 +01:00
Roman Zeyde
f38cf0f1f5
Remove redundant ':' when logging
2021-11-07 22:22:57 +02:00
Roman Zeyde
2d09854f9d
Allow skipping merkle proofs' during subscription
...
We still support them (by computing them on-demand) and caching them with `--cache-merkle-proofs`.
Also, don't compute block's txids if we don't cache merkle proofs during subscription
3ce23ae01e (r59562642)
2021-11-07 16:41:19 +02:00
Roman Zeyde
20b16478ac
Fixup logging in case of a tx/proof cache miss
2021-11-07 08:42:47 +02:00
Roman Zeyde
c8e41c4052
Refactor common transactions filtering code into filter_block_txs
2021-11-06 14:37:34 +02:00
Roman Zeyde
fefd9dee11
Move cache updates outside into_par_iter()
block
...
Also, simplify `Cache::add_proof`.
2021-11-06 13:33:39 +02:00
Roman Zeyde
897e5979c5
Don't warn when queried with unsubscribed scripthashes
...
https://github.com/romanz/electrs/issues/608#issuecomment-961778452
2021-11-05 22:06:21 +02:00
Roman Zeyde
a73866297f
Refactor Status::sync_confirmed a bit
2021-11-05 08:40:53 +02:00
Roman Zeyde
2228c4e4a6
Scan block transactions in parallel
2021-11-05 07:12:48 +02:00
Roman Zeyde
4aa5a3b8b7
Update release notes
2021-11-01 08:37:19 +02:00
Roman Zeyde
304426d0b2
Update MSRV requirements to Rust 1.48
2021-10-31 15:53:22 +02:00
Roman Zeyde
d2d441b7f2
Use matches
macro in p2p.rs
...
Requires Rust 1.42+
2021-10-31 15:53:22 +02:00
Roman Zeyde
53e16f89f7
Monitor various DB statistics via Prometheus
...
d52b520d51/include/rocksdb/db.h (L953)
Note: `index_db_size` mertrics is removed.
2021-10-31 15:51:54 +02:00
Roman Zeyde
3731abd7ee
Bump env_logger
to 0.9
2021-10-31 09:19:00 +02:00
Roman Zeyde
1318861f69
Update dependencies
2021-10-31 08:48:44 +02:00
Roman Zeyde
86488f699b
Bump version
2021-10-30 16:12:23 +03:00
Roman Zeyde
d9c2a2ca81
Update release notes
2021-10-30 16:11:03 +03:00
Roman Zeyde
fabc634762
Allow multiple scripthashes' subscription in parallel
2021-10-30 15:47:07 +03:00
Roman Zeyde
44bc27d7ca
Parse 'addr' messages as well
...
Following 3965a3b184
.
2021-10-30 15:45:01 +03:00
Roman Zeyde
54e4d17eb4
Move JSON-RPC response generation to Call::response()
2021-10-29 11:28:29 +03:00
Roman Zeyde
5e06766fcf
Increase default metrics' buckets a bit
2021-10-29 10:12:48 +03:00