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

1595 Commits

Author SHA1 Message Date
dependabot[bot]
d4aff4a2b3
Bump bitcoin from 0.32.1 to 0.32.2 (#1053)
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin) from 0.32.1 to 0.32.2.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases)
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin-0.32.1...bitcoin-0.32.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 08:33:13 +03:00
dependabot[bot]
5e2f86e8f7
Bump bitcoin from 0.32.0 to 0.32.1 (#1048)
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin) from 0.32.0 to 0.32.1.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases)
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin-0.32.0...bitcoin-0.32.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 06:53:57 +03:00
Antoni Spaanderman
953988c00f
fix deprecation and clippy warnings (#1042) 2024-05-26 08:29:32 +03:00
Roman Zeyde
603830f1b9
Release 0.10.5 2024-05-17 19:55:05 +03:00
Roman Zeyde
d30d826870 Bump 'bitcoin' dependency to 0.32.0 2024-05-17 19:33:27 +03:00
Roman Zeyde
74b868c6e3
Use bicoind 27.0 in CI (#1035) 2024-05-10 17:44:49 +03:00
dependabot[bot]
38d1c45466
Bump bitcoin from 0.31.1 to 0.31.2 (#1027)
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin) from 0.31.1 to 0.31.2.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases)
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin-0.31.1...bitcoin-0.31.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 13:59:15 +03:00
Roman Zeyde
3539327460
Update rayon (#1025) 2024-03-29 19:59:14 +03:00
dependabot[bot]
b75b37eb6a
Bump rayon from 1.8.1 to 1.9.0 (#1015)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.1 to 1.9.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.1...rayon-core-v1.9.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 20:30:34 +02:00
soonsouth
901f7ad748
chore: fix const name (#1021)
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-17 20:30:06 +02:00
Roman Zeyde
6595edf20e
Bump version 2024-03-15 17:25:41 +02:00
ben-grande
1d249edc10
Document cleanse of build artifacts (#1014)
Fixes: https://github.com/romanz/electrs/issues/1001
2024-03-08 15:10:05 +02:00
dependabot[bot]
98b0754d95
Bump tempfile from 3.10.0 to 3.10.1 (#1016)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.0 to 3.10.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 08:36:07 +02:00
dependabot[bot]
98296c3f03
Bump crossbeam-channel from 0.5.11 to 0.5.12 (#1017)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.11 to 0.5.12.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.11...crossbeam-channel-0.5.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 08:34:29 +02:00
dependabot[bot]
0142b7e1b2
Bump log from 0.4.20 to 0.4.21 (#1018)
Bumps [log](https://github.com/rust-lang/log) from 0.4.20 to 0.4.21.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.20...0.4.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 08:34:12 +02:00
Roman Zeyde
576b5b2bb6
Don't fail mempool sync on missing transactions (#997)
Otherwise, RBF may cause current sync implementation to fail.
2024-03-02 13:55:38 +02:00
Roman Zeyde
c6bea47685
Update dependencies (#1009)
Updating anyhow v1.0.76 -> v1.0.80
    Updating secp256k1 v0.28.0 -> v0.28.2
    Updating secp256k1-sys v0.9.1 -> v0.9.2
    Updating smallvec v1.11.2 -> v1.13.1
    Updating termcolor v1.4.0 -> v1.4.1
    Updating thiserror v1.0.51 -> v1.0.55
    Updating thiserror-impl v1.0.51 -> v1.0.55
2024-02-24 07:04:51 +02:00
dependabot[bot]
75bf9096c4
Bump tempfile from 3.9.0 to 3.10.0 (#1003)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.9.0 to 3.10.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 17:16:00 +02:00
Roman Zeyde
52e3b19072
Bump version 2024-02-10 14:52:06 +02:00
vuittont60
0eec28e0f7
doc: fix typos (#999)
Signed-off-by: vuittont60 <81072379+vuittont60@users.noreply.github.com>
2024-01-30 12:59:38 +02:00
dependabot[bot]
6cf431e4b1
Bump shlex from 1.2.0 to 1.3.0 (#995)
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.2.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/comex/rust-shlex/commits)

---
updated-dependencies:
- dependency-name: shlex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 21:12:50 +02:00
dependabot[bot]
d4835bb912
Bump crossbeam-channel from 0.5.10 to 0.5.11 (#989)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.10...crossbeam-channel-0.5.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 21:12:39 +02:00
dependabot[bot]
aafe2daa33
Bump bitcoin from 0.31.0 to 0.31.1 (#991)
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases)
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin-0.31.0...bitcoin-0.31.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 21:12:07 +02:00
dependabot[bot]
83dbcdd303
Bump rayon from 1.8.0 to 1.8.1 (#993)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.0 to 1.8.1.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 21:11:54 +02:00
dependabot[bot]
9719e0cbcd
Bump env_logger from 0.10.1 to 0.10.2 (#994)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 21:11:40 +02:00
dependabot[bot]
f1be85fa7f
Bump tempfile from 3.8.1 to 3.9.0 (#986)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.8.1 to 3.9.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.9.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 06:53:27 +02:00
dependabot[bot]
86879f0334
Bump serde_json from 1.0.108 to 1.0.109 (#987)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.108 to 1.0.109.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 19:05:22 +02:00
Roman Zeyde
84c9a79cac
Bump version 2023-12-30 20:31:43 +02:00
dependabot[bot]
fd5e56a7ac
Bump crossbeam-channel from 0.5.9 to 0.5.10 (#982)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.9...crossbeam-channel-0.5.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 08:43:07 +02:00
Roman Zeyde
b2760f37ac
Update dependencies (#980)
Some of the crates don't compile on current MSRV (1.63.0).

They need to be kept back with:

 cargo update -p regex --precise 1.9.6
 cargo update -p zstd-sys --precise 2.0.8+zstd.1.5.5
 cargo update -p jobserver --precise 0.1.26
2023-12-24 14:50:07 +02:00
Roman Zeyde
ab12ce784d
Use batched RPC to fetch mempool entries & transactions 2023-12-20 20:53:01 +02:00
dependabot[bot]
efa045c9d0 Bump crossbeam-channel from 0.5.8 to 0.5.9
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.8...crossbeam-channel-0.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 17:11:30 +02:00
conduition
060c548b06 logically separate mempool sync polling and mutation
The existing Mempool::sync logic maintained a mutable reference
to the Mempool even though it's not actually using that
mutable privilege for the majority of the time that the sync
method is running. We separate the fetching the polling and
applying processes, so that we can make mempool polling async.
2023-12-12 21:22:24 +02:00
Roman Zeyde
db46643df1
Remove Mempool::new and Mempool::empty (#972) 2023-12-12 08:11:28 +02:00
conduition
c228115dec
avoid redundant recomputation of fee histogram
FeeHistogram was being recomputed from scratch on every
mempool.sync call. This was unnecessary. Instead we can
mutate the existing histogram state for each new
transaction added or removed from the mempool.
2023-12-10 23:45:39 +00:00
conduition
d18b815960
avoid redundant data returned from filter_map 2023-12-10 23:45:34 +00:00
Roman Zeyde
74aa403bba
Bump bitcoind to 26.0 (#969) 2023-12-09 20:20:25 +02:00
Martin Habovštiak
d84d7d672c
Explain behavior of config file loading (#964)
Previously it was not clear from the documentation that configuration files are optional or why non-not-exist errors are hard errors. This change adds the information about these important properties of config files to the documentation.
2023-12-03 11:35:43 +02:00
Martin Habovštiak
b24fcae186
Improve config documentation (#963)
The `--skip-default-conf-files` flag is often desired but people may miss it because it's not in the doc, so this documents it.

Further, to avoid problems with people missing flags this adds a recommendation to run `electrs --help` so if we ever forget to update the doc people will learn about the new arguments anyway.

Following #962.
2023-12-01 20:12:59 +02:00
Roman Zeyde
4f76c630e9
Use Option<> for 'db_log_dir' config
Following https://github.com/romanz/electrs/pull/959#discussion_r1405387423
2023-11-28 20:13:03 +02:00
dependabot[bot]
be2026fcd8
Bump env_logger from 0.10.0 to 0.10.1 (#955)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-24 20:04:01 +02:00
Roman Zeyde
4af15e90be
Don't flush when nothing is written to DB
Fixes #680.
2023-11-24 19:50:38 +02:00
Roman Zeyde
87752803ae
Allow setting RocksDB log directory
Following https://github.com/romanz/electrs/issues/680#issuecomment-1824841535.
2023-11-24 16:16:31 +02:00
Roman Zeyde
3384b2f828 Remove redundant closure 2023-11-24 13:26:14 +02:00
Roman Zeyde
a01d58c35d
Fix log level during mempool sync interruption
https://github.com/romanz/electrs/pull/917#pullrequestreview-1736677655
2023-11-17 16:40:32 +02:00
Tobin C. Harding
b6271ba3af
Upgrade bitcoin
Upgrade dependencies required to use the recently released
`rust-bitcoin v0.31.0` release.

Co-authored-by: Roman Zeyde <me@romanzey.de>
2023-11-15 20:31:09 +02:00
dependabot[bot]
56aad37c2b
Bump serde_json from 1.0.107 to 1.0.108 (#953)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.107 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 21:13:25 +02:00
dependabot[bot]
afd5fa285c
Bump serde_json from 1.0.104 to 1.0.107 (#951)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.107.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.107)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 15:57:51 +02:00
Roman Zeyde
7868c4813c
Bump version 2023-10-31 20:36:50 +02:00
dependabot[bot]
1c5c2e2dd2
Bump bitcoin_slices from 0.6.0 to 0.6.2
Bumps [bitcoin_slices](https://github.com/RCasatta/bitcoin_slices) from 0.6.0 to 0.6.2.
- [Commits](https://github.com/RCasatta/bitcoin_slices/commits/0.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 13:36:37 +00:00