facebook

A Developer Guide to Dogecoin Testnet Syncing Node Setup On Linux

Calender

12th September 2021

Clock

57 min read

Author
Chirag Kumar

Lead Devops

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








 

Author Chirag Kumar

Chirag is an highly accomplished DevOps engineer with a wealth of experience in NGINX, Apache, AWS, Compose, Docker, ECS, Kubernetes, shell scripting, Linux, Jenkins, SonarQube, Terraform, and other cutting-edge technologies. His expertise lies in automating and optimizing development and deployment processes through the utilization of various tools and techniques. Chirag's strong background in troubleshooting and problem-solving has been instrumental in ensuring the reliability and availability of systems and services. Throughout his career, he has contributed to numerous projects, including Wethio, Wethio Exchange, Hedgex, Bluechain, Coinzoom, and more.

Lead Devops

bg bg

What's Trending in Tech

bg

Our Offices

India

INDIA

DG-18-009, Tower B,
Emaar Digital Greens, Sector 61,
Gurugram, Haryana
122011.
Unit- 117-120, First Floor,
Welldone Tech Park,
Sector 48, Sohna road,
Gurugram, Haryana
122018.
USA

USA

30N, Gloud St STR E, Sheridan, Wyoming (USA) - 82801
Singapore

SINGAPORE

10 Anson Road, #13-09, International Plaza Singapore 079903.

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.