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

64 Commits

Author SHA1 Message Date
Roman Zeyde
1663bddf8a
Update expected sync duration for Aug 2023 (#923) 2023-08-19 00:09:38 +03:00
Dimitris Apostolou
118fa1b7d3
Fix typos 2023-01-12 20:41:00 +02: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
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
Roman Zeyde
f420188650 Add a release note about db/mainnet -> db/bitcoin rename
https://github.com/romanz/electrs/issues/502
2021-09-25 18:07:17 +03:00
Martin Habovstiak
ce96481522 Improve documentation of 0.8.x -> 0.9.0 upgrade
This should hopefully make the major changes more visible and avoid
surprises.
2021-09-17 15:28:24 +03:00
Roman Zeyde
382d71787a Update documentation for the upcoming 0.9 version 2021-09-13 11:09:51 +03:00
Roman Zeyde
4b24e649d6 Move local-electrum.bash to contrib/ 2021-08-26 23:16:00 +03:00
Simon Vrouwe
3bb0fb7920 p2p doc: in bitcoin.conf maxconnections should be >11, fixes #429 2021-07-21 07:46:26 +03:00
Roman Zeyde
3780d7d48b Refactor and sync using p2p protocol 2021-04-14 18:38:59 +03:00
Franck Royer
3c4cf72960 Set Rust toolchain to 1.41.1
The project does not compile on 1.34.0 because it uses
the lockfile format introduced in 1.38.0.

Do note that Debian stable at this time uses Rust 1.41.1.

Setting a specific toolchain version is good practice for
binary project and remove potential issues of incompatible
toolchain for users trying to build the project.
2020-09-28 13:27:15 +03:00
Roman Zeyde
cfa578286c
Add RPC usage example 2020-07-25 12:35:57 +03:00
Candle
ca81f753f1
Typo fix
"bitcoind" was misspelled
2020-07-17 11:38:14 +00:00
Roman Zeyde
fb27cf772f
Fix README.md 2020-07-17 11:21:17 +03:00
Martin Habovštiak
825b788159
Typo fixes 2020-05-02 22:22:20 +02:00
Martin Habovštiak
233d2aa277
Make documentation more clear, add recommendations
This change makes many improvements to the documentation aimed at higher clarity and robustness. Aside from rewording and reordering various parts, it makes sure the documentation is up to date with the reality and best (security and cleanness) practices.

The list of changes:

* Changes the title of "Installation" section to make it clear it's manual and from source
* Points at more convenient options right on top
* Adds "Build dependencies" subtitle
* Makes "Build" a subtitle as it belongs under "Manual installation from source" section
* Recommends using Debain native packaging, which is more secure than `rustup`
* Suggests installation and use of `cfg_me`
* Moves Docker-based installation higher to be better visible
* Informs that native, stable packages are not available yet.
* Adds information about the experimental repository. While it can't be recommended for production use yet, the hope is to attract more contributors and deliver stable, secure and user-friendly experience sooner.
* Makes it clear that the documented configuration is manual, so that users using automated systems won't attempt to configure it manually
* Makes "Bitcoind configuration", "Usage" and "Configuration files" into subtitles
* Mentions the no-prune requirement upfront
* Makes it clear that `txindex` is not necessary, but also allowed.
* Recommends using cookie file
* Instead of telling people to wait for IBD before running `electrs` it accurately describes the behavior.
* Moves the section about `electrs` configuration before usage to be more visible. It's also the ordering of steps a user should take.
* Changes title of "configuration files and environment variables" to "Electrs configuration" to be consistent with "Bitcoind configuration"
* Recommends configuration files - they are clearer and saved across executions
* Clarifies the behavior of overriding files/arguments
* Documents `--conf` and `--conf-dir` arguments
* Explains the difference between `cookie` and `cookie_file`
* Renames "Usage" to "Electrs usage" to be more obvious
* Points out extra configuration suggestions, so they won't get lost after "Electrum client" section
* Notifies users of Debian repository to skip messing with Electrum configuration.
* Makes it clear that the script is provided in the repository (was not immediately obvious to me, LOL; providing `.desktop` file would be nicer, though)
* Added missing title "Extra configuration suggestions"
* Suggests to use more clear path in Tor configuration
* Hints at `tor-hs-config-patch`
* Warns users using the experimental Debian repository to not mess with systemd files
2020-05-02 20:59:30 +02:00
Martin Habovštiak
b1d0434d24 Added a note about broken toolchains on RPi4
I think that this information being visibly documented could save people a long debugging session or sad compile time.
2020-04-14 00:23:57 +03:00
Roman Zeyde
aa3aef8b64
Add link to configuration docs 2020-01-27 22:27:19 +02:00
Roman Zeyde
6afd4af403
Add more duration metrics to query.rs 2019-10-15 10:42:06 +03:00
Martin Habovštiak
bbc6fcb21d
Merge branch 'master' into configure_me 2019-09-07 11:33:13 +02:00
Roman Zeyde
925e0da460 Support Rust >=1.34 2019-09-07 12:00:24 +03:00
Martin Habovstiak
8574aa2a34 Updated doc regarding config files and env vars 2019-09-06 21:23:28 +02:00
Roman Zeyde
a61e1b3b7a
docs: add hardware specs and explain storage usage 2019-08-13 21:26:18 +03:00
Roman Zeyde
25ce69ea04
Add link to Electrum Tor documentation 2019-07-05 18:52:22 +03:00
Roman Zeyde
16e4de60a4
Add documentation for running Tor service 2019-07-05 18:47:24 +03:00
Roman Zeyde
8ff5c7c73d
Update CI and documentation for Rust 1.32 2019-05-11 10:07:43 +03:00
Roman Zeyde
f8f53cebaf
Revert "Use TryInto to convert slices into array"
This reverts commit 62592dbabf to support
Rust 1.32 on Debian.
2019-05-10 21:45:19 +03:00
Roman Zeyde
62592dbabf
Use TryInto to convert slices into array
Remove dependency on `arrayref`.
2019-04-29 13:28:10 +03:00
Daniel McNally
cad3551c63
Update min versions for installation
This updates the minimum version for Rust from 1.28 to the current
latest which is 1.33. This is because 1.28 may fail on build due to

It also updates the minimum version of Electrum to the current latest
of 3.3 since version 3.2 is officially unsupported due to a known
phishing vulnerability.
2019-04-05 23:15:42 -04:00
Jeff Vandrew Jr
18890b78e3
Update for use with Eclair Mobile 2019-03-29 11:26:31 -04:00
Jeff Vandrew Jr
8c6472bab3
Update usage.md
If I don't set a `electrum-rpc-addr` flag, by default electrs only listens for tcp6 connections. In order to accept tcp4, I need to add `--electrum-rpc-addr="127.0.0.1:50001`.

This is not a big deal since setting the flag fixes it, but adding this info to the docs should make it easier for users.

Also, the `config.rs` file should be changed since the help for this option lists `127.0.0.1:50001` as the default, which is not correct (at least on my install).

I also added a sample unit file for systemd.
2019-03-23 14:31:57 -04:00
Roman Zeyde
bb8baf4108
Update Dockerfile to install libsnappy-dev and to use current source code
Also, update Docker usage documentation.
2019-03-03 22:34:39 +02:00
Roman Zeyde
5ab3b46487
Document how to persist Electrum wallet configuration 2019-02-23 20:45:21 +02:00
Roman Zeyde
8e31df8511
Update SSL instructions to nginx
Remove hitch example
2019-01-08 12:51:22 +02:00
Daniel McNally
e446693c4c
Add NGINX SSL sample config 2018-11-27 17:56:12 -05:00
sha-265
26a2912703
Fix typo 2018-11-14 15:30:02 +00:00
Daniel McNally
edc2532f0a Update instructions with low RAM arguments
Closes #61.
2018-11-03 17:47:10 +02:00
Lawrence Nahum
d6f4d9e197
remove unused size_on_disk 2018-08-21 17:59:34 +02:00
Roman Zeyde
2d2590aeae
Add Docker usage example 2018-08-20 22:42:58 +03:00
Roman Zeyde
836bc5861e
Update Aug 2018 index DB size 2018-08-17 22:19:14 +03:00