Commit graph

1740 commits

Author SHA1 Message Date
Roman Zeyde
2543e76bdd
Name scope threads properly 2025-01-01 18:45:39 +02:00
Roman Zeyde
ed6f38f476
Allow concurrent DB background operations for SSDs
Full compactions can be done much faster when running with `db_parallelism=8`.
2024-12-31 10:09:35 +02:00
Roman Zeyde
6bfaba99d5
Release 0.10.8 2024-12-30 12:00:53 +02:00
Roman Zeyde
25ad4c085a
Document status.rs (#1136)
Also, refactor `Unspent` balance a bit.
2024-12-28 19:59:55 +02:00
Roman Zeyde
39ebaddd7b
Run CI only on 'master' branch and PRs (#1135) 2024-12-27 23:34:10 +02:00
Roman Zeyde
f45ef60c3b
Fix the indentation of a json!({...}) block 2024-12-27 19:22:46 +02:00
Roman Zeyde
b224d347df Don't deserialize transaction bytes in blockchain.transaction.get RPC
Simplify `bsl::FindTransaction` to return the serialized transaction.
2024-12-26 20:48:12 +02:00
Roman Zeyde
b2ab18ab68
Don't deserialize transactions if not needed
After filtering, we need the serialized bytes for caching only.
2024-12-26 19:03:33 +02:00
Roman Zeyde
fc8f75606b
Separate reading & writing into scoped threads
If the index is on a SSD, sync perfomance should improve.
2024-12-26 14:15:35 +02:00
Roman Zeyde
da1d38aa8d
Remove a trailing space in Cargo.toml 2024-12-23 19:04:42 +02:00
Roman Zeyde
99a50691c6
Use Cargo.toml for MSRV instead of rust-toolchain.toml 2024-12-20 10:54:40 +02:00
Roman Zeyde
12fbbacd1d
Use configure_me prelude to silence 'unused_imports' lint 2024-12-20 10:54:33 +02:00
Roman Zeyde
9eebce9e91
Set HTTP 'Content-Type' header for Prometheus response 2024-12-19 11:14:38 +02:00
Roman Zeyde
38168452d4
Enable clippy lints on configure_me_config.rs (#1126) 2024-12-18 10:15:37 +02:00
dependabot[bot]
8760ff30a7
Bump crossbeam-channel from 0.5.13 to 0.5.14 (#1124)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.13 to 0.5.14.
- [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.13...crossbeam-channel-0.5.14)

---
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-12-16 21:49:58 +02:00
Serious
3e4b49886d
Implement ctrlc in place of signal-hook on Windows (#1123)
* Implement ctrlc for Windows

* Add Windows CI workflow

* Fix unused import on Windows by conditionally importing spawn

* Pin ctrlc to =3.4.2 for Debian stable compatibility
2024-12-16 21:19:37 +02:00
dependabot[bot]
c4086ca4f1
Bump bitcoin_slices from 0.9.0 to 0.9.1 (#1120)
Bumps [bitcoin_slices](https://github.com/RCasatta/bitcoin_slices) from 0.9.0 to 0.9.1.
- [Commits](https://github.com/RCasatta/bitcoin_slices/commits/0.9.1)

---
updated-dependencies:
- dependency-name: bitcoin_slices
  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-12-03 19:57:58 +02:00
dependabot[bot]
312299e4b7
Bump bitcoin from 0.32.4 to 0.32.5 (#1119)
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin) from 0.32.4 to 0.32.5.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases)
- [Changelog](https://github.com/rust-bitcoin/rust-bitcoin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin-0.32.4...bitcoin-0.32.5)

---
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-12-03 19:57:16 +02:00
dependabot[bot]
99b35eed0f
Bump tempfile from 3.13.0 to 3.14.0 (#1110)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.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-11-11 16:47:44 +02:00
Roman Zeyde
7de627e439
Release 0.10.7 2024-11-05 21:58:40 +02:00
Roman Zeyde
0f5f52e7dd
Support testnet4 (#1104)
Following rust-bitcoin/rust-bitcoin#3453
2024-10-29 21:34:00 +02:00
Roman Zeyde
bd6f93a1e3 Bump bitcoin to 0.32.4 2024-10-29 09:22:45 +02:00
Roman Zeyde
da934fb539 Don't warn when mempool entry is missing 2024-10-28 21:44:31 +02:00
Roman Zeyde
576f2e9ad7 Remove unused config field 2024-10-12 17:58:04 +03:00
Roman Zeyde
65f37d0d1f Fix a few lifetime-related clippy warnings.
Found by nightly toolchain.
2024-10-12 17:58:04 +03:00
Alexander Zaitsev
adf68c0802
feat: enable LTO 2024-10-12 15:48:25 +03:00
Roman Zeyde
a6e51f9013
Fix Electrum installation in Dockerfile.ci (#1095)
Following 581082d5bb.
2024-10-12 12:36:46 +03:00
Roman Zeyde
142ed11357
Update bitcoind to 28.0 (#1090) 2024-10-07 17:55:17 +03:00
Roman Zeyde
e684635b4b
Merge pull request #1091 from andrewtoth/mempool-loaded
Don't sync mempool when not yet loaded
2024-10-07 17:47:26 +03:00
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