A Developer Guide to Dogecoin Testnet Syncing Node Setup On Linux

Posted By : Chirag

Aug 24, 2021

Dogecoin testnet setup on linux

It's pretty similar to set up Dogecoin, Litecoin, and Bitcoin nodes. This guide will show you how to set up a new Dogecoin relay node on a Linux server. This node will be used as a Dogecoin network relay node, therefore don't store anything in its wallet.

Extract archive:

 

mkdir ~/dogecoin
mv dogecoin-1.14.4-x86_64-linux-gnu.tar.gz ~/dogecoin
tar  -xvf dogecoin-1.14.4-x86_64-linux-gnu.tar.gz

 

Create dogecoin configuration file:

mkdir ~/.dogecoin

 

Create a new file in ~/.dogecoin called dogecoin.conf with the following contents (you should set up a different password):

 

You can use the following configuration file for starting the testnet node 

 

server=1
testnet=1
rpcuser=dogecoinrpc
rpcpassword=3389fejf893cjde93jg0dJd3Md673NDSioEmdsldsjFoiqwe
rpcconnect=127.0.0.1

 



 

Start dogecoin daemon

~/dogecoin/dogecoin-1.14.4/bin/dogecoind -daemon

 

From this moment initial node bootstrapping begins - you’ll see a lot of server resources being used, especially disk and CPU

Use this command to see if your node is downloading blocks from the network (bootstrapping) after a few moments:

~/dogecoindogecoin-1.14.4/bin/dogecoin-cli getinfo

 

You should see similar output:

{
  "version": 1140400,
  "protocolversion": 70015,
  "walletversion": 130000,
  "balance": 0.00000000,
  "blocks": 5707,
  "timeoffset": 0,
  "connections": 8,
  "proxy": "",
  "difficulty": 0.0002441371325370145,
  "testnet": false,
  "keypoololdest": 1629783749,
  "keypoolsize": 100,
  "paytxfee": 1.00000000,
  "relayfee": 0.00100000,
  "errors": ""
}

 

This is how fully synchronized node looks at the moment:

{
  "version": 1140400,
  "protocolversion": 70015,
  "walletversion": 130000,
  "balance": 0.00000000,
  "blocks": 22719,
  "timeoffset": 0,
  "connections": 8,
  "proxy": "",
  "difficulty": 0.0002441371325370145,
  "testnet": false,
  "keypoololdest": 1629783749,
  "keypoolsize": 100,
  "paytxfee": 1.00000000,
  "relayfee": 0.00100000,
  "errors": ""
}" : ""



 

Additional step: Depending on your firewall configuration you might need to add following exceptions to the iptables - dogecoin uses port 22556:

iptables -A INPUT -p tcp --dport 22556 -j ACCEPT

iptables -A INPUT -p udp --dport 22556 -j ACCEPT








 

Leave a

Comment

Name is required

Invalid Name

Comment is required

Recaptcha is required.

blog-detail

April 26, 2024 at 05:51 pm

Your comment is awaiting moderation.

By using this site, you allow our use of cookies. For more information on the cookies we use and how to delete or block them, please read our cookie notice.

Chat with Us
Contact Us

Oodles | Blockchain Development Company

Name is required

Please enter a valid Name

Please enter a valid Phone Number

Please remove URL from text