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

95 Commits

Author SHA1 Message Date
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
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
Roman Zeyde
a53048f2ef Fixup schema.md table formatting 2021-09-18 20:19:58 +03:00
Roman Zeyde
3c4e616901 Add p2p daemon address to config_example.toml 2021-09-18 00:28:55 +03:00
Roman Zeyde
2152ac9cca Merge branch 'p2p' 2021-09-17 16:08:19 +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
Martin Habovštiak
5b77773a54
Update relevant versions in README to 0.8.10 2021-07-30 11:50:01 +02:00
Simon Vrouwe
3bb0fb7920 p2p doc: in bitcoin.conf maxconnections should be >11, fixes #429 2021-07-21 07:46:26 +03:00
Tobin Harding
9e33cb6d9b
Fix spelling of 'hyphens' 2021-07-16 10:54:48 +10:00
moneroexamples
6caf8017af
Added json.dumps to Python example RPC examples
As suggested in https://github.com/romanz/electrs/pull/415#issuecomment-870345086 `json.dumps` is added in-place of a manual construction of a request message.
2021-06-29 17:00:22 +08:00
moneroexamples
a31723cbb5
json.loads added
As suggested, `json.loads` was added to parse the raw response.
2021-06-28 17:44:59 +08:00
moneroexamples
2d4369cf93
Add python example in RPC examples
Current `usage.md` contains only one example in `RPC examples` which uses `echo` and `netcat`. The PR adds new and corresponding example in `Python` which can speed up the initial use of the `electrs` for people who try to use the project for the first time.
2021-06-25 18:38:26 +08:00
Roman Zeyde
3780d7d48b Refactor and sync using p2p protocol 2021-04-14 18:38:59 +03:00
Simon Kurowski
c4ea110795 Fix Dockerfile, add another example 2021-03-23 21:38:17 +01:00
Simon Kurowski
25702d1217 Add missing \ to usage.md 2021-03-21 01:01:01 +01:00
Simon Kurowski
edad6eec0c Optimize Dockerfile 2021-03-21 00:51:51 +01:00
Martin Habovstiak
afe32bb5b7 Added in-depth explanation of cookie deprecation
This adds more informtion about cookie deprecation, especially
motivation, so the users won't be frustrated because of unexplained
change. It also removes a warning that's no longer applicable.
2021-02-22 19:52:40 +01:00
Martin Habovstiak
41f2077ee6 Implemented auth option and deprecated cookie
This adds `auth` option and deprecates `cookie` which has a confusing
name. It's effectively renaming but we pretend it is not to avoid people
blindly changing the name without second thought.

Closes #349 (a new tracking issue will be created)
2021-02-21 21:39:16 +01:00
Roman Zeyde
3325d33f89
Merge branch 'improve_doc' 2021-02-21 21:32:09 +02:00
Martin Habovstiak
5bd3a7b48a Fix verbose parameter in config example
Helps with #352
2021-02-04 23:07:31 +01:00
Martin Habovstiak
d49ccd82ca Added a few line breaks to doc
These should not affect rendered result but make editing the file much
more pleasant.
2021-02-01 22:41:20 +01:00
Martin Habovstiak
8ca4f7ae7f Improve documentation
This improves documentation of configuration based on @BTCBellyButton
suggestions in #344. It contains a few more tweaks.
2021-02-01 22:33:04 +01:00
Roman Zeyde
5ef12d4075
Merge remote-tracking branch 'kixunil/update_docs' 2020-12-03 15:07:24 +02:00
Martin Habovstiak
433760925a Avoid configuration footguns
This change takes several steps towards avoiding footguns when
configuring `electrs`:

* Moves config_spec.toml out of sight of non-developers
* Provides a configuration example
* Mentions the example in the docs
2020-12-01 19:03:39 +01:00
Martin Habovstiak
3d190dee59 Added upgrade instructions
This adds upgrade instructions as well as a note about RAM usage during
build which was missing.
2020-12-01 09:21:58 +01:00
Andreas Tietz
6e49ffedde Update rpc example following protocol changes 2020-11-29 01:40:44 +01:00
Roman Zeyde
782c4c226b
Fix a small typo 2020-11-15 20:42:24 +02:00
Martin Habovstiak
d98f746404 Updated documentation
* The mentioned Debian repository is now considered beta, make the
  wording much less scary.
* Documented how to link rocksdb dynamically and what are the pros/cons
* Documented how to cross compile
* Added `--locked` parameter to `cargo build` to prevent `cargo` from
  updating lock file
* Use `./target/release/electrs` instead of `cargo run` to avoid
  rebuilding footguns
* Added a link to in-depth explanation of cookie security
2020-11-14 12:26:20 +01:00
k3tan172
60a211af38
Update usage.md 2020-10-16 07:30:30 +11:00
k3tan172
32c5fd3a61
Update usage.md
For compilation of electrs to work in Ubuntu 20.04 build-essential package needs to be installed.
2020-10-14 20:03:19 +11: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