dnsseeder/README.md

32 lines
780 B
Markdown
Raw Normal View History

2019-10-09 15:32:15 -07:00
## Zcash Network Crawler
This is a CoreDNS plugin that scrapes addresses of peers from a Zcash network. It's intended as a safer and more scalable replacement for the [zcash-seeder](https://github.com/zcash/zcash-seeder) project.
2020-05-21 15:41:08 -07:00
It's written in Go and uses [btcsuite](https://github.com/btcsuite) for low-level networking.
### Build instructions
TODO
### CoreDNS configuration
2020-05-24 18:43:46 -07:00
A sample Corefile that configures seeders on a domain for each network, backed by two local Zcash nodes:
2020-05-21 15:41:08 -07:00
```
mainnet.seeder.yolo.money {
2020-05-24 18:43:46 -07:00
dnsseed {
network mainnet
crawl_interval 30m
bootstrap_peers 127.0.0.1:8233
}
2020-05-21 15:41:08 -07:00
}
testnet.seeder.yolo.money {
2020-05-24 18:43:46 -07:00
dnsseed {
network testnet
crawl_interval 30m
bootstrap_peers 127.0.0.1:18233
}
2020-05-21 15:41:08 -07:00
}
```