Go to file
Florin Chirica 62f1b6e0dc Add other peers port to config. 2021-05-28 16:33:45 +03:00
.github Added new issue templates (#3033) 2021-04-28 19:18:11 -07:00
build_scripts migrate/fix version info for installers now that we're semver (#1869) 2021-04-14 09:50:17 -07:00
chia Add other peers port to config. 2021-05-28 16:33:45 +03:00
chia-blockchain-gui@7be627b140 Fix the final plot logging issue from the GUI (#3272) 2021-04-30 22:46:01 -07:00
mozilla-ca@6e8c42b3ef Move mozilla pin, GUI 2021-03-08 15:22:34 -08:00
tests Tests skipping mempool (#3065) 2021-04-30 10:23:45 -07:00
.flake8 Isort take 3 (#1213) 2021-03-09 18:27:27 -08:00
.gitignore Merge DID into main (#1720) 2021-04-06 19:31:44 -07:00
.gitmodules Mozilla ca (#1155) 2021-03-04 14:25:35 -08:00
.isort.cfg Isort take 3 (#1213) 2021-03-09 18:27:27 -08:00
BUILD_TIMELORD.md Trigger a re-run (#1285) 2021-03-13 18:11:45 -08:00
CHANGELOG.md Apologies to @Chida82 who added log rotate count! (#3369) 2021-05-02 10:24:16 -07:00
CODE_OF_CONDUCT.md Bram's edit to code_of_conduct and start new dev branch 2020-09-15 12:26:16 -07:00
CONTRIBUTING.md CONTRIBUTING: Update with src -> chia renaming (#2721) 2021-04-25 09:46:34 -07:00
INSTALL.md Integrate GH super linter - fix shell, markdown, python issues (#296) 2020-07-16 13:05:43 -07:00
LICENSE Copyright 2021 Chia Network in LICENSE (#3153) 2021-04-29 21:44:40 -07:00
README.md Install instructions. 2021-05-11 00:03:19 +03:00
azure-pipelines.yml Fix azure pipeline (ht Gene). 2021-04-04 21:41:39 -07:00
install-gui.sh node version 10.x => 12.x 2021-04-26 16:40:30 -07:00
install-timelord.sh Add rhel support for timeloard installation (#1538) 2021-03-29 17:59:01 -07:00
install.sh Allow install as root on minimal attack surface OSes (#2871) 2021-04-27 01:24:24 -07:00
mypy.ini Ms.fixtest (#432) 2020-10-01 11:07:12 -07:00
pyproject.toml Plotting needs Mo memory (#620) 2021-01-12 17:02:22 -05:00
run-py-tests.sh Ms.mempool improvements (#1823) 2021-04-13 21:19:12 -07:00
setup.py Add other peers port to config. 2021-05-28 16:33:45 +03:00

README.md

Chia DNS Seeder

Alt text

Features:

  • Implements peer statistics from the bitcoin-seeder: https://github.com/sipa/bitcoin-seeder
  • Runs a mini-DNS server on port 53 and a full node to crawl the network.
  • Stores peers and peer statistics into a db, to be persistent between runs.

Install

sh install.sh
. ./activate
chia init

Install ubuntu

It's possible systemd already binds port 53. Special instructions to free port 53 are provided here (points #2 and #3): https://github.com/team-exor/generic-seeder#exclamation-special-instructions-for-ubuntu-users-exclamation

Configure

In dns.py, modify variables D, ns and soa_record according to your domain.

In crawler.py, modify bootstrap_peers with some reliable initial peers to contact after starting the crawler. Also, modify minimum_height with the minimal height a node must have in order to be relayed as a DNS response.

An example how to set-up A and NS records for your domain using DigitalOcean can be found in this video, from 9:40: https://www.youtube.com/watch?v=DsaxbwwVEXk&t=580s

Running

tmux new -s seeder
. ./activate
cd chia/crawler
python start_crawler.py &
python dns.py &

Stopping

Do lsof -i:8444 (for crawler) and lsof -i:53 (for DNS server). Then, do kill -9 $PID.