Commit Graph

13799 Commits

Author SHA1 Message Date
Marten Seemann
e71bf5de3c stop using the deprecated go-libp2p-loggables package 2022-12-09 17:42:20 +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
Gus Eggert
bf61e639e9
feat: add response body limiter to routing HTTP client (#9478) 2022-12-08 10:36:59 -05:00
Steve Loeppky
01e0bfa359
docs: libp2p resource management (#9468)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-08 16:18:04 +01:00
Gus Eggert
5e5d15ae1e
chore: upgrade libipfs for routing HTTP API schema changes (#9477) 2022-12-07 17:34:00 -05:00
Marcin Rataj
e0e4741fe0 feat: lower connection pool 2022-12-07 23:00:00 +01:00
Antonio Navarro Perez
a10d012b81 Add missing && 2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
9662c8e3f9 Fix sharness test
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
be9539db03 Added a message when RM is disabled.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
a54cf2a95a Requested changes.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
e3436d1b95 Fix sharness checking daemon output
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
0bd119c340 Update test/sharness/t0060-daemon.sh
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
ad16dbdcd0 Try to fix sharness test. 2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
67886f7bd3 Fix: RM: Improve init RM message and fix final memory value.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
d16e63a23e Fix: Resource Manager: Filter stats correctly by %
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:05:15 +01:00
Antonio Navarro Perez
7a8639ee33 Apply suggestions from code review
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-12-07 16:47:37 +01:00
Antonio Navarro Perez
22a03bda6d Increase MaxMemory param to use half of total memory.
Previously it was using 1/8 of the total memory.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:47:37 +01:00
Antonio Navarro Perez
3185dee22a Update libipfs dependency. 2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
f0d720cd55 Update go-libipfs dep
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
7f5adb5e07 Add sharness tests and documentation 2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
401a543f4c Fix variable name
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:34:59 +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
4587d1c1cb Fix: Change RM log output to WARN level
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:30:43 +01:00
Antonio Navarro Perez
96bbd53033 Fix: RM: Set no-limit value to 1e9 (1000000000).
Added a comment next to the value to make possible to people to grep
over the code and find where that value is set.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 15:56:41 +01:00
Jorropo
2110f2c204 Partial Revert "Revert "fix: ensure hasher is registered when using a hashing function""
I was too much trigger happy and caught #9297's regression test in the workaround revert.
2022-12-07 15:01:53 +01:00
Antonio Navarro Perez
a3913d9f90 Add logs to the routing system
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-06 18:59:09 +01:00
Marcin Rataj
5047c02d9a fix: apply agent-version-suffix to libp2p identify
Closes #9456
2022-12-06 12:52:54 +01:00
Gus Eggert
b9a4d4592d chore: migrate ipfs/tar-utils to libipfs 2022-12-05 21:28:30 -05:00
Henrique Dias
fdd19656c4
feat(gateway): JSON and CBOR response formats (IPIP-328) (#9335)
https://github.com/ipfs/kubo/pull/9335
https://github.com/ipfs/specs/pull/328

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-05 20:22:26 +01:00
Jorropo
4d4841f41c
Merge pull request #9318 from ipfs/rvagg/go-merkledag-0.8 2022-12-05 15:15:12 +01:00
Jorropo
807b98537d Revert "fix: ensure hasher is registered when using a hashing function"
This has been superseeded by 7d0ea08289.

This reverts commit 773c246232.
2022-12-05 15:03:16 +01:00
Piotr Galar
a4594fb950
Merge pull request #9391 from ipfs/docs-release-v0.17.0
docs: release process updates from v0.17.0
2022-12-05 13:35:20 +01:00
Piotr Galar
b84e296b6f
Merge branch 'master' into docs-release-v0.17.0 2022-12-05 10:03:47 +01:00
Piotr Galar
928105865c
Apply suggestions from code review 2022-12-05 10:02:15 +01:00
galargh
5ff08e4e18 docs: update top comment in release issue template 2022-12-05 09:58:15 +01:00
galargh
4d1d0b7eed docs: remove raw release issue template automation notes 2022-12-05 09:58:15 +01:00
galargh
345c58ff7a docs: ensure the changelogs are correctly linked 2022-12-05 09:52:43 +01:00
galargh
fa21445d67 docs: update mkreleaselog output 2022-12-05 09:50:41 +01:00
galargh
a1a7c987b0 docs: update examples in release issue teamplate 2022-12-05 09:50:10 +01:00
galargh
2c2926b7ab docs: parameterise release issue template 2022-12-05 09:47:25 +01:00
Antonio Navarro Perez
5283c6f8b5 chore: Update go-routing-helpers dependency
It will avoid a deadlock when using parallel router to compose routers.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-02 13:42:28 -05:00
Marcin Rataj
09765951ea fix(rcmgr): improve error phrasing
limits were not exceeded, manager protects us from that
https://github.com/ipfs/kubo/issues/9432#issuecomment-1334160936
2022-12-02 11:13:42 +01:00
Rod Vagg
7d0ea08289
deps: go-merkledag@v0.8.1 2022-12-02 10:16:15 +11:00
Rod Vagg
cb1ba70a9b
fix: handle new ProtoNode errors 2022-12-02 10:16:10 +11:00
Antonio Navarro Perez
c8a4b6ae00
docs: Update CHANGELOG.md adding 0.17 link 2022-11-30 12:19:50 +01:00
Mohsin Zaidi
51f60ea05a
feat(config): Pubsub.SeenMessagesTTL (#9372)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-11-29 00:05:44 +01:00
Marcin Rataj
3b00c81c8d docs: remove snap and chocolatey packages
See
https://github.com/ipfs/kubo/issues/8688
https://github.com/ipfs/kubo/issues/9341
2022-11-28 15:55:57 +01:00
Piotr Galar
4648cb6456
Merge pull request #9431 from ipfs/merge-release-v0.17.0
Merge release v0.17.0
2022-11-25 17:42:34 +01:00