mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 12:54:19 +01:00
electrumx: wait for bitcoind
This commit is contained in:
@@ -4,11 +4,13 @@ This is a rough overview, the guide is work in progress.
|
|||||||
|
|
||||||
Tested environments:
|
Tested environments:
|
||||||
* X86_64 Xeon E5 with 32GB RAM and SSD storage - first sync time: 2d 16h 07m
|
* X86_64 Xeon E5 with 32GB RAM and SSD storage - first sync time: 2d 16h 07m
|
||||||
* Raspberry Pi4 *GB 64bit RaspberryOS with SSD is estimated ~ 5 days
|
* Raspberry Pi4 8GB 64bit RaspberryOS with SSD is ~6.5 days
|
||||||
|
|
||||||
Issue: <https://github.com/rootzoll/raspiblitz/issues/1130>
|
Issue: <https://github.com/rootzoll/raspiblitz/issues/1130>
|
||||||
|
|
||||||
## Prepare the system and directories
|
## Prepare the system and directories
|
||||||
|
* Requires `txindex=1` for Bitcoin Core
|
||||||
|
|
||||||
```
|
```
|
||||||
# create a dedicated user
|
# create a dedicated user
|
||||||
sudo adduser --disabled-password --gecos "" electrumx
|
sudo adduser --disabled-password --gecos "" electrumx
|
||||||
@@ -86,7 +88,7 @@ CACHE_MB=1200
|
|||||||
echo "\
|
echo "\
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Electrumx
|
Description=Electrumx
|
||||||
After=network.target
|
After=network.target bitcoind.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/home/electrumx/.electrumx/electrumx.conf
|
EnvironmentFile=/home/electrumx/.electrumx/electrumx.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user