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

1529 Commits

Author SHA1 Message Date
Roman Zeyde
ff984fb967
Optimize indexing via bitcoin_slices (#927) 2023-08-25 11:21:47 +03:00
Riccardo Casatta
acb49973f6
Optimize index querying via bitcoin_slices (#913)
Co-authored-by: Roman Zeyde <me@romanzey.de>
2023-08-22 20:46:53 +03:00
Roman Zeyde
317de62a43
Avoid precompiled 'serde_derive' >=1.0.172
Following https://github.com/serde-rs/serde/issues/2538.
2023-08-19 11:17:49 +03:00
Roman Zeyde
1663bddf8a
Update expected sync duration for Aug 2023 (#923) 2023-08-19 00:09:38 +03:00
Roman Zeyde
8ad3ae0e9b Allow setting DB name via server.sh 2023-08-18 22:03:16 +03:00
Roman Zeyde
b61537a3f3
Pass --password='' when invoking electrum CLI (#922) 2023-08-18 22:01:49 +03:00
Roman Zeyde
59143fdd7c
Allow exiting mempool sync on SIGINT (#917) 2023-08-15 20:46:10 +03:00
Roman Zeyde
a1460ec4a9
Update dependencies (#916) 2023-08-13 21:13:05 +03:00
Roman Zeyde
aa08c2ad9a
Allow skipping merkle proof downloads in history.py (#915) 2023-08-11 23:08:02 +03:00
Roman Zeyde
6171dd627c
Remove IndexResult and index into db::WriteBatch (#914)
Co-authored-by: Riccardo Casatta <riccardo@casatta.it>
2023-07-28 19:43:40 +03:00
Andreas Schildbach
7852dd3697
Dockerfile: re-add curl for the second time, so it can be used for docker health checks (#912) 2023-07-26 15:28:03 +03:00
Riccardo Casatta
fae1e61946
Reuse buffer in p2p handling (#910) 2023-07-23 09:57:50 +03:00
Roman Zeyde
b041adf9bc
Preallocate serialized vector of HashPrefixRow (#909)
This should save 2 reallocation for row since serialize will allocate without
capacity (should be 4) and every time will double, so it will need other 2
re-allocation for a total of 3. While here is 1.

Do the same for HeaderRow.

Co-authored-by: Riccardo Casatta <riccardo@casatta.it>
2023-07-22 22:45:22 +03:00
Roman Zeyde
77f761ea7c
Less verbose logging when bitcoind is warming up (#908) 2023-07-22 20:27:03 +03:00
Roman Zeyde
cfaed09c08
Update dependencies 2023-07-21 21:26:04 +03:00
Roman Zeyde
c91dc5488f
Bump version to 0.10.0 2023-07-21 16:18:19 +03:00
Roman Zeyde
238bb80fc6 Run ARM integration tests in Cirrus 2023-07-01 20:17:12 +03:00
Roman Zeyde
e1f0778874 --jsonrpc-import is no longer supported 2023-06-30 18:43:37 +03:00
Roman Zeyde
2a8eb43916 Use Cirrus CI for building and running unittests on ARM 2023-06-30 11:56:37 +03:00
Roman Zeyde
e3b2eb3e4b Run x86 integration tests in GitHub actions 2023-06-29 19:50:11 +03:00
Roman Zeyde
883ebc94de Update dependencies 2023-06-29 19:43:09 +03:00
Roman Zeyde
dd21df19db
Add Cirrus CI for ARM & x86 builds (#896) 2023-06-28 18:39:15 +03:00
Roman Zeyde
c473556401 Update latest release date 2023-06-21 21:21:49 +03:00
Roman Zeyde
c8bb91504e
Bump version to 0.10.0-rc.1 2023-06-17 16:37:23 +03:00
Roman Zeyde
41763a44b3
Fix a few clippy comments (#891) 2023-06-16 21:15:30 +03:00
Roman Zeyde
d2c794cc20
Bump MSRV to 1.63.0 and update dependencies 2023-06-10 17:08:32 +03:00
Roman Zeyde
46881ed884
Bump version 2023-06-09 20:15:39 +03:00
Roman Zeyde
1a90c5041b
Fix 'server.version' support for version range (#887)
Fixes #886.
2023-06-06 20:43:50 +03:00
Roman Zeyde
f3ef48fea5
Allow not waiting for block download before sync (#888)
Fix #410
2023-06-06 20:23:51 +03:00
Roman Zeyde
3e3bc3a642
Update systemd example in docs (#885)
Also, remove `contrib/electrs.service` (following #876).
2023-05-30 20:07:36 +03:00
Roman Zeyde
86d074204c
Move 'hex-lit' to [dev-dependencies] (#884) 2023-05-29 21:48:50 +03:00
hazrulnizam
174f2f0cf4
Fix typo in config_specification.toml (#883)
Changed regtest to signet.
2023-05-29 20:00:06 +03:00
Roman Zeyde
7d7167c90f
Bump bitcoind used in CI (#882) 2023-05-26 20:09:18 +03:00
Roman Zeyde
b9a865db89
Prefix Prometheus metrics with 'electrs_' (#881) 2023-05-21 23:44:13 +03:00
Roman Zeyde
226faebb1b
Fixup error handling in Prometheus HTTP server (#880)
Following https://github.com/romanz/electrs/issues/879#issuecomment-1555013078
2023-05-20 15:33:49 +03:00
Roman Zeyde
f21fbf93c6 Update GitHub actions 2023-05-20 13:36:42 +03:00
Roman Zeyde
f3dd804182 Fix a few clippy nits 2023-04-24 19:41:44 +03:00
Roman Zeyde
7d521f8fe8 Add address->scripthash conversion tool 2023-04-13 22:03:24 +03:00
dependabot[bot]
5d7ad36525
Bump crossbeam-channel from 0.5.7 to 0.5.8 (#872)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.7 to 0.5.8.
- [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.7...crossbeam-channel-0.5.8)

---
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-04-10 18:27:04 +03:00
Roman Zeyde
f54c782592 Bump jsonrpc to 0.14.1 2023-04-10 18:26:38 +03:00
Roman Zeyde
9e5bed3c02 Bump bitcoincore-rpc to 0.17.0 2023-04-10 18:26:38 +03:00
dependabot[bot]
a2a5f7c1f1
Bump serde_json from 1.0.94 to 1.0.95 (#869)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.94...v1.0.95)

---
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-04-03 19:51:02 +03:00
dependabot[bot]
a7376ef3a0
Bump tempfile from 3.4.0 to 3.5.0 (#868)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [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>
2023-04-03 19:50:51 +03:00
Roman Zeyde
d4fdd2010b
Bump version 2023-03-31 09:35:50 +03:00
Roman Zeyde
412dec105f
Drop flaky GitHub action 2023-03-31 09:35:33 +03:00
Sosthene
a2f93b5ae1
Upgrade with Magic type (#823) 2023-03-30 22:20:50 +03:00
Roman Zeyde
d7cfeed1cf Fixup clippy comment 2023-03-30 19:27:32 +03:00
Martin Habovštiak
a0f8f148ea
Upgrade bitcoin to 0.30 (#865)
* Upgrade `bitcoin` to 0.30

This upgrades `bitcoin` to the newest release.

Closes #863
2023-03-29 22:44:25 +03:00
Roman Zeyde
3fa3e644ce
Don't panic on unexpected magic (#861) 2023-03-19 21:07:07 +02:00
jroulin
3d7c35b0a4
contrib: rename xpub into get_balance (#627)
* rename xpub into get_balance

- support a single address or an xpub address
- detail the balance per address when using an xpub

* Replace 'virtualenv' by 'python -m venv'

---------

Co-authored-by: Roman Zeyde <me@romanzey.de>
2023-03-12 22:44:00 +02:00