mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-12 19:51:07 +05:00
switch to DHT client mode
This commit is contained in:
parent
01d97ce6da
commit
cb633965b7
@ -158,7 +158,7 @@ func CreateNode(ctx context.Context, inputKey []byte, port int, handler network.
|
||||
dhtOut, err = dht.New(
|
||||
ctx,
|
||||
node,
|
||||
dht.Mode(dht.ModeAuto),
|
||||
dht.Mode(dht.ModeClient),
|
||||
dht.BootstrapPeers(staticBootstrapPeers...),
|
||||
dht.BootstrapPeersFunc(func() []peer.AddrInfo {
|
||||
extraBootstrapNodes := []string{}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user