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

1611 Commits

Author SHA1 Message Date
Andrew Toth
7bab1fd3ef
Don't sync mempool when not yet loaded 2024-10-06 13:47:32 -04:00
dependabot[bot]
1d02f10ec3
Bump bitcoin_slices from 0.8.0 to 0.9.0 (#1087)
Bumps [bitcoin_slices](https://github.com/RCasatta/bitcoin_slices) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/RCasatta/bitcoin_slices/commits)

---
updated-dependencies:
- dependency-name: bitcoin_slices
  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-09-30 22:54:55 +03:00
menaceone
251b4203e7
Fix inconsitent casing (#1086)
Switch from lower case "as" to upper case "AS" to be consistent with the other keywords.
2024-09-30 22:06:28 +03:00
dependabot[bot]
6cf27d1d59
Bump tempfile from 3.12.0 to 3.13.0 (#1088)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.12.0 to 3.13.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.12.0...v3.13.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-09-30 22:02:11 +03:00
dependabot[bot]
4e0a71cfce
Bump bitcoin from 0.32.2 to 0.32.3 (#1089)
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin) from 0.32.2 to 0.32.3.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases)
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin-0.32.2...bitcoin-0.32.3)

---
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-09-30 22:01:51 +03:00
Roman Zeyde
ea9a924fd3 Release 0.10.6 2024-09-29 18:49:43 +03:00
dependabot[bot]
e47477fcb2
Bump configure_me_codegen from 0.4.6 to 0.4.8 (#1081)
Bumps [configure_me_codegen](https://github.com/Kixunil/configure_me) from 0.4.6 to 0.4.8.
- [Commits](https://github.com/Kixunil/configure_me/commits)

---
updated-dependencies:
- dependency-name: configure_me_codegen
  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-09-25 17:25:44 +03:00
dependabot[bot]
875fb61951
Bump configure_me_codegen from 0.4.5 to 0.4.6 (#1078)
Bumps [configure_me_codegen](https://github.com/Kixunil/configure_me) from 0.4.5 to 0.4.6.
- [Commits](https://github.com/Kixunil/configure_me/commits)

---
updated-dependencies:
- dependency-name: configure_me_codegen
  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-09-09 23:37:34 +03:00
dependabot[bot]
9cdb4b90d5
Bump tempfile from 3.10.1 to 3.12.0 (#1070)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.1 to 3.12.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
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-08-25 14:59:04 +03:00
Martin Habovstiak
77ff1cc9f2 Update configure_me_codegen
This update doesn't bring anything substantial but may make dependabot
shut up.
2024-08-19 16:33:02 +02:00
Antoni Spaanderman
831ab0a525
deprecate unused config option timestamp (#1052) 2024-07-14 21:40:40 +03:00
Roman Zeyde
1b0bb23fab
Don't fail if bitcoind fee estimation is disabled (#1060) 2024-07-13 10:09:05 +03:00
dependabot[bot]
785eca68ff
Bump crossbeam-channel from 0.5.12 to 0.5.13 (#1039)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.12 to 0.5.13.
- [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.12...crossbeam-channel-0.5.13)

---
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-07-13 09:49:21 +03:00
Antoni Spaanderman
b101e301dd
Save on allocations by using fixed size types for database rows (#1043) 2024-07-13 09:40:43 +03:00
dependabot[bot]
474c016715
Bump log from 0.4.21 to 0.4.22 (#1058)
Bumps [log](https://github.com/rust-lang/log) from 0.4.21 to 0.4.22.
- [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.21...0.4.22)

---
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-07-04 07:30:03 +03:00
Roman Zeyde
cba4937878
Add BTC Prague 2024 dev/hack/day slides (#1059) 2024-07-04 07:23:10 +03:00
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