qusal/salt/sys-electrs
Ben Grande 1b2f1ba941
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without
it.
2024-08-06 17:13:25 +02:00
..
files fix: avoid operand evaluation as argument 2024-08-06 17:13:25 +02:00
appmenus.sls fix: remove undesired appmenus from builder qubes 2024-06-04 13:54:48 +02:00
appmenus.top fix: remove undesired appmenus from builder qubes 2024-06-04 13:54:48 +02:00
clone.sls style: limit line length per file extension 2024-07-09 17:42:07 +02:00
clone.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure-builder-source.sls feat: bump Electrs version 2024-05-23 12:05:12 +02:00
configure-builder-source.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure-builder.sls feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure-builder.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure-client.sls feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure-client.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure.sls feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
configure.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
create.sls fix: feature check statement missing key 2024-06-13 14:01:04 +02:00
create.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
init.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
install-builder-source.sls fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install-builder-source.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
install-builder.sls feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
install-builder.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
install-source.sls fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install-source.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
install.sls feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
install.top feat: Bitcoin Core and Electrum servers and wallet 2024-02-17 00:07:33 +01:00
README.md doc: lint markdown files 2024-07-04 17:27:31 +02:00
version fix: generate RPM Specs for Qubes Builder V2 2024-06-21 17:00:06 +02:00

sys-electrs

Electrs in Qubes OS.

Table of Contents

Description

Setup an offline Electrs (Electrum Server) qube named "sys-electrs", connected to your own full node running on "sys-bitcoin" to index the blockchain to allow for efficient query of the history of arbitrary addresses.

A disposable qube "disp-electrs-builder" will be created, it will serve to install and verify Electrs. After the verification succeeds, files are copied to the template "tpl-sys-electrs". This method was chosen so the server can be always offline.

At least 200GB of disk space is required.

Installation

This formula depends on sys-bitcoin.

  • Top:
sudo qubesctl top.enable sys-electrs
sudo qubesctl --targets=tpl-electrs-builder,tpl-sys-electrs,disp-electrs-builder,sys-electrs state.apply
sudo qubesctl top.disable sys-electrs
sudo qubesctl state.apply sys-electrs.appmenus
  • State:
sudo qubesctl state.apply sys-electrs.create
sudo qubesctl --skip-dom0 --targets=tpl-electrs-builder state.apply sys-electrs.install-builder
sudo qubesctl --skip-dom0 --targets=tpl-sys-electrs state.apply sys-electrs.install
sudo qubesctl --skip-dom0 --targets=disp-electrs-builder state.apply sys-electrs.configure-builder
sudo qubesctl --skip-dom0 --targets=sys-electrs state.apply sys-electrs.configure
sudo qubesctl state.apply sys-electrs.appmenus

Usage

You may customize Electrs by writing to the file ~/.electrs/conf.d/electrs.conf.local.

If you are not using sys-bitcoin, you will need to add the RPC Authentication cookie to the qube sys-electrs in the file ~/.bitcoin/.cookie. Make sure there is no new line at the end of the cookie file, else Electrs will fail to start.

Credits