Commit graph

127 commits

Author SHA1 Message Date
Roman Zeyde
9cd09afa22 Update documentation for the upcoming release
Some checks failed
electrs / Build (push) Has been cancelled
electrs / Build-1 (push) Has been cancelled
electrs / Build-2 (push) Has been cancelled
electrs / Integration (push) Has been cancelled
2026-07-18 21:39:01 +02:00
Roman Zeyde
c0a4b3fa2c Require latest bitcoind 2026-07-18 12:55:40 +02:00
haoshengzhen
31c3fc5b39 docs: fix beta Debian repository links
Some checks failed
electrs / Build (push) Has been cancelled
electrs / Build-1 (push) Has been cancelled
electrs / Build-2 (push) Has been cancelled
electrs / Integration (push) Has been cancelled
Signed-off-by: haoshengzhen <haoshengzhen@outlook.com>
2026-06-30 09:04:41 +02:00
Roman Zeyde
0fe14fdfd9 Switch to bindex
Some checks failed
electrs / Build (push) Has been cancelled
electrs / Build-1 (push) Has been cancelled
electrs / Build-2 (push) Has been cancelled
electrs / Integration (push) Has been cancelled
2026-05-31 17:53:21 +02:00
Roman Zeyde
c134d64d56 Revert "Support Unix sockets"
This reverts commit 898e57dcdd.
2026-05-10 09:17:14 +02:00
Martin Habovstiak
898e57dcdd Support Unix sockets
Unix sockets provide better security and performance, so it is natural
for electrs to want to support them. Because of how similar they are to
TCP sockets the required changes are theoretically small. However, there
is no crate I know of that provided the abstract API, so I made one.

I originally only wanted to support electrum RPC but it turns out not
having to deal with two sets of `SocketAddr` is easier and it wasn't too
difficult. Unix socket was already supported by `tiny_http` via their
own abstraction and we have no other dependencies requiring TCP.

Because this also required modifying the logic around publishing the
electrum address I added an option to set it explicitly regardless of
whether the user is dealing with Unix or TCP socket because having this
is useful for TCP too - the user might want to publish a different port
number if the port was mapped via NAT or a different address when
tunnelled. In theory, this is still not perfect because the same server
could be tunnelled multiple times but we don't bother with such edge
case until someone requires it.

Another side improvement is reporting if the accept thread ends because
of incoming stream ending rather than error. This should never happen
but is useful for debugging if it ever does.
2026-05-03 20:27:31 +02:00
Roman Zeyde
9d95b13cd9
Merge branch '2025-12-23-magic' 2025-12-27 13:26:51 +01:00
Torkel Rogstad
d846cc7565
multi: expose configurable magic on non-signet
There's no point in limiting this option to signet only. Allowing this
flag to be set outside of signet networks lets electrs be used for
custom testing networks that aren't signets.
2025-12-24 10:33:37 +01:00
vastonus
0d749dba9d
chore: fix some minor issues in the comments (#1235)
Signed-off-by: vastonus <vastonus@outlook.com>
2025-10-27 08:10:58 +01:00
Roman Zeyde
55c8e772c2
Bump MSRV to 1.85 & update RocksDB to 9.10.0
Support Debian 13 (trixie) / Ubuntu 25.04 (plucky).
2025-08-14 09:09:34 +03:00
kilavvy
33332d4ff2
Fix broken link in usage.md documentation (#1206) 2025-07-30 21:05:04 +03:00
sha-265
f5756b09ab
Typo in upgrading.md (#1205) 2025-07-24 17:10:00 +03:00
GarmashAlex
46c1c9665d
Fix broken Docker installation link in upgrading guide (#1191) 2025-05-24 09:14:00 +03:00
leopardracer
6cb5290dc4
Fix grammar and wording issues in documentation (#1183) 2025-05-24 09:12:39 +03:00
wizard
214b428830
docs: fixed grammar in upgrading checklist (#1175) 2025-03-30 17:44:58 +03:00
owen
267b75ec19
Update upgrading.md (#1168)
Hi,

Noticed two grammatical issues here:

First; "Please note that it allows to set per-module filters, but module naming is considered unstable."
corrected to "Please note that it allows setting per-module filters, but module naming is considered unstable."
(Changed "allows to set" to "allows setting" for proper grammar),

Second; "If a new version of electrs is not yet in the package system, try wait a few days or contact the maintainers of the packages if it's been a long time."
Changed as "If a new version of electrs is not yet in the package system, try waiting a few days or contact the maintainers if it has been a long time."

(Changed "try wait" to "try waiting" and "it's" to "it has" for proper grammar).

Thanks.
2025-03-07 08:10:48 +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
vuittont60
0eec28e0f7
doc: fix typos (#999)
Signed-off-by: vuittont60 <81072379+vuittont60@users.noreply.github.com>
2024-01-30 12:59:38 +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
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
1663bddf8a
Update expected sync duration for Aug 2023 (#923) 2023-08-19 00:09:38 +03:00
Roman Zeyde
d2c794cc20
Bump MSRV to 1.63.0 and update dependencies 2023-06-10 17:08:32 +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
d128aef758 Update prometheus instructions 2023-01-27 17:21:11 +02:00
Dimitris Apostolou
118fa1b7d3
Fix typos 2023-01-12 20:41:00 +02:00
Martin Habovštiak
5de0f1e250
Clarify that electrs doesn't use HTTP
People seeing Nginx config may falsely assume electrs uses HTTP but it's not the case.
Putting heads up about this may avoid future confusion.

Closes #813
2022-12-09 00:26:48 +01:00
zciendor
dc6718a692
added requested changes
Added a note and fixed redundancy of gcc package into g++
2022-12-04 21:57:31 +00:00
zciendor
f664b0a329
cross-compilation instructions using debootstrap
Added instructions how to cross-compile for a different architecture and OS version (Debian based) than the target system.
2022-11-14 21:36:04 +00:00
zciendor
804c5652ea
fix redundancy or copy & paste typo
Cross compilation instructions contained `gcc` dependency two times, but it should certainly be `gcc` and `g++` instead.
2022-11-14 17:34:48 +00:00
MG-ng
f9bcf9b01c
Fixed Typo: Changed iif to if 2022-11-01 18:21:25 +01:00
Matheus Bach
b80ae9f304
fix typo 2022-07-22 22:44:49 -03:00
Ayanami
3e3868367e
Add guide for other Ubuntu & Debian releases to compile and install librocksdb 2022-03-17 10:32:08 +09:00
brandonblack
40ba05a47c
More accurate free space required for reindexing
The free space required peaks higher than the final size before and during compaction.

Final size is ~40G, peak was ~60G on my machine.
2022-01-25 16:04:48 -08:00
Roman Zeyde
1b6e5a60da Add asciinema screencasts for quickstart installation and usage 2021-11-17 14:37:03 +02:00
Roman Zeyde
a90871a9fc Fixup --log-filters documentation and examples
Drop `-v` and `--verbose` mentions.
2021-11-12 19:59:11 +02:00
Roman Zeyde
64bc7e1583 Update release notes 2021-11-08 19:46:48 +02:00
Roman Zeyde
304426d0b2 Update MSRV requirements to Rust 1.48 2021-10-31 15:53:22 +02:00
Brijan
6f0a723b92
Updated checkout version and verify-tag to v0.9.1
Updated git checkout version and verify-tag to v0.9.1 from v0.9.0
2021-10-24 17:09:22 -04:00
Roman Zeyde
1ca8cb83c7 Re-organize and split documentation 2021-10-21 18:18:44 +03:00
Roman Zeyde
8a0e22f1c8 Add a Docker-related disclaimer 2021-10-20 11:36:12 +03:00
Roman Zeyde
73f971df63 Add a note about Dockerfile changes 2021-10-20 10:45:31 +03:00
Frederic Lepied
74f13419a8 enhance contribs to allow to connect to an external server 2021-10-13 15:06:03 +02:00
Roman Zeyde
fbda004ecb Drop ELECTRS_VERBOSE and ELECTRS_TIMESTAMP from Docker usage example 2021-10-07 21:36:50 +03:00
Roman Zeyde
fc81d95940 Update build description for 32-bit OS 2021-10-04 09:13:03 +03:00
Martin Habovštiak
759cc64978
Clarify upgrading to 0.9.0
Removing/renaming unsupported switches was not called out explicitly and it's possible that someone is using a different bitcoind address, not just port.

Closes #520
2021-09-30 16:50:21 +02:00
Martin Habovštiak
0db0e8c8c1
Update documentation regarding cargo features
With new `rocksdb` it's no longer necessary to disable features when dynamically linking.
Thus this change removes instructions to add `--no-default-features`.
However there's now a new feature called `metrics` which enables Prometheus.
This change also documents this and explains how to turn it off.

Closes #517
2021-09-30 14:09:26 +02:00
Martin Habovstiak
5537c963c0 Detailed documentation of db_dir
This warns users that they shouldn't touch `db_dir` internals except for
deleting the old `mainnet` database. It explains in details how to do
upgrade and deleting properly, calls it out in release notes and fixes
small style mistake in nearby heading.

It can be thought of as more explicit/detailed version of
8b8ebea0018d3e9a97ce965845b1914df4b4d8a4 or a textual alternative to
PR #513.
2021-09-29 22:15:53 +02:00
Martin Habovštiak
c299183289
Explain verbose level in usage 2021-09-25 19:46:01 +02:00