Skip to content

Qitmeer/qitmeer-seeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qitmeer-seeder

The seeder of the Qitmeer

Usage

1, build qitmeer-seeder

git clone https://github.com/Qitmeer/qitmeer-seeder.git

cd qitmeer-seeder

go build

2, build and run Qitmeer

See Qitmeer

Notice:

--getaddrpercent=100 ,start your Qitmeer with this parameter.

The Qitmeer p2p port must use default port (mainnet 830,testnet 1830,see Qitmmer help)

# start qitmeer
./qitmeer  --testnet --getaddrpercent=100

3, seeder domain

You have atleast 2 domain names

example:

seed.example.com # DNS type namesever(ns), to ns.examplex.com

ns.examplex.com # DNS type A , to your seed server ip

4, start Qitmeer-seeder

Notice:

deafult dns server port 53,so you should config your server firewall and open udp port 53

example

# start qitmeer-seeder

./qitmeer-seeder --testnet -H example.com -n ns.example.com -l 0.0.0.0:53 -s your-qitmeer-p2plisten-ip

How to test seeder status

  1. check seed.example.com's NS is ns.example.com
dig -t ns seed.example.com

# show ...
;; ANSWER SECTION:
seed.example.com.	1	IN	NS	ns.example.com.
  1. check qitmeer good ip list

You should wait the blocks sync finished*

dig seed.example.com 

# show ...
;; ANSWER SECTION:
seed.example.com.	1	IN	A	xxx.xxx.xxx.xxx
seed.example.com.	1	IN	A	xxx.xxx.xxx.xxx
...

About

The seeder of the Qitmeer network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published