Roman Zeyde
b48e52f7c7
Update tempfile to 3.4.0
...
Following https://github.com/romanz/electrs/security/dependabot/5
2023-02-25 20:05:10 +02:00
Roman Zeyde
679903ab53
Bump version
2023-02-24 21:12:20 +02:00
Roman Zeyde
cb696d5a9c
Bump and vendor bitcoincore-rpc dependency
...
Fix #792
2023-02-23 22:11:59 +02:00
Roman Zeyde
000fc0d6e9
Bump version
2023-01-05 21:25:10 +02:00
Martin Habovstiak
8547eed46a
Update configure_me_codegen
...
Improves developer experience by outputting nice error messages when
compiled with `--features=configure_me_codegen/spanned`.
2022-11-17 01:25:06 +01:00
Roman Zeyde
272df5069f
Minor bump rocksdb
...
Following https://github.com/romanz/rust-rocksdb/pull/1
2022-11-10 20:22:08 +02:00
Roman Zeyde
fd8361b3f4
Bump version
2022-11-03 17:33:39 +02:00
Roman Zeyde
a5d8df46eb
Merge pull request #780 from romanz/drop-dep
...
Drop unused 'fs_extra' dependency
2022-10-29 22:14:48 +03:00
Roman Zeyde
6931884b46
Drop unused 'fs_extra' dependency
2022-10-29 22:05:18 +03:00
Roman Zeyde
5cc8036fbb
Bump bitcoin dep to 0.29.2
2022-10-29 21:54:38 +03:00
dependabot[bot]
09e9cc9894
Bump tiny_http from 0.9.0 to 0.12.0
...
Bumps [tiny_http](https://github.com/tiny-http/tiny-http ) from 0.9.0 to 0.12.0.
- [Release notes](https://github.com/tiny-http/tiny-http/releases )
- [Changelog](https://github.com/tiny-http/tiny-http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tiny-http/tiny-http/compare/0.9.0...0.12.0 )
---
updated-dependencies:
- dependency-name: tiny_http
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 13:47:09 +00:00
Martin Habovstiak
eaa7351f00
Upgrade bitcoin
to 0.29.1
...
Known benefits of the upgrade:
* Removed dependencies on a bunch of useless RNGs since `rand` was
upgraded in `bitcoin`
* Clearer code - `BlockHash::all_zeros()`
Related change: manual construction of genesis block changed to use
function from `bitcoin` crate.
2022-08-25 19:52:41 +02:00
Roman Zeyde
446858ea62
Bump version
2022-08-12 13:09:50 +03:00
Roman Zeyde
d2581c77f7
Bump version
2022-06-03 11:52:17 +03:00
dependabot[bot]
d4bb091340
Bump bitcoin from 0.28.0 to 0.28.1
...
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin ) from 0.28.0 to 0.28.1.
- [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/0.28.0...0.28.1 )
---
updated-dependencies:
- dependency-name: bitcoin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 13:15:57 +00:00
Roman Zeyde
eb1a1f06ac
Bump 'bitcoin' & 'bitcoincore-rpc' dependency
2022-05-04 20:26:59 +03:00
Roman Zeyde
45f35c6755
Bump version
2022-04-30 19:23:25 +03:00
Roman Zeyde
6c685448ac
Bump version
2022-03-04 09:30:14 +02:00
Roman Zeyde
dd9a7db081
Merge pull request #686 from Kixunil/skip-default-conf-files
...
Use configure_me to skip default config files
2022-02-21 23:12:04 +02:00
Martin Habovstiak
081f70323c
Use configure_me to skip default config files
...
This removes the feature for skipping default config files and replaces
it with a configure_me implementation.
Closes #217
2022-02-17 19:10:45 +01:00
Roman Zeyde
e7b2191a86
Bump version
2022-02-04 15:41:50 +02:00
dependabot[bot]
de153844ee
Bump tempfile from 3.2.0 to 3.3.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 13:17:38 +00:00
Roman Zeyde
19853a563e
Bump version
2021-12-28 15:51:08 +02:00
Roman Zeyde
a5ef325d5a
Bump version
2021-11-19 09:09:53 +02:00
Roman Zeyde
304426d0b2
Update MSRV requirements to Rust 1.48
2021-10-31 15:53:22 +02:00
Roman Zeyde
3731abd7ee
Bump env_logger
to 0.9
2021-10-31 09:19:00 +02:00
Roman Zeyde
86488f699b
Bump version
2021-10-30 16:12:23 +03:00
Roman Zeyde
cdea505960
Build rocksdb with conditional SSE support
...
See 4935c28609
.
Should fix https://github.com/romanz/electrs/issues/536 .
2021-10-25 15:05:21 +03:00
will
06e51bdb8f
Add a feature to ignore default config files
2021-10-22 10:47:12 +03:00
Roman Zeyde
be071b2111
Update tiny_http
...
Fix #575
2021-10-19 20:17:32 +03:00
Roman Zeyde
e3ea373472
Release 0.9.1
2021-10-18 11:28:00 +03:00
Roman Zeyde
632fe4c622
Expose index DB size as Prometheus gauge metric
...
Fixes #541 .
2021-10-10 21:25:35 +03:00
Roman Zeyde
ca93d3c75c
Fix process-related metrics collection feature
...
Previously, it wasn't enabled when building with:
```
cargo build --all --features "prometheus/process" --release
```
2021-10-05 13:14:56 +03:00
Roman Zeyde
60c1313c19
Bump prometheus to 0.13
2021-10-04 10:10:10 +03:00
Roman Zeyde
557911e3ba
Release 0.9.0
2021-09-30 10:13:10 +03:00
Roman Zeyde
7c55c784c3
Use bitcoincore-rpc
0.14.0 release
...
Since it now uses `bitcoin` 0.27
2021-09-23 18:37:02 +03:00
Roman Zeyde
5ae3d6526e
Update 0.9.0-rc2 release notes
2021-09-23 18:09:58 +03:00
Roman Zeyde
3041e89cd2
Bump bitcoin crate to 0.27.1
...
Fixes #490 .
Also, reverts 52dd59c117
.
2021-09-20 17:46:30 +03:00
Roman Zeyde
2ded459d0c
Don't use prometheus::process_collector::ProcessCollector by default
...
Following #491 .
It can be re-enabled by:
```
cargo build --release --features prometheus/process
```
2021-09-19 14:10:49 +03:00
Roman Zeyde
77b47ec351
Document the reasons for using custom RocksDB release
2021-09-18 09:45:18 +03:00
Roman Zeyde
357bfe896d
Use a custom release of rocksdb
2021-09-18 09:01:29 +03:00
Roman Zeyde
32b6340cc1
Use core-rpc
instead of bitcoincore-rpc
...
https://github.com/RCasatta/rust-bitcoincore-rpc
2021-09-17 23:42:57 +03:00
Martin Habovstiak
577f54195b
Auto reindex when old database is detected
...
This implements automatic reindexing of old database, turned on by
default. When an old database is detected and `auto_reindex` is turned
on the database will be destroyed so that `electrs` can re-sync. The
user can still turn this off to check db format.
The help message says "or inconsistent" - this is not implemented but we
could in the future and it seems reasonable to explicitly state that
this option will control that thing as well.
Note: 0.8.x versions of `electrs` didn't contain format information -
so we check if the database is empty and assuming it's legacy if it's
not empty but without format information.
The code is also restructured a bit and a few tests are added.
2021-09-17 15:20:54 +03:00
Roman Zeyde
3f41cdaa55
Add snappy to RocksDB features
...
It would be useful to detect old DBs:
https://github.com/romanz/electrs/pull/477#discussion_r707600255
RocksDB compilation time increases 1m03s -> 1m07s (+6%).
Total electrs build time is 2m05s.
2021-09-15 17:26:45 +03:00
Roman Zeyde
2f24d0774a
Downgrade librocksdb-sys to 6.11.4
2021-09-10 21:04:29 +03:00
Roman Zeyde
269e756383
Next release will be 0.9.0-rc1
2021-09-09 13:39:04 +03:00
Roman Zeyde
f9346d2a1d
Drop hyper dependency
...
https://rustsec.org/advisories/RUSTSEC-2021-0078
Use tiny_http for Prometheus instead.
2021-08-27 20:53:11 +03:00
Roman Zeyde
0516aead2a
Bump bitcoin dependency to 0.27
...
A bit hacky solution until https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/196 is merged.
2021-08-27 19:46:56 +03:00
Roman Zeyde
45833c3b61
Use parking_lot::{Mutex, RwLock} instead of std::sync
2021-06-14 13:20:21 +03:00
Roman Zeyde
d2fff752cd
Build hyper when 'metrics' feature is enabled
2021-06-06 16:15:47 +03:00