1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
Commit Graph

1489 Commits

Author SHA1 Message Date
Roman Zeyde
d5fc333d3c Update release notes 2021-12-28 15:49:44 +02:00
dependabot[bot]
bcd4ac3ce7 Bump anyhow from 1.0.51 to 1.0.52
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-28 15:47:26 +02:00
Roman Zeyde
4508125ac1 Add server loop-related metrics 2021-12-24 09:37:35 +02:00
dependabot[bot]
1a8607bb73 Bump serde_json from 1.0.72 to 1.0.73
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73)

---
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-12-20 20:19:44 +02:00
dependabot[bot]
e36b3c951b Bump serde from 1.0.131 to 1.0.132
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 20:19:10 +02:00
dependabot[bot]
d9d09cf126 Bump signal-hook from 0.3.12 to 0.3.13
Bumps [signal-hook](https://github.com/vorner/signal-hook) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/vorner/signal-hook/releases)
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.12...v0.3.13)

---
updated-dependencies:
- dependency-name: signal-hook
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 20:18:52 +02:00
Roman Zeyde
fca8f3dbf2 Update release notes 2021-12-16 22:18:40 +02:00
dependabot[bot]
cb1f0c2a44 Bump signal-hook from 0.3.10 to 0.3.12
Bumps [signal-hook](https://github.com/vorner/signal-hook) from 0.3.10 to 0.3.12.
- [Release notes](https://github.com/vorner/signal-hook/releases)
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.10...v0.3.12)

---
updated-dependencies:
- dependency-name: signal-hook
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 20:38:00 +02:00
dependabot[bot]
635c9fe810 Bump serde from 1.0.130 to 1.0.131
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 16:32:32 +02:00
dependabot[bot]
3d886bffc2 Bump anyhow from 1.0.50 to 1.0.51
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.50...1.0.51)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 16:33:53 +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