This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1CBMJVVKkDtvLBdt5ASM3mS6fEC47R8bjK https://explorer.blockstack.org/address/1CBMJVVKkDtvLBdt5ASM3mS6fEC47R8bjK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example bitcoin.conf for RaspiBolt | |
server=1 | |
daemon=1 | |
testnet=1 | |
txindex=1 | |
# use "old" Segregated Witness rpc method until Eclair supports | |
# the new native Segwit commands of Bitcoin 0.16 | |
deprecatedrpc=addwitnessaddress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Bitcoin daemon | |
After=network.target | |
# for use with sendmail alert | |
#OnFailure=systemd-sendmail@%n | |
[Service] | |
User=bitcoin | |
Group=bitcoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Eclair Lightning Node | |
Requires=bitcoind.service | |
After=bitcoind.service | |
[Service] | |
ExecStart=/usr/bin/java -jar /home/bitcoin/eclair/eclair-node.jar | |
Restart=always | |
RestartSec=60 | |
User=bitcoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eclair.node-alias="YOURNAME [eclair]" | |
eclair.node-color=68f442 | |
### remove # to publish your ip address (others can connect to you) | |
### you can get your public ip using http://ip4.me | |
# eclair.server.public-ips=["1.2.3.4"] | |
eclair.api.enabled=true | |
eclair.api.password="PASSWORD_[F]" | |
eclair.bitcoind.rpcuser="raspibolt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=getpublicip.sh: get public ip address from ipinfo.io | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=simple | |
ExecStart=/usr/local/bin/getpublicip.sh | |
Restart=always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# getpublicip.sh | |
echo 'getpublicip.sh started, writing public IP address every 10 minutes into /run/publicip' | |
while [ 0 ]; | |
do | |
printf "PUBLICIP=$(curl -vv ipinfo.io/ip 2> /run/publicip.log)\n" > /run/publicip; | |
sleep 600 | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=C-Lightning daemon | |
Requires=bitcoind.service | |
Requires=getpublicip.service | |
After=bitcoind.service | |
[Service] | |
# get var PUBIP from file | |
EnvironmentFile=/home/bitcoin/publicip/publicip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# original script by Damian Mee https://github.com/meeDamian | |
# copy script to /etc/update-motd.d/ | |
# set colors | |
color_red='\033[0;31m' | |
color_green='\033[0;32m' | |
color_yellow='\033[0;33m' | |
color_gray='\033[0;37m' | |
color_darkgray='\033[1;30m' |
OlderNewer