holepunchto / dht-rpc

Make RPC calls over a Kademlia based DHT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ephemeral: false should trigger adaptive mode if host cannot be detected

mafintosh opened this issue · comments

This node never enters persistent mode as the constructor disables adaptive mode

const node = new DHT({
  bootstrap: [],
  ephemeral: false,
  firewalled: false
})

await node.ready()