kubo/config
Antonio Navarro Perez 92c4dc61a8
feat(routing): Delegated Routing (#8997)
* Delegated Routing.

Implementation of Reframe specs (https://github.com/ipfs/specs/blob/master/REFRAME.md) using go-delegated-routing library.

* Requested changes.

* Init using op string

* Separate possible ContentRouters for TopicDiscovery.

If we don't do this, we have a ciclic dependency creating TieredRouter.
Now we can create first all possible content routers, and after that,
create Routers.

* Set dht default routing type

* Add tests and remove uneeded code

* Add documentation.

* docs: Routing.Routers

* Requested changes.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Add some documentation on new fx functions.

* Add changelog entry and integration tests

* test: sharness for 'dht' in 'routing' commands

Since 'routing' is currently the same as 'dht' (minus query command)
we need to test both, that way we won't have unnoticed divergence
in the default behavior.

* test(sharness): delegated routing via reframe URL

* Add more tests for delegated routing.

* If any put operation fails, the tiered router will fail.

* refactor: Routing.Routers: Parameters.Endpoint

As agreed  in https://github.com/ipfs/kubo/pull/8997#issuecomment-1175684716

* Try to improve CHANGELOG entry.

* chore: update reframe spec link

* Update go-delegated-routing dependency

* Fix config error test

* use new changelog format

* Remove port conflict

* go mod tidy

* ProviderManyWrapper to ProviderMany

* Update docs/changelogs/v0.14.md

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-07 17:10:25 -04:00
..
serialize refactor: rename to kubo 2022-07-06 18:40:37 +02:00
addresses.go Fix typos 2022-03-18 00:58:36 +01:00
api.go go-ipfs-config: Added API + Gateway support for arbitrary HTTP headers 2015-07-28 23:08:09 -07:00
autonat.go go-ipfs-config: feat: add an OptionalDuration type (#148) 2021-10-27 18:23:35 +02:00
bootstrap_peers_test.go go-ipfs-config: fix string formatting of bootstrap peers 2019-06-01 09:03:11 -07:00
bootstrap_peers.go go-ipfs-config: [LINT] error strings should not end with punctuation or a newline (ST1005) 2021-05-14 14:31:24 -07:00
config_test.go go-ipfs-config: Add one more test for config.Clone 2018-12-13 16:03:29 -08:00
config.go feat(cmds): allow to set the configuration file path 2022-04-22 13:03:28 -03:00
datastore.go go-ipfs-config: cleanup and bug fixes 2017-09-03 14:08:52 -07:00
discovery.go fix: remove mdns_legacy & Discovery.MDNS.Interval 2022-06-27 04:17:40 +02:00
dns.go go-ipfs-config: feat: add DNS.MaxCacheTTL for DNS-over-HTTPS resolvers (#161) 2022-01-20 20:04:53 +01:00
experiments.go refactor: rename to kubo 2022-07-06 18:40:37 +02:00
gateway.go refactor: rename to kubo 2022-07-06 18:40:37 +02:00
identity.go go-ipfs-config: migrate to the consolidated libp2p 2019-05-31 12:54:12 -07:00
init_test.go go-ipfs-config: error if bit size specified with ed25519 keys (#105) 2020-07-14 09:50:10 -07:00
init.go feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00
internal.go go-ipfs-config: feat: Swarm.RelayService (circuit v2) (#146) 2021-11-13 03:07:14 -08:00
ipns.go go-ipfs-config: feat: pubsub and ipns pubsub flags (#145) 2021-10-27 21:50:10 +02:00
migration_test.go go-ipfs-config: Removed Peers from migration config 2021-05-03 09:08:16 -07:00
migration.go go-ipfs-config: Removed Peers from migration config 2021-05-03 09:08:16 -07:00
mounts.go go-ipfs-config: Added fuse allow_other option 2015-04-02 15:11:27 -07:00
peering.go go-ipfs-config: doc: improve wording for peering config 2020-05-25 19:14:40 -07:00
plugins.go go-ipfs-config: plugins: don't omit empty config values 2019-08-29 13:56:13 -07:00
profile.go feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00
provider.go go-ipfs-config: Add very basic (possibly temporary) Provider configs 2019-06-27 12:20:44 -07:00
pubsub.go go-ipfs-config: feat: pubsub and ipns pubsub flags (#145) 2021-10-27 21:50:10 +02:00
remotepin.go go-ipfs-config: add support for pinning mfs (#116) 2021-01-28 18:05:47 -05:00
reprovider.go go-ipfs-config: Reprovider strategies 2017-08-13 00:02:23 +02:00
routing.go feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00
swarm.go feat: enable Resource Manager by default 2022-05-04 14:08:37 -04:00
types_test.go go-ipfs-config: feat: Swarm.RelayService (circuit v2) (#146) 2021-11-13 03:07:14 -08:00
types.go feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00