1 unstable release
Uses new Rust 2024
new 0.1.0 | Apr 24, 2025 |
---|
#3 in #twister
85KB
2K
SLoC
twister-seedrs
DNS Seeder for twister-core written in Rust, based on the original Bitcoin DNSSeedrs source.
This project was created as an alternative to the legacy twister-seeder written in C++.
Important
In development!
Install
Stable
cargo install twister-seedrs
Repository
git clone https://github.com/twisterarmy/twister-seedrs.git
git checkout twister
- make sure you are using thetwister
network implementation (default branch)cargo build --release
- seetarget/*
directory to get the compiled binary!
Usage
sudo twister-seedrs -s 94.140.114.251:28333 -s 209.209.8.80:28333\
seed.example.com ns.example.com john.doe.example.com
Tip
Run twister-seedrs --help
to get all available options!
Note
- current implementation (by
dnsseedrs
) requires at least few initial peers (--seednode
values) during the first launch! - the original bitcoin crate is still in use and requires a separate fork for the twister network, at least to redefine the hardcoded network magic bytes (which is temporarily hardcoded in
crawl.rs
, line112
)
Dependencies
~57MB
~1M SLoC