From 43f7045d8bdad28efe2d542bf7aa9f5e7e7a3998 Mon Sep 17 00:00:00 2001 From: openoms Date: Mon, 9 Sep 2019 08:11:19 +0100 Subject: [PATCH] formatting --- electrs/README.md | 68 ++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/electrs/README.md b/electrs/README.md index 15d4c57..ac4147a 100644 --- a/electrs/README.md +++ b/electrs/README.md @@ -4,19 +4,15 @@ ![electrum](/electrs/images/electrum.png) -## Install Electrs -Based on https://github.com/romanz/electrs/blob/master/doc/usage.md -Shared experiences here: https://github.com/rootzoll/raspiblitz/issues/123 and https://github.com/openoms/bitcoin-tutorials/issues/2 - - - - -Tested on the +Tested on: * Odroid HC1 and XU4 (~18 hours) * Raspberry Pi 3 B+ (~two days to build the database from scratch) +* Raspberry Pi 4 Requires 47 Gb diskpace (March 2019). +## Install Electrs + The install instructions are adapted to the RaspiBlitz are in this script, take a look: [1_electrs_on_RaspiBlitz.sh](1_electrs_on_RaspiBlitz.sh) To download and run on the RaspiBlitz (logged in as the user `admin`): @@ -44,6 +40,30 @@ To stop running on boot: `$ sudo systemctl disable electrs` (To re-enable and start use the `enable` and `start`commands) +--- + +## Check if Electrs is working: + +Electrs will only start serving on the port 50001 when it has finished indexing. + +To check if the indexing is running run in the RaspiBlitz terminal: +`$ sudo systemctl status electrs` + +Example output when running afte indexing has finished: +![electrs status](/electrs/images/electrs_status.png) + +Find electrs between running processes with: +`htop` + +Cheack if it is serving on the port 50001: +`$ lsof -i` + +Look for the output: +``` +electrs 2532 admin 17u IPv4 32885 0t0 TCP *:50001 (LISTEN) +``` + + --- ## Install Electrum wallet on your desktop @@ -69,30 +89,6 @@ For an unencrypted TCP connection (suitable inside a secure LAN): To connect through SSL (requires setting up the Nginx server): `electrum --oneserver --server YOUR_DOMAIN:50002:s` - -### Check if Electrs is working: - -Electrs will only start serving on the port 50001 when it has finished indexing. - - - -To check if the indexing is running run in the RaspiBlitz terminal: -`$ sudo systemctl status electrs` - -Example output when running afte indexing has finished: -![electrs status](/electrs/images/electrs_status.png) - -Find electrs between running processes with: -`htop` - -Cheack if it is serving on the port 50001: -`$ lsof -i` - -Look for the output: -``` -electrs 2532 admin 17u IPv4 32885 0t0 TCP *:50001 (LISTEN) -``` - --- ## Remote connection options to Electrs @@ -132,7 +128,13 @@ To download and run on the RaspiBlitz: ## Further help: -The script is a collection of commands. The whole setup has multiple components and dependencies which can change when updated or modified by the maintainers. +The script is a collection of commands. The whole setup has multiple components and dependencies which can change when updated or modified by the maintainers. + +Based on: +* https://github.com/romanz/electrs/blob/master/doc/usage.md +Shared experiences: +* https://github.com/rootzoll/raspiblitz/issues/123 +* https://github.com/openoms/bitcoin-tutorials/issues/2 If you run into problems: * try to run the commands manually one-by-one, spot which is causing the problem and copy the output