66 Commits

Author SHA1 Message Date
Andrew Gillis
b50197ee8b
Upgrade go-libp2p to v0.39.1 (#598) 2025-02-18 05:41:46 -08:00
web3-bot
bfcc7c4889
ci: uci/update-go (#595)
This PR was created automatically by the @web3-bot as a part of the
[Unified CI](https://github.com/ipdxco/unified-github-workflows)
project.
2025-02-16 22:31:20 +01:00
Pavel Zbitskiy
f71345c1ec
Do not format expensive debug messages in non-debug levels in doDropRPC (#580)
In high load scenarios when consumer is slow, `doDropRPC` is called
often and makes extra unnecessary allocations formatting `log.Debug`
message.

Fixed by checking log level before running expensive formatting.

Before:
```
BenchmarkAllocDoDropRPC-10    	13684732	        76.28 ns/op	     144 B/op	       3 allocs/op
```

After:
```
BenchmarkAllocDoDropRPC-10    	28140273	        42.88 ns/op	     112 B/op	       1 allocs/op
```
2024-09-25 09:33:35 +03:00
Andrew Gillis
4c13974188
Update go-libp2p to latest (#578)
- Update to go-libp2p v0.36.3
2024-09-09 08:42:16 -07:00
web3-bot
b8a6a868ad
ci: uci/update-go (#577)
This PR was created automatically by the @web3-bot as a part of the
[Unified CI](https://github.com/ipdxco/unified-github-workflows)
project.
2024-08-26 16:58:30 +02:00
sukun
1aeb6ebc6a
chore: upgrade go-libp2p (#575)
Co-authored-by: Steven Allen <steven@stebalien.com>
2024-08-16 19:57:24 +03:00
Marco Munizaga
dbd1c9eade
Fix: Own our CertifiedAddrBook (#555)
* Subscribe to libp2p events to maintain our own Certified Address Book

* Update go version

* Use TestGossipsubStarTopology test instead of new test

* Don't return an error in manageAddrBook

* Return on error while subscribing

* Use null resource manager so that the new IP limit doesn't break tests

* Mod tidy
2024-05-20 17:13:30 -07:00
Hlib Kanunnikov
7038c82c21
chores: bump go-libp2p (#558) 2024-05-20 16:20:16 -07:00
Sukun
b5ee222289
chore: update go-libp2p to v0.32 (#548) 2023-11-01 14:32:36 +01:00
dependabot[bot]
cef801641c
bump golang.org/x/net from 0.4.0 to 0.7.0 (#520)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 12:01:28 +03:00
RichΛrd
cda3df70f4
chore: update go version and dependencies (#516) 2023-02-15 21:48:58 +02:00
Marco Munizaga
a14aca16fa
chore: update to go-libp2p v0.25 (#517)
* Update to go-libp2p v0.25

* Use go 1.19
2023-02-10 17:27:48 +01:00
Mohsin Zaidi
973fef56e1
feat: expire messages from the cache based on last seen time (#513)
* feat: expire messages from the cache based on last seen time

* chore: minor renaming

* fix: messages should not be found after expiration

* chore: editorial

* fix: use new time cache strategy consistently

* fix: default to old time cache and add todo for background gc
2023-01-24 02:02:44 +02:00
Marten Seemann
4f56e8f0a7
update go-libp2p to v0.22.0 (#498)
* update go-libp2p to v0.22.0

* skip TestGossipsubConnTagMessageDeliveries
2022-08-26 02:45:41 -07:00
Nishant Das
ca702289e6
update pubsub deps (#491) 2022-06-30 07:30:19 +03:00
protolambda
566fdfa6fc fix unused GossipSubHistoryGossip, make seenMessages ttl configurable, make score params SeenMsgTTL configurable 2022-05-24 22:20:42 +03:00
Gus Eggert
c6dd285c5d
feat: plumb through context changes (#459) 2021-11-11 11:09:45 -05:00
Steven Allen
02dae6505c
fix: downgrade multiaddr (#439)
The new version doesn't work with the current websocket release. We can
upgrade in the next minor release.
2021-07-27 22:43:38 -07:00
Steven Allen
3951ef46dd
fix: downgrade core (#438)
We'll bump in a minor release.
2021-07-27 22:08:35 -07:00
Marten Seemann
24b2d00e07
chore: update deps (#437) 2021-07-27 10:14:01 -07:00
vyzo
e6eff445d4
Ignore transient connections (#412) 2021-04-01 21:45:09 +01:00
Steven Allen
08c17398fb feat: update to go-libp2p-core 0.7.0
Updates to the new stream interfaces. See
https://github.com/libp2p/go-libp2p-core/releases/tag/v0.7.0.
2020-11-12 09:02:55 +02:00
Raúl Kripalani
ae55bf9603 upgrade deps + interoperable uvarint delimited writer/reader. 2020-07-30 14:00:54 +03:00
vyzo
44d9cb8639 gomod: update (indirect) go-eventbus for go-libp2p-core v0.5.7 2020-06-03 23:30:48 +03:00
vyzo
e700e9a446 gomod: update go-libp2p-core and go-libp2p-connmgr 2020-06-03 23:30:48 +03:00
Yusef Napora
60046386b6 update deps, go mod tidy 2020-05-19 19:26:53 +03:00
Yusef Napora
2e9c9f0b0a update dependencies and use preset decay fns 2020-05-19 19:26:53 +03:00
Yusef Napora
5be7bc254c bump blankhost to 0.1.6 2020-05-19 19:26:53 +03:00
Yusef Napora
f37c6b801c unit tests for tagTracer 2020-05-19 19:26:53 +03:00
dependabot-preview[bot]
b2075efc96 Bump github.com/libp2p/go-libp2p-blankhost from 0.1.4 to 0.1.6
Bumps [github.com/libp2p/go-libp2p-blankhost](https://github.com/libp2p/go-libp2p-blankhost) from 0.1.4 to 0.1.6.
- [Release notes](https://github.com/libp2p/go-libp2p-blankhost/releases)
- [Commits](https://github.com/libp2p/go-libp2p-blankhost/compare/v0.1.4...v0.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 17:50:24 +03:00
dependabot-preview[bot]
1c99ae97a8 Bump github.com/libp2p/go-libp2p-core from 0.5.3 to 0.5.6
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.3 to 0.5.6.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.3...v0.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 17:26:03 +03:00
dependabot-preview[bot]
933aeb40e5 Bump github.com/libp2p/go-libp2p-swarm from 0.2.3 to 0.2.4
Bumps [github.com/libp2p/go-libp2p-swarm](https://github.com/libp2p/go-libp2p-swarm) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/libp2p/go-libp2p-swarm/releases)
- [Commits](https://github.com/libp2p/go-libp2p-swarm/compare/v0.2.3...v0.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 17:00:50 +03:00
dependabot-preview[bot]
37ed7a3360 Bump github.com/multiformats/go-multiaddr-net from 0.1.4 to 0.1.5
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.4...v0.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 21:06:36 +03:00
dependabot-preview[bot]
b3b7814eb7 Bump github.com/libp2p/go-libp2p-core from 0.5.2 to 0.5.3
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.2...v0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 20:20:17 +03:00
dependabot-preview[bot]
b7eeaadcb8 Bump github.com/libp2p/go-libp2p-core from 0.5.1 to 0.5.2
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.1...v0.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 15:56:30 +03:00
dependabot-preview[bot]
7f44ecc720 Bump github.com/ipfs/go-log from 1.0.3 to 1.0.4
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 14:45:10 +03:00
Adin Schmahmann
4fc98a00af chore: update libp2p discovery 2020-04-23 14:23:22 +03:00
vyzo
7fadc8e976 update go-libp2p-discovery, go mod tidy 2020-04-21 12:04:29 +03:00
dependabot-preview[bot]
b35fdc996a Bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 23:58:53 +03:00
dependabot-preview[bot]
53c709a6ca Bump github.com/libp2p/go-libp2p-core from 0.5.0 to 0.5.1
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 21:55:10 +03:00
dependabot-preview[bot]
428f80c21c Bump github.com/libp2p/go-libp2p-swarm from 0.2.2 to 0.2.3
Bumps [github.com/libp2p/go-libp2p-swarm](https://github.com/libp2p/go-libp2p-swarm) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/libp2p/go-libp2p-swarm/releases)
- [Commits](https://github.com/libp2p/go-libp2p-swarm/compare/v0.2.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 20:58:08 +03:00
vyzo
3016a1c9a9 gomod: update go-multiaddr-net 2020-04-18 11:09:06 +03:00
vyzo
95094393a8 gomod: use go-multiaddr-net v0.1.3 2020-04-18 11:09:06 +03:00
vyzo
c50a739fb5 gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-04-18 11:09:06 +03:00
Yusef Napora
9765853bd2 update PR branch dependencies 2020-04-18 11:09:06 +03:00
vyzo
5c48ff9a4e gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-04-18 11:09:06 +03:00
vyzo
7cafd84fa6 gomod tidy 2020-03-24 15:52:34 +02:00
vyzo
195f86bd90 gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-03-24 15:52:34 +02:00
Yusef Napora
9ad332dd1d update PR branch dependencies 2020-03-24 15:52:34 +02:00
vyzo
835567eb54 gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-03-24 15:52:34 +02:00