Marcin Rataj
70e604ff99
feat: Routing.Type=auto (DHT+IPNI) ( #9475 )
...
This changes the default routing to use both DHT and IPNI
at the same time. Closes #9454 Closes #9422
Full context:
https://github.com/ipfs/kubo/issues/9454
https://github.com/ipfs/kubo/issues/9422
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-12-08 23:20:24 +01:00
Antonio Navarro Perez
df828c0a47
feature: delegated-routing: Add HTTP delegated routing.
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
d1b9e41fc2
feat: Delegated routing with custom configuration. ( #9274 )
...
New multi-router configuration system based on https://hackmd.io/G1KRDEX5T3qyfoBMkIrBew#Methods
- Added a new routing type: "custom"
- Added specific struct types for different Routers (instead of map[string]interface{})
- Added `Duration` config type, to make easier time string parsing
- Added config documentation.
- Use the latest go-delegated-routing library version with GET support.
- Added changelog notes for this feature.
It:
- closes #9157
- closes #9079
- closes #9186
2022-09-22 15:47:45 +02:00
Jorropo
196887cbe5
chore: bump go-libp2p v0.22.0 & go1.18&go1.19
...
Fixes : #9225
2022-09-09 17:09:38 +02:00
Adin Schmahmann
2fd55d198c
integrate experimental AcceleratedDHTClient
...
The experimental AcceleratedDHTClient can be enabled from the config
When enabled it modifies the output of the `ipfs stats dht` command.
2021-05-14 04:31:06 -04:00
Adin Schmahmann
2ecde1a18c
chore: update dht and kbucket
2020-08-25 21:13:18 -04:00
Steven Allen
ff17485cbb
feat: bootstrap in dht when the routing table is empty
...
Otherwise, we could end up with only DHT clients and never re-bootstrap.
I've left the default go-ipfs bootstrapping code in for now as it's technically
possible to disable the DHT entirely.
2020-05-24 22:55:30 -07:00
Steven Allen
8a002250dc
feat: introduce the dual WAN/LAN DHT
...
And only join the WAN DHT if we're publicly reachable.
2020-04-09 21:41:38 -07:00
Steven Allen
ba631bbab0
fix: start the IPFS dht in server mode by default for now
2020-04-06 18:53:16 -07:00
Steven Allen
56e0e18294
feat: add a dhtserver option
2020-04-06 18:53:16 -07:00
Steven Allen
70fe64581d
feat(dht): update to cypress DHT in backwards compatibility mode
...
This upgrades to the next DHT version, but in backwards compatibility mode.
2020-04-06 18:53:14 -07:00
Raúl Kripalani
e8c2852179
migrate to go-libp2p-core.
...
closes #6391
License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2019-05-31 23:23:52 -07:00
Łukasz Magiera
e133058487
constructor: break down libp2p logic
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-30 00:09:42 +02:00