Joke-coin or not, DOGE has become the focus of a great deal of attention recently. Your customers want it, here’s how to setup a node to provide it.
The following guide is written with instructions to be executed as a sudo-user. You will be a target for hackers, and your DOGE will be at risk. You are strongly encouraged to implement any and all restrictions available to you to protect your server from unauthorized access. These enhancements however, are beyond the scope of this guide, and entirely up to you.
Before you begin:
The following example is based on the following specs:
Ubuntu 20.04 LTS x86_64 environment
2 GB of memory (RAM)
10 GB hard drive space PLUS the blockchain size (this example = 70 GB)
The DOGE blockchain grows by about 10GB per year, so you should provide enough space to accommodate that eventual growth.
Press Ctrl+X (then Y) to exit & save the file (DO allow it to save, do NOT change the filename).
Optional: install the bootstrap blockchain
Started normally, the daemon will download and confirm the entire DOGE blockchain. This can be a VERY slow process, but it ensures the integrity of the blockchain. If you’re handicapped by impatience, you can download the “bootstrap” blockchain and skip much of the waiting.
There are a couple ways to go about this.
One is to locate a current tarball (usually a torrent) and overwrite the 2 relevant directories in the .dogecoin directory. This is the fastest method, but you’re on your own. No support. Much fast.
The other method is to download it from sochain.com (or other trusted sites). That method is the “official” method implemented by dogecoind, and is executed like this:
As of publication of this article, the bootstrap is 12 GB (make sure you have the extra space).
When you start the daemon (in the next step) it will use this bootstrap instead of the slow method.
When the bootstrap has been completely imported (may take an hour or longer), the daemon will rename the file to: bootstrap.dat.old and you may safely delete it.
Start the daemon
The daemon may now be controlled by the dogecoin-cli program. This command will list all the commands available to you from the command line, and verify that everything is working (so far):
The blockchain will take some time to download & be confirmed on your node. We’re stuck here until this process finishes. It could take days (or longer)! So, we’ll install the GB Wallet Tunnel in the meantime.
To test if the blockchain is completely downloaded & up-to-date, use: