From da88b83e584501b1b7c09344bb21f8d1ad22fa7a Mon Sep 17 00:00:00 2001 From: Andrew Gillis <11790789+gammazero@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:56:26 -0700 Subject: [PATCH] Update go-libp2p to latest (#222) * Update go-libp2p to latest --- dagsync/subscriber.go | 8 ++++---- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dagsync/subscriber.go b/dagsync/subscriber.go index d0a93b6..8f8ea9a 100644 --- a/dagsync/subscriber.go +++ b/dagsync/subscriber.go @@ -105,6 +105,10 @@ type Subscriber struct { receiver *announce.Receiver + // cidSchemaHint enables sending the cid schema type hint as + // an HTTP header in sync requests. + cidSchemaHint bool + // Track explicit Sync calls in progress and allow them to complete before // closing subscriber. expSyncClosed bool @@ -118,10 +122,6 @@ type Subscriber struct { // specifies the selection sequence itself. adsSelectorSeq ipld.Node - // cidSchemaHint enables sending the cid schema type hint as - // an HTTP header in sync requests. - cidSchemaHint bool - // selectorOne selects one multihash entries or HAMT block. selectorOne ipld.Node // selectorAll selects all multihash HAMT blocks. diff --git a/go.mod b/go.mod index a126922..ff6b431 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/ipfs/go-log/v2 v2.5.1 github.com/ipfs/go-test v0.0.4 github.com/ipld/go-ipld-prime v0.21.0 - github.com/libp2p/go-libp2p v0.36.2 + github.com/libp2p/go-libp2p v0.36.3 github.com/libp2p/go-libp2p-pubsub v0.12.0 github.com/libp2p/go-msgio v0.3.0 github.com/mr-tron/base58 v1.2.0 diff --git a/go.sum b/go.sum index 4ebf295..4d5db14 100644 --- a/go.sum +++ b/go.sum @@ -175,8 +175,8 @@ github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6 github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/libp2p/go-flow-metrics v0.1.0 h1:0iPhMI8PskQwzh57jB9WxIuIOQ0r+15PChFGkx3Q3WM= github.com/libp2p/go-flow-metrics v0.1.0/go.mod h1:4Xi8MX8wj5aWNDAZttg6UPmc0ZrnFNsMtpsYUClFtro= -github.com/libp2p/go-libp2p v0.36.2 h1:BbqRkDaGC3/5xfaJakLV/BrpjlAuYqSB0lRvtzL3B/U= -github.com/libp2p/go-libp2p v0.36.2/go.mod h1:XO3joasRE4Eup8yCTTP/+kX+g92mOgRaadk46LmPhHY= +github.com/libp2p/go-libp2p v0.36.3 h1:NHz30+G7D8Y8YmznrVZZla0ofVANrvBl2c+oARfMeDQ= +github.com/libp2p/go-libp2p v0.36.3/go.mod h1:4Y5vFyCUiJuluEPmpnKYf6WFx5ViKPUYs/ixe9ANFZ8= github.com/libp2p/go-libp2p-asn-util v0.4.1 h1:xqL7++IKD9TBFMgnLPZR6/6iYhawHKHl950SO9L6n94= github.com/libp2p/go-libp2p-asn-util v0.4.1/go.mod h1:d/NI6XZ9qxw67b4e+NgpQexCIiFYJjErASrYW4PFDN8= github.com/libp2p/go-libp2p-pubsub v0.12.0 h1:PENNZjSfk8KYxANRlpipdS7+BfLmOl3L2E/6vSNjbdI=