Directories on host machine:
-
/data/certbot/letsencrypt -
/data/certbot/www -
Nginx server in docker container
docker run -d --name nginx \
| # Script to generate a new block every minute | |
| # Put this script at the root of your unpacked folder | |
| #!/bin/bash | |
| echo "Generating a block every minute. Press [CTRL+C] to stop.." | |
| address=`./bin/bitcoin-cli getnewaddress` | |
| while : | |
| do |
| # From private key(hex) to Wallet Import Format(WIF) | |
| # Reference: https://medium.freecodecamp.org/how-to-create-a-bitcoin-wallet-address-from-a-private-key-eca3ddd9c05f | |
| # https://docs.python.org/2/library/hashlib.html | |
| import codecs #If not installed: "pip3 install codecs" | |
| import hashlib | |
| # PK0 is a demo private key. | |
| PK0 = "841846de7afbe32ee7ded837872c6e0825db095275b8afed0000000000000000" | |
| PK1 = '80'+ PK0 | |
| PK2 = hashlib.sha256(codecs.decode(PK1, 'hex')) | |
| PK3 = hashlib.sha256(PK2.digest()) |
| #!/bin/sh -e | |
| OS=${OS:-`uname`} | |
| if [ "$OS" = 'Darwin' ]; then | |
| get_touch_time() { | |
| date -r ${unixtime} +'%Y%m%d%H%M.%S' | |
| } | |
| else | |
| # default Linux |
| # The following line can be added to .rtorrent.rc to set up watch directories | |
| # | |
| # Replace: | |
| # [WATCH_DIR] with the directory to watch for torrent files | |
| # [DOWNLOAD_DIR] with the directory to save the files into | |
| # [LABEL] with a label to apply to torrents added via this watch dir | |
| # Important: Thus far i have not worked out how to use spaces in label names | |
| # Do not include spaces for .torrent files will not be imported into rtorrent if you do | |
| # | |
| # Remove: |
| const symbols = [ | |
| "BTC-PERP", | |
| "BTC/USD", | |
| "ETH-PERP", | |
| "ETH/USD", | |
| ]; | |
| const ws_init = function () { | |
| ws = new WebSocket("wss://ftx.com/ws/"); |
Directories on host machine:
/data/certbot/letsencrypt
/data/certbot/www
Nginx server in docker container
docker run -d --name nginx \
If you are using MultiDoge and are stuck far behind in syncing, then this guide is for you. Even if you are currently already synced it's worth following this guide to be prepared for future re-syncs, but you can skip some steps. These new checkpoints contain blocks up to Jan 30th 2021. If you are trying to sync a wallet that has been created before around summer 2016, then sadly this won't really help you.