Add flags to configure bootstrapping for peer discovery
See original GitHub issueFeature request
Dat works great out of the box when you’re on the same wifi, or are connected to the internet at large, but it’s not as great when you’re connected to a network that’s not totally local, but isn’t connected to the internet. Key uses would be something like #1066 where China was blocking traffic, or #1071 talking about mesh networks, which could be relevant to dweb camp 2019.
I was thinking it could be addressed with CLI flags added to dat clone and dat share which would be passed into discovery-swarm. Maybe just IP addresses to use for bootstrapping to start so that we can get more bang for our buck.
dat clone --bootstrap-dns 192.168.1.1:666 --bootstrap-dht 127.0.0.1:420
CC @pfrazee since this applies to Beaker
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Configuration flags
This needs to match the key used in the flag if using static bootstrapping. When using discovery, each member must have a unique...
Read more >Configuration flags - etcd
Configuration flags. etcd is configurable through a configuration file, various command-line flags, and environment variables.
Read more >how to create my own bootstrap peer like ...
I use it as a relay node. deploy code: package main import ( "context" "flag" "fmt" "github.com/libp2p/go-libp2p ...
Read more >Configure Tessera
If peer discovery is disabled, then only peers defined in the configuration file will be communicated with; any peers notified by other nodes...
Read more >Bootstrap a Datacenter | Consul - HashiCorp Developer
All three methods can be set in the agent configuration file or the command line flag. Manually Join the Servers. To manually create...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
how about a config file which can set a lot of networking options, and those options can also be set through commandline parameters (they would be named the same?)
sweet!