From 579c768564f97899b7860918cfc8f57d758f01cd Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Fri, 2 Apr 2021 11:45:39 -0700 Subject: [PATCH 1/3] feat(coreapi): implement node interface implement a node interface that provides direct access to go-ipld-prime tools License: MIT Signed-off-by: hannahhoward --- core/core.go | 2 ++ core/coreapi/coreapi.go | 21 +++++++++++++++++++++ go.mod | 3 ++- go.sum | 7 ++++--- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/core/core.go b/core/core.go index d422a1aa80c..1fe9eb1d00f 100644 --- a/core/core.go +++ b/core/core.go @@ -17,6 +17,7 @@ import ( "github.com/ipfs/go-ipfs-pinner" bserv "github.com/ipfs/go-blockservice" + "github.com/ipfs/go-fetcher" "github.com/ipfs/go-graphsync" bstore "github.com/ipfs/go-ipfs-blockstore" exchange "github.com/ipfs/go-ipfs-exchange-interface" @@ -77,6 +78,7 @@ type IpfsNode struct { Blocks bserv.BlockService // the block service, get/add blocks. DAG ipld.DAGService // the merkle dag service, get/add objects. Resolver *resolver.Resolver // the path resolution system + FetcherFactory fetcher.Factory // an implementation of the fetcher Reporter *metrics.BandwidthCounter `optional:"true"` Discovery discovery.Service `optional:"true"` FilesRoot *mfs.Root diff --git a/core/coreapi/coreapi.go b/core/coreapi/coreapi.go index f0e36225277..51b3827fa99 100644 --- a/core/coreapi/coreapi.go +++ b/core/coreapi/coreapi.go @@ -19,6 +19,8 @@ import ( "fmt" bserv "github.com/ipfs/go-blockservice" + "github.com/ipfs/go-dagwriter" + "github.com/ipfs/go-fetcher" blockstore "github.com/ipfs/go-ipfs-blockstore" exchange "github.com/ipfs/go-ipfs-exchange-interface" offlinexch "github.com/ipfs/go-ipfs-exchange-offline" @@ -27,6 +29,7 @@ import ( offlineroute "github.com/ipfs/go-ipfs-routing/offline" ipld "github.com/ipfs/go-ipld-format" dag "github.com/ipfs/go-merkledag" + "github.com/ipfs/go-unixfsnode" "github.com/ipfs/go-path/resolver" coreiface "github.com/ipfs/interface-go-ipfs-core" "github.com/ipfs/interface-go-ipfs-core/options" @@ -57,6 +60,8 @@ type CoreAPI struct { blocks bserv.BlockService dag ipld.DAGService + fetcherConfig fetcher.FetcherConfig + dagWriter dagwriter.DagWritingService resolver *resolver.Resolver peerstore pstore.Peerstore peerHost p2phost.Host @@ -106,6 +111,19 @@ func (api *CoreAPI) Dag() coreiface.APIDagService { } } +type nodeAPI struct { + fetcher.FetcherConfig + dagwriter.DagWritingService +} + +// Node returns the Node interface implementation backed by the go-ipfs node +func (api *CoreAPI) Node() coreiface.NodeAPI { + return &nodeAPI{ + api.fetcherConfig, + api.dagWriter, + } +} + // Name returns the NameAPI interface implementation backed by the go-ipfs node func (api *CoreAPI) Name() coreiface.NameAPI { return (*NameAPI)(api) @@ -169,6 +187,7 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e blocks: n.Blocks, dag: n.DAG, resolver: n.Resolver, + fetcherConfig: n.FetcherFactory, peerstore: n.Peerstore, peerHost: n.PeerHost, @@ -185,6 +204,8 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e parentOpts: settings, } + subApi.dagWriter = dagwriter.NewDagWriter(subApi.blocks) + subApi.checkOnline = func(allowOffline bool) error { if !n.IsOnline && !allowOffline { return coreiface.ErrOffline diff --git a/go.mod b/go.mod index f5db38424de..1ab1d34c2ae 100644 --- a/go.mod +++ b/go.mod @@ -20,6 +20,7 @@ require ( github.com/ipfs/go-blockservice v0.1.4 github.com/ipfs/go-cid v0.0.7 github.com/ipfs/go-cidutil v0.0.2 + github.com/ipfs/go-dagwriter v0.0.0-20210330014411-6fb9a511eaff github.com/ipfs/go-datastore v0.4.5 github.com/ipfs/go-detect-race v0.0.1 github.com/ipfs/go-ds-badger v0.2.6 @@ -57,7 +58,7 @@ require ( github.com/ipfs/go-unixfs v0.2.4 github.com/ipfs/go-unixfsnode v1.1.1 github.com/ipfs/go-verifcid v0.0.1 - github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210326022702-98763dda3e52 + github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210402182121-8f87b20d4be7 github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f github.com/ipld/go-codec-dagpb v1.2.1-0.20210405170603-d0b86f7623c2 github.com/ipld/go-ipld-prime v0.9.1-0.20210402181957-7406578571d1 diff --git a/go.sum b/go.sum index c395d49e311..a438bf7d9c9 100644 --- a/go.sum +++ b/go.sum @@ -358,6 +358,8 @@ github.com/ipfs/go-cid v0.0.7 h1:ysQJVJA3fNDF1qigJbsSQOdjhVLsOEoPdh0+R97k3jY= github.com/ipfs/go-cid v0.0.7/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqgC/I= github.com/ipfs/go-cidutil v0.0.2 h1:CNOboQf1t7Qp0nuNh8QMmhJs0+Q//bRL1axtCnIB1Yo= github.com/ipfs/go-cidutil v0.0.2/go.mod h1:ewllrvrxG6AMYStla3GD7Cqn+XYSLqjK0vc+086tB6s= +github.com/ipfs/go-dagwriter v0.0.0-20210330014411-6fb9a511eaff h1:6Qk1I0swNwONRzL7xiivsNT3tqpaMW+C0dTPg6haYkc= +github.com/ipfs/go-dagwriter v0.0.0-20210330014411-6fb9a511eaff/go.mod h1:rytn1TKuQ3zg9oMJxoVsSUt7BXonIRWxChvDR6LkG98= github.com/ipfs/go-datastore v0.0.1/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= github.com/ipfs/go-datastore v0.0.5/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= github.com/ipfs/go-datastore v0.1.0/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= @@ -500,12 +502,11 @@ github.com/ipfs/go-unixfsnode v1.1.1/go.mod h1:Xk4qvd3Nb8H31OJapZrLDAE4aBNmKUCvA github.com/ipfs/go-verifcid v0.0.1 h1:m2HI7zIuR5TFyQ1b79Da5N9dnnCP1vcu2QqawmWlK2E= github.com/ipfs/go-verifcid v0.0.1/go.mod h1:5Hrva5KBeIog4A+UpqlaIU+DEstipcJYQQZc0g37pY0= github.com/ipfs/interface-go-ipfs-core v0.4.0/go.mod h1:UJBcU6iNennuI05amq3FQ7g0JHUkibHFAfhfUIy927o= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210326022702-98763dda3e52 h1:NKvFg6nPuEhMMyoOUswEReIr3PWBNSgwNT6mDPLAcTo= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210326022702-98763dda3e52/go.mod h1:kSN12HNPXg8TrQfdyQOPbPIQVk5j8PcHTn2AAKCaZ6Q= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210402182121-8f87b20d4be7 h1:Mi9i3HVPFKqYETkmuH1iYe+ro82ZXEbmGUwPavXPo8g= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210402182121-8f87b20d4be7/go.mod h1:EKq1Cw18dOHt3uYrk+zIZBSzjyRe4fGh/4gFalTrHTk= github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f h1:417+6v+keLsNoVi2vPJamDsW/ewuAs2uE3hlFt5muGs= github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f/go.mod h1:kHunAcD305JwLqwI9MfKvuQu4ljwWRZQWfDWPrkkhcg= github.com/ipld/go-codec-dagpb v1.0.2-0.20210308154810-d05d02fa186e/go.mod h1:oYexiw3WkBIVD5UTNkVuOd0iyEcLxqytAQa90F3nH9M= -github.com/ipld/go-codec-dagpb v1.1.0/go.mod h1:6nBN7X7h8EOsEejZGqC7tej5drsdBAXbMHyBT+Fne5s= github.com/ipld/go-codec-dagpb v1.2.0/go.mod h1:6nBN7X7h8EOsEejZGqC7tej5drsdBAXbMHyBT+Fne5s= github.com/ipld/go-codec-dagpb v1.2.1-0.20210330082435-8ec6b0fbad18/go.mod h1:GMLfso6KSkYJlIbd2cGKdGMe/hM5/IukeXRQ+u6zTrQ= github.com/ipld/go-codec-dagpb v1.2.1-0.20210405170603-d0b86f7623c2 h1:m/ZZEoOdswHrrcikTC+fX4x6tnevJs0hoyNzijlT41A= From fc26e271cc7980aad1ee328f65fda1809687cef5 Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Mon, 5 Apr 2021 12:20:35 -0700 Subject: [PATCH 2/3] fix(deps): update deps to latest License: MIT Signed-off-by: hannahhoward --- go.mod | 2 +- go.sum | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 1ab1d34c2ae..9b32012ebed 100644 --- a/go.mod +++ b/go.mod @@ -58,7 +58,7 @@ require ( github.com/ipfs/go-unixfs v0.2.4 github.com/ipfs/go-unixfsnode v1.1.1 github.com/ipfs/go-verifcid v0.0.1 - github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210402182121-8f87b20d4be7 + github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405202020-ca57b3c9337b github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f github.com/ipld/go-codec-dagpb v1.2.1-0.20210405170603-d0b86f7623c2 github.com/ipld/go-ipld-prime v0.9.1-0.20210402181957-7406578571d1 diff --git a/go.sum b/go.sum index a438bf7d9c9..420caf2471a 100644 --- a/go.sum +++ b/go.sum @@ -502,8 +502,10 @@ github.com/ipfs/go-unixfsnode v1.1.1/go.mod h1:Xk4qvd3Nb8H31OJapZrLDAE4aBNmKUCvA github.com/ipfs/go-verifcid v0.0.1 h1:m2HI7zIuR5TFyQ1b79Da5N9dnnCP1vcu2QqawmWlK2E= github.com/ipfs/go-verifcid v0.0.1/go.mod h1:5Hrva5KBeIog4A+UpqlaIU+DEstipcJYQQZc0g37pY0= github.com/ipfs/interface-go-ipfs-core v0.4.0/go.mod h1:UJBcU6iNennuI05amq3FQ7g0JHUkibHFAfhfUIy927o= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210402182121-8f87b20d4be7 h1:Mi9i3HVPFKqYETkmuH1iYe+ro82ZXEbmGUwPavXPo8g= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210402182121-8f87b20d4be7/go.mod h1:EKq1Cw18dOHt3uYrk+zIZBSzjyRe4fGh/4gFalTrHTk= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405191608-cfc1d17466f4 h1:+7FVaqFCwhHAr5SMI1EoM4XA2+qKbHf4llNAUd6FjfI= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405191608-cfc1d17466f4/go.mod h1:lP0qUmSsahKLQT3JcjfDnOlT89VUU5L4bi0/8ARH5Fw= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405202020-ca57b3c9337b h1:IxxQF7840h6jcR5JdLsBlzgCUs/EzaQj4t+yO8ZJv0s= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405202020-ca57b3c9337b/go.mod h1:uI4Dq/srB5Ecylh+4oYn7iiSgp1gluu/2KVv9OsQlP0= github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f h1:417+6v+keLsNoVi2vPJamDsW/ewuAs2uE3hlFt5muGs= github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f/go.mod h1:kHunAcD305JwLqwI9MfKvuQu4ljwWRZQWfDWPrkkhcg= github.com/ipld/go-codec-dagpb v1.0.2-0.20210308154810-d05d02fa186e/go.mod h1:oYexiw3WkBIVD5UTNkVuOd0iyEcLxqytAQa90F3nH9M= From 7f716a195fe24816c0542a9ce2b7ce29a90a46be Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Fri, 9 Apr 2021 20:11:37 -0700 Subject: [PATCH 3/3] fix(deps): update deps and fix syntax Update to latest fetcher/dag-writer and fix node api License: MIT Signed-off-by: hannahhoward --- core/coreapi/coreapi.go | 18 +++++++++--------- go.mod | 4 ++-- go.sum | 17 ++++++++--------- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/core/coreapi/coreapi.go b/core/coreapi/coreapi.go index 51b3827fa99..661b58d8351 100644 --- a/core/coreapi/coreapi.go +++ b/core/coreapi/coreapi.go @@ -20,6 +20,7 @@ import ( bserv "github.com/ipfs/go-blockservice" "github.com/ipfs/go-dagwriter" + bsdagwriter "github.com/ipfs/go-dagwriter/impl/blockservice" "github.com/ipfs/go-fetcher" blockstore "github.com/ipfs/go-ipfs-blockstore" exchange "github.com/ipfs/go-ipfs-exchange-interface" @@ -29,7 +30,6 @@ import ( offlineroute "github.com/ipfs/go-ipfs-routing/offline" ipld "github.com/ipfs/go-ipld-format" dag "github.com/ipfs/go-merkledag" - "github.com/ipfs/go-unixfsnode" "github.com/ipfs/go-path/resolver" coreiface "github.com/ipfs/interface-go-ipfs-core" "github.com/ipfs/interface-go-ipfs-core/options" @@ -60,7 +60,7 @@ type CoreAPI struct { blocks bserv.BlockService dag ipld.DAGService - fetcherConfig fetcher.FetcherConfig + fetcherFactory fetcher.Factory dagWriter dagwriter.DagWritingService resolver *resolver.Resolver peerstore pstore.Peerstore @@ -112,14 +112,14 @@ func (api *CoreAPI) Dag() coreiface.APIDagService { } type nodeAPI struct { - fetcher.FetcherConfig + fetcher.Factory dagwriter.DagWritingService } // Node returns the Node interface implementation backed by the go-ipfs node func (api *CoreAPI) Node() coreiface.NodeAPI { return &nodeAPI{ - api.fetcherConfig, + api.fetcherFactory, api.dagWriter, } } @@ -184,10 +184,10 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e baseBlocks: n.BaseBlocks, pinning: n.Pinning, - blocks: n.Blocks, - dag: n.DAG, - resolver: n.Resolver, - fetcherConfig: n.FetcherFactory, + blocks: n.Blocks, + dag: n.DAG, + resolver: n.Resolver, + fetcherFactory: n.FetcherFactory, peerstore: n.Peerstore, peerHost: n.PeerHost, @@ -204,7 +204,7 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e parentOpts: settings, } - subApi.dagWriter = dagwriter.NewDagWriter(subApi.blocks) + subApi.dagWriter = bsdagwriter.NewDagWriter(subApi.blocks) subApi.checkOnline = func(allowOffline bool) error { if !n.IsOnline && !allowOffline { diff --git a/go.mod b/go.mod index 9b32012ebed..d67cd91587e 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/ipfs/go-blockservice v0.1.4 github.com/ipfs/go-cid v0.0.7 github.com/ipfs/go-cidutil v0.0.2 - github.com/ipfs/go-dagwriter v0.0.0-20210330014411-6fb9a511eaff + github.com/ipfs/go-dagwriter v0.0.0-20210410024744-41183870fd1b github.com/ipfs/go-datastore v0.4.5 github.com/ipfs/go-detect-race v0.0.1 github.com/ipfs/go-ds-badger v0.2.6 @@ -58,7 +58,7 @@ require ( github.com/ipfs/go-unixfs v0.2.4 github.com/ipfs/go-unixfsnode v1.1.1 github.com/ipfs/go-verifcid v0.0.1 - github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405202020-ca57b3c9337b + github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210410030100-56c2e678cb62 github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f github.com/ipld/go-codec-dagpb v1.2.1-0.20210405170603-d0b86f7623c2 github.com/ipld/go-ipld-prime v0.9.1-0.20210402181957-7406578571d1 diff --git a/go.sum b/go.sum index 420caf2471a..f8ca1e9d161 100644 --- a/go.sum +++ b/go.sum @@ -358,8 +358,8 @@ github.com/ipfs/go-cid v0.0.7 h1:ysQJVJA3fNDF1qigJbsSQOdjhVLsOEoPdh0+R97k3jY= github.com/ipfs/go-cid v0.0.7/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqgC/I= github.com/ipfs/go-cidutil v0.0.2 h1:CNOboQf1t7Qp0nuNh8QMmhJs0+Q//bRL1axtCnIB1Yo= github.com/ipfs/go-cidutil v0.0.2/go.mod h1:ewllrvrxG6AMYStla3GD7Cqn+XYSLqjK0vc+086tB6s= -github.com/ipfs/go-dagwriter v0.0.0-20210330014411-6fb9a511eaff h1:6Qk1I0swNwONRzL7xiivsNT3tqpaMW+C0dTPg6haYkc= -github.com/ipfs/go-dagwriter v0.0.0-20210330014411-6fb9a511eaff/go.mod h1:rytn1TKuQ3zg9oMJxoVsSUt7BXonIRWxChvDR6LkG98= +github.com/ipfs/go-dagwriter v0.0.0-20210410024744-41183870fd1b h1:iGEokY1rwqatEY6XxWQ/4fzGrdmOpvSM9YrudFMg8ww= +github.com/ipfs/go-dagwriter v0.0.0-20210410024744-41183870fd1b/go.mod h1:rytn1TKuQ3zg9oMJxoVsSUt7BXonIRWxChvDR6LkG98= github.com/ipfs/go-datastore v0.0.1/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= github.com/ipfs/go-datastore v0.0.5/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= github.com/ipfs/go-datastore v0.1.0/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= @@ -389,7 +389,8 @@ github.com/ipfs/go-ds-leveldb v0.4.2 h1:QmQoAJ9WkPMUfBLnu1sBVy0xWWlJPg0m4kRAiJL9 github.com/ipfs/go-ds-leveldb v0.4.2/go.mod h1:jpbku/YqBSsBc1qgME8BkWS4AxzF2cEu1Ii2r79Hh9s= github.com/ipfs/go-ds-measure v0.1.0 h1:vE4TyY4aeLeVgnnPBC5QzKIjKrqzha0NCujTfgvVbVQ= github.com/ipfs/go-ds-measure v0.1.0/go.mod h1:1nDiFrhLlwArTME1Ees2XaBOl49OoCgd2A3f8EchMSY= -github.com/ipfs/go-fetcher v1.1.0/go.mod h1:RHp10iwAdiJCsxqNvz6JMv1S7tajHSpC36oR6mJuF5M= +github.com/ipfs/go-fetcher v1.2.0/go.mod h1:RFvn2LiuWIfyXt3ChONqIvQfsbEhBYWhwUeatYjFPIA= +github.com/ipfs/go-fetcher v1.2.1-0.20210410025415-5325cff258c0/go.mod h1:mlpkadjgVO4a/SW822rtK2b7vIAjtvtw/f6ensvCImI= github.com/ipfs/go-fetcher v1.3.0 h1:XlF4GCg9LkdAfQk3Kdd3JD0dZ5TgqfydJ7+gog/Eotc= github.com/ipfs/go-fetcher v1.3.0/go.mod h1:lld7kBIARmpCvhQ/Rob5oOGEKfVjil8L8y4j9jtLdqo= github.com/ipfs/go-filestore v0.0.3 h1:MhZ1jT5K3NewZwim6rS/akcJLm1xM+r6nz6foeB9EwE= @@ -483,7 +484,7 @@ github.com/ipfs/go-metrics-prometheus v0.0.2/go.mod h1:ELLU99AQQNi+zX6GCGm2lAgnz github.com/ipfs/go-mfs v0.1.2 h1:DlelNSmH+yz/Riy0RjPKlooPg0KML4lXGdLw7uZkfAg= github.com/ipfs/go-mfs v0.1.2/go.mod h1:T1QBiZPEpkPLzDqEJLNnbK55BVKVlNi2a+gVm4diFo0= github.com/ipfs/go-path v0.0.7/go.mod h1:6KTKmeRnBXgqrTvzFrPV3CamxcgvXX/4z79tfAd2Sno= -github.com/ipfs/go-path v0.0.10-0.20210324191207-6a600cd3f256/go.mod h1:QHYtDmpHe3xD5RQSkoco+BM7Vv0sg/tLHWv000t60sw= +github.com/ipfs/go-path v0.0.10-0.20210405201800-40f1060226f7/go.mod h1:g8egwymo/MjfPUu/ojghk4YQKwjn6MGO+UUv4eUw08M= github.com/ipfs/go-path v0.0.10-0.20210421213242-802a897dfcd8 h1:YT89FH52ynHRCZJIM95z+/4fz0rQ7nFPFLRufOzm9AE= github.com/ipfs/go-path v0.0.10-0.20210421213242-802a897dfcd8/go.mod h1:YMCaFyukoM1bSaPm1eL9Q6IPr0z4WytNeVKlBSm8a0c= github.com/ipfs/go-peertaskqueue v0.0.4/go.mod h1:03H8fhyeMfKNFWqzYEVyMbcPUeYrqP1MX6Kd+aN+rMQ= @@ -496,16 +497,14 @@ github.com/ipfs/go-pinning-service-http-client v0.1.0/go.mod h1:tcCKmlkWWH9JUUkK github.com/ipfs/go-unixfs v0.1.0/go.mod h1:lysk5ELhOso8+Fed9U1QTGey2ocsfaZ18h0NCO2Fj9s= github.com/ipfs/go-unixfs v0.2.4 h1:6NwppOXefWIyysZ4LR/qUBPvXd5//8J3jiMdvpbw6Lo= github.com/ipfs/go-unixfs v0.2.4/go.mod h1:SUdisfUjNoSDzzhGVxvCL9QO/nKdwXdr+gbMUdqcbYw= -github.com/ipfs/go-unixfsnode v1.0.0/go.mod h1:xmhbd5wPvHYzJAGVJFJ4Oi+U5NGEiax0TatZLOq2imk= +github.com/ipfs/go-unixfsnode v1.0.1-0.20210402214142-de45652f269f/go.mod h1:Xk4qvd3Nb8H31OJapZrLDAE4aBNmKUCvAzypIUZ3ACQ= github.com/ipfs/go-unixfsnode v1.1.1 h1:YjYe5nQgkloOVlyRUumVGke7ngRFRZmtbI866YkTUgM= github.com/ipfs/go-unixfsnode v1.1.1/go.mod h1:Xk4qvd3Nb8H31OJapZrLDAE4aBNmKUCvAzypIUZ3ACQ= github.com/ipfs/go-verifcid v0.0.1 h1:m2HI7zIuR5TFyQ1b79Da5N9dnnCP1vcu2QqawmWlK2E= github.com/ipfs/go-verifcid v0.0.1/go.mod h1:5Hrva5KBeIog4A+UpqlaIU+DEstipcJYQQZc0g37pY0= github.com/ipfs/interface-go-ipfs-core v0.4.0/go.mod h1:UJBcU6iNennuI05amq3FQ7g0JHUkibHFAfhfUIy927o= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405191608-cfc1d17466f4 h1:+7FVaqFCwhHAr5SMI1EoM4XA2+qKbHf4llNAUd6FjfI= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405191608-cfc1d17466f4/go.mod h1:lP0qUmSsahKLQT3JcjfDnOlT89VUU5L4bi0/8ARH5Fw= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405202020-ca57b3c9337b h1:IxxQF7840h6jcR5JdLsBlzgCUs/EzaQj4t+yO8ZJv0s= -github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210405202020-ca57b3c9337b/go.mod h1:uI4Dq/srB5Ecylh+4oYn7iiSgp1gluu/2KVv9OsQlP0= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210410030100-56c2e678cb62 h1:PJ5gH7jjJtQ8OT+iACcolpMnvhCpfRtpegWfMF785uk= +github.com/ipfs/interface-go-ipfs-core v0.4.1-0.20210410030100-56c2e678cb62/go.mod h1:leFsW1rX9F7+0N9Tss2kR82w9oafDmczBdE8z4VWGRo= github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f h1:417+6v+keLsNoVi2vPJamDsW/ewuAs2uE3hlFt5muGs= github.com/ipld/go-car v0.2.1-0.20210312021557-7afab98d034f/go.mod h1:kHunAcD305JwLqwI9MfKvuQu4ljwWRZQWfDWPrkkhcg= github.com/ipld/go-codec-dagpb v1.0.2-0.20210308154810-d05d02fa186e/go.mod h1:oYexiw3WkBIVD5UTNkVuOd0iyEcLxqytAQa90F3nH9M=