Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linki/dnsseed
checks your cryptocoin's dnsseed response node count
https://github.com/linki/dnsseed
cryptocurrency dnsseed earthcoin
Last synced: about 2 months ago
JSON representation
checks your cryptocoin's dnsseed response node count
- Host: GitHub
- URL: https://github.com/linki/dnsseed
- Owner: linki
- License: mit
- Created: 2016-01-16T19:04:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-17T00:22:49.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T18:54:18.257Z (3 months ago)
- Topics: cryptocurrency, dnsseed, earthcoin
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dnsseed
checks your coin's dnsseed response node count
# installation
get ruby, then:
```
git clone https://github.com/linki/dnsseed.git
cd dnsseed
bundle install
```# usage
```
./dnsseed.rb dnsseed.bluematt.me
=> 21 active nodes
```it prints the number of IPs returned by your dnsseed node. pass it a threshold
and check the exit code to make sure your dnsseed node still works, e.g. for
use in a ci server.```
./dnsseed.rb dnsseed.bluematt.me 20
=> 21 active nodes
echo $?
=> 0
./dnsseed.rb dnsseed.bluematt.me 22
=> 21 active nodes
echo $?
=> 1
```works for other coins as well:
```
./dnsseed.rb dnsseed.earthcointools.org
=> 12 active nodes
```don't have ruby? use docker:
```
docker run quay.io/linki/dnsseed dnsseed.earthcointools.org
=> 12 active nodes
```