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

1581 Commits

Author SHA1 Message Date
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
Roman Zeyde
81e43b695a
Drop Cirrus CI due to flakiness (#948) 2023-10-27 23:03:19 +03:00
dependabot[bot]
4b5434fceb
Bump rustix from 0.36.15 to 0.36.17 (#947)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.36.15 to 0.36.17.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.36.15...v0.36.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 21:18:26 +03:00
Roman Zeyde
3c4b0f190f
Update 'rust-toolchain' file to TOML format (#946)
https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
2023-10-27 20:52:06 +03:00
Roman Zeyde
4356f17b65
Update 'tempfile' dependency (#945) 2023-10-27 20:51:53 +03:00
fanquake
ff4d128f11
Bump CI bitcoind to 25.1 (#943) 2023-10-23 17:19:38 +03:00
Roman Zeyde
8ac52f9e09
Fix build failure on Raspberry Pi 4 (32bit) (#940) 2023-10-13 00:35:14 +03:00
Roman Zeyde
703e400fe5
Fix electrum integration test script
Following 2e52b17a43
2023-10-10 22:08:20 +03:00
Roman Zeyde
a772b52891
Merge pull request #937 from romanz/update
Update dependencies
2023-10-07 15:44:42 +03:00
Roman Zeyde
b0e88602a5 Bump 'tempfile' dependency version 2023-10-07 14:57:03 +03:00
Roman Zeyde
de1f794411 Bump 'rayon' dependency version 2023-10-07 14:56:53 +03:00
Roman Zeyde
d0b69f0dc4
Merge pull request #934 from newearthmartin/patch-1
Update config.md
2023-09-12 06:45:22 +03:00
Martin Massera
2f7727bac4
Added note about tunneling to config.md 2023-09-11 23:25:03 -03:00
Martin Massera
279307a2f8
Update config.md
Documentation for connecting an Electrum client
2023-09-11 21:54:28 -03:00
Roman Zeyde
3c6028ed4d
Return first txid-matching transaction (#933) 2023-09-01 16:27:42 +03:00