Henrique Dias
58c29399cf
chore: clean migration
2023-11-29 12:29:59 +01:00
Icarus9913
9fdb085605
refactor: stop using go-libp2p deprecated peer.ID.Pretty
...
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-09-18 15:58:15 +02:00
Henrique Dias
5ea58251d5
chore: update boxo, go-libp2p, and internalize mplex ( #10095 )
2023-08-24 06:11:02 +00:00
Kay
f12b372af9
style: gofumpt and godot [skip changelog] ( #10081 )
2023-08-17 14:02:08 +02:00
Marcin Rataj
3da4e5b409
fix(gateway): include CORS on subdomain redirects ( #9994 )
2023-06-27 11:11:21 +00:00
Jorropo
3ab1086f71
chore: migrate go-libipfs to boxo
...
Resolves #9677 , #9676 , #9675 , #9736
2023-03-28 22:05:25 -04:00
Henrique Dias
14649aa8ba
refactor: new go-libipfs/gateway API, deprecate Gateway.Writable ( #9616 )
2023-02-02 02:50:46 +01:00
Jorropo
8328bab28d
fix: ensure connmgr is smaller then autoscalled ressource limits
...
Fixes #9545
2023-01-20 19:25:38 +01:00
Jorropo
16d189b8b8
feat: turn on WebTransport by default
...
Fixes #9292
2022-12-12 21:56:55 +01:00
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
Marcin Rataj
1f636400aa
feat: adjust ConnMgr target to 32-96 ( #9483 )
...
https://github.com/ipfs/kubo/pull/9483#issuecomment-1343067553
2022-12-08 21:45:32 +01:00
Mikel Cortes
72bad5c060
feat: increase default Reprovider.Interval ( #9326 )
...
* increase republish interval based on RFM17
* refactor(config): switch to implicit default
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-08 21:28:40 +01:00
Marcin Rataj
e0e4741fe0
feat: lower connection pool
2022-12-07 23:00:00 +01:00
Lucas Molas
e34c0da2b5
refactor(config): remove Swarm.ConnMgr defaults
...
This moves defaults to Kubo code, cleaning up config.
If value is in config, we assume it is an explicit choice made by user.
Makes migrations easier.
2022-11-15 20:26:59 +01:00
Antonio Navarro Perez
0e0136100e
fix: Set default Methods value to nil
2022-09-27 18:51:04 +02: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
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
Marcin Rataj
61f0710100
fix: remove mdns_legacy & Discovery.MDNS.Interval
...
* fix: remove mdns_legacy
We've been running both implementations for a long, long time.
It is time to remove legacy version and lower the number of LAN packets
IPFS node produces.
See https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717
for the Interval removal rational.
2022-06-27 04:17:40 +02:00
Jorropo
a6008f0e36
go-ipfs-config: feat: add Addresses.AppendAnnounce ( #135 )
2021-11-23 19:09:58 +01:00
Steven Allen
c692e73f3f
go-ipfs-config: fix: remove deprecated calls
...
And rename imports.
2021-07-22 15:54:33 -07:00
web3-bot
8f09fa547f
go-ipfs-config: run gofmt -s
2021-05-17 17:00:43 +00:00
gammazero
ec1659d79a
go-ipfs-config: Init migration config with empty values
2021-04-19 23:41:54 -07:00
gammazero
67456e2e64
go-ipfs-config: Add config for downloading repo migrations
2021-04-16 17:35:34 -07:00
vyzo
c932e6b700
go-ipfs-config: add default empty config for DNS, rename struct from DNSConfig to DNS
2021-04-14 18:46:35 +03:00
Adin Schmahmann
2690c10bca
go-ipfs-config: add support for pinning mfs ( #116 )
...
* add support for pinning mfs
* add pin conceal selector
* add RemoteServicesPath
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
2021-01-28 18:05:47 -05:00
gammazero
74dcf427fc
go-ipfs-config: Remove badger2 profile
...
This is needed for the upcoming release since there is not yet an official badger2 release with the items needed for use by IPFS.
2020-11-23 17:09:21 -08:00
gammazero
1ec9262cda
go-ipfs-config: Add badger2 profile and config spec
2020-10-09 16:11:07 -07:00
Petar Maymounkov
da979299da
go-ipfs-config: error if bit size specified with ed25519 keys ( #105 )
2020-07-14 09:50:10 -07:00
Steven Allen
ba2e10aecc
go-ipfs-config: fix: include key size in key init method
2020-05-22 16:37:25 -07:00
@RubenKelevra
ca7098926f
go-ipfs-config: default config: add QUIC listening ports + quic to mars.i.ipfs.io
...
fixes 1) of https://github.com/ipfs/go-ipfs/issues/7343
2020-05-21 23:45:44 +02:00
Will Scott
c6336c3303
go-ipfs-config: interface
2020-04-21 08:08:21 -07:00
Will Scott
d02cdb3963
go-ipfs-config: Add Init Alternative allowing specification of ED25519 key
2020-04-20 17:37:46 -07:00
Steven Allen
cc723f94b8
go-ipfs-config: feat: mark badger as stable
...
We're still not ready to enable it by default but at least mark it as stable.
2020-03-27 18:40:26 -07:00
Steven Allen
66886eb1ff
go-ipfs-config: fix(init): use key size constraints defined in libp2p
2019-12-04 13:38:00 -05:00
Steven Allen
a7ff340af6
go-ipfs-config: chore: bump minimum key size to 2048
2019-08-29 10:15:25 -07:00
Steven Allen
e76a8cf714
go-ipfs-config: migrate to the consolidated libp2p
...
BREAKING: this also removes the dependency on go-ipfs-addr so we can deprecate
that package. This only appears to affect go-ipfs itself.
2019-05-31 12:54:12 -07:00
Łukasz Magiera
bc31fd957c
go-ipfs-config: Add Gateway.NoFetch
2019-01-03 23:09:15 +01:00
Ivan
1ca5f8e640
go-ipfs-config: Allow the use of the User-Agent header
...
License: MIT
Signed-off-by: Ivan <ivan386@users.noreply.github.com>
2018-10-14 21:32:55 +02:00
Steven Allen
5d245d879f
go-ipfs-config: Merge pull request #11 from ipfs/feat/multi-addr
...
allow multiple API/Gateway addresses
2018-10-02 11:56:32 -07:00
Lars Gierth
d7c1f55724
go-ipfs-config: Add Gateway.APICommands for /api allowlists
2018-09-24 16:44:56 +02:00
Steven Allen
6a618df199
go-ipfs-config: allow multiple API/Gateway addresses
...
Alternative to #6 that doesn't require a migration.
2018-09-21 09:39:47 -07:00
Łukasz Magiera
512b4d3b15
go-ipfs-config: remove version.go
2018-07-23 19:04:48 +02:00
Łukasz Magiera
757f25d4b1
go-ipfs-config: gx-go uw
2018-07-23 16:13:00 +02:00
Steven Allen
7fded300ef
go-ipfs-config: gx update
...
Updates:
* go-kad-dht: Query performance improvements, DHT client fixes, validates
records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
adds support for consuming /p2p/ multiaddrs.
fixes #5113
unblocks #4895
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
Steven Allen
4a56636348
go-ipfs-config: gx update go-log, sys, go-crypto
...
* go-log
* sys
* go-crypto
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
Steven Allen
c78cad7700
go-ipfs-config: update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
Łukasz Magiera
af1fc17657
go-ipfs-config: fix error style
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
Łukasz Magiera
88d7dfec2f
go-ipfs-config: config: apply review to lowpower profile
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 16:11:42 +01:00
Łukasz Magiera
efb99b5e59
go-ipfs-config: daemon: config option for routing
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 16:11:42 +01:00