Setting up a dogecoin node for heavy transactions and mining. Part 1


Join the dogecoin livestream
 

Introduction & Choosing Hardware

Some are interested in mining dogecoin but the fact of the matter is that most high powered mining computers are in-efficient. You can actually end up spending more in electricity costs than you can gain in mining dogecoin because it's such a cpu intensive task.

The emphasis on low powered computers in this article is geared around profitability. If you complete this tutorial on a high powered computer then it will also work but watch your power bill.

The way that a cryptocurrency verifies its transactions is with what's known as cryptographic hashes. In the computer world, these hashes are typically used to store passwords for things like wifi and your operating system. When a computer saves these passwords, for example, it encrypts them with a key, usually a really high prime number, and then you have a scrambled set of characters that do not disclose the password to any readers or the other parts of the system.

This method of encryption has been standard in the computing world for decades but the process of transacting a crypto coin causes a similar thing to take place. You see, when a computer is mining, the computer is comparing cryptographic hashes that it literally 'guesses' with the current blockchain. Once it gets a match it will compare it with the network and wait for other peers to confirm that it's right. 

The way that the miner knows how to guess is done with a comparison method and the only thing the miner knows is the algorithm that the data was encrypted in, but not the key to read it. That's why mining needs so much processing power to make as many guesses per second aka 'hashes' as possible. With dogecoin's blockchain being encrypted with the 'scrypt' algorithm, we're going to mine the 'scrypt' algorithm.

Once everything lines up and you have a verified match, you have successfully mined a dogecoin! This dogecoin you mined is actually made up of transaction fees that the senders create when they send someone else dogecoin. After your mining computer verifies their transaction it will actually go through to the person receiving that particular set of dogecoins. Cool huh?

So now that we know how cryptocurrency and mining are symbiotic we can begin with this piece. I'm going to set up a low powered node that aids the dogecoin network and then also run a miner after downloading the entire blockchain.

The computer I'm using is a Dell Inspiron 11 3195 P31T001 2-in-1 Laptop running Linux Mint 20. You can use Windows, MacOS or Linux to complete this project. There are versions of all the programs we need for each of these operating systems. I personally recommend that you use Linux because it's more secure, but if you're using Windows or Mac OS that's okay too.

This is a basic netbook with an AMD A9 APU.


Cool story with how I got this PC new for $100...

Rant - "It was on sale on amazon around late 2019 because it included this watered down version of Windows 10 that you needed to 'upgrade' to the full version. I did the free upgrade to retain a windows 10 license on this unit and then wiped it. Literally had to call Dell to figure out how to do that. It was actually a marketing/manufacturing flaw that they since corrected which initially drove the price of this 'new release' through the floor with Amazon's algorithm apparently... More returns = lower price in my mind..."

Other alternative options are using a chromebook with linux installed or even creating a raspberry pi crypto node

Also try thrift stores for discount computers. 

Here's a thrift store receipt for 2 computers I purchased to give you an idea of what's out there.



Get the Dogecoin Core Wallet

So now that we've chosen a low powered computer to use for our node we need to first get the main net dogecoin wallet. You can download it from the official dogecoin website here:  https://dogecoin.com/

Here is a screenshot of the main dogecoin site. Under "start using dogecoin today:" select your operating system. I use Linux Mint, so I click "Linux"

After you choose your OS on the main page select which Dogecoin Core client you need. I use the 64bit one for this computer. Older computers would use the 32bit one perhaps.


 

Synchronize your wallet to the Blockchain

This step in the process takes a few days to complete usually. You're going to have to configure your wallet and synchronize it with the dogecoin blockchain before you can start mining.

At the time of writing this article a new wallet is about 7 years and 8 weeks behind.
 
 
& here is the computer that will be the node. Notice the 40 core workstation it's sitting on could have a faster hash rate.. but at that point I would be better off just using the electric bill money on dogecoin through exchanges.. the purpose of this node is to aid the dogecoin network and use about the same amount of power as a wifi router.
 
Now it's time to let your Dogecoin Core synchronize
 
This will take a long time and you need to make sure you have the blockchain downloading to a secondary drive on your computer. If you try to sync the dogecoin blockchain to your main computer drive you will run out of space. Also, if you try to mine before the blockchain is synchronized you will get false verification of already mined crypto hashes.
 
Here you can see that a day later the dogecoin blockchain is 28.6GB on this computer's MicroSD card. Pretty futuristic stuff.



It says it will take about 9 entire days to complete so far. If yours looks like this too don't worry. Give it a few hours and it will start to accelerate. Pretty soon it will go down to about 21 hours and take almost another day to complete.
 
Once your wallet is finished synchronizing you now have a full node and you're already helping the dogecoin network! Still, I want to take it a step further and help the transaction rate of the dogecoin network by mining.

After this is complete continue to part 2 and we'll start low power mining the blockchain.



Comments

Popular posts from this blog

How to compile cgminer for Windows

Setting up a dogecoin node for heavy transactions and mining. Part 2

How to mine Dogecoin -Bit Torrent Token/ Wink with CPU and GPU simultaneously using Unmineable Miner