diff --git a/blockstore/autobatch.go b/blockstore/autobatch.go index 01cee27721b..90f4ad071e1 100644 --- a/blockstore/autobatch.go +++ b/blockstore/autobatch.go @@ -7,6 +7,7 @@ import ( block "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" "golang.org/x/xerrors" ) @@ -175,7 +176,7 @@ func (bs *AutobatchBlockstore) Get(ctx context.Context, c cid.Cid) (block.Block, return blk, nil } - if err != ErrNotFound { + if !ipld.IsNotFound(err) { return blk, err } @@ -213,7 +214,7 @@ func (bs *AutobatchBlockstore) Has(ctx context.Context, c cid.Cid) (bool, error) if err == nil { return true, nil } - if err == ErrNotFound { + if ipld.IsNotFound(err) { return false, nil } diff --git a/blockstore/badger/blockstore.go b/blockstore/badger/blockstore.go index 51a2b1591d5..050ed6d3b1d 100644 --- a/blockstore/badger/blockstore.go +++ b/blockstore/badger/blockstore.go @@ -15,6 +15,7 @@ import ( "github.com/dgraph-io/badger/v2/pb" blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" logger "github.com/ipfs/go-log/v2" pool "github.com/libp2p/go-buffer-pool" "github.com/multiformats/go-base32" @@ -543,7 +544,7 @@ func (b *Blockstore) View(ctx context.Context, cid cid.Cid, fn func([]byte) erro case nil: return item.Value(fn) case badger.ErrKeyNotFound: - return blockstore.ErrNotFound + return ipld.ErrNotFound{Cid: cid} default: return fmt.Errorf("failed to view block from badger blockstore: %w", err) } @@ -583,7 +584,7 @@ func (b *Blockstore) Has(ctx context.Context, cid cid.Cid) (bool, error) { // Get implements Blockstore.Get. func (b *Blockstore) Get(ctx context.Context, cid cid.Cid) (blocks.Block, error) { if !cid.Defined() { - return nil, blockstore.ErrNotFound + return nil, ipld.ErrNotFound{Cid: cid} } if err := b.access(); err != nil { @@ -606,7 +607,7 @@ func (b *Blockstore) Get(ctx context.Context, cid cid.Cid) (blocks.Block, error) val, err = item.ValueCopy(nil) return err case badger.ErrKeyNotFound: - return blockstore.ErrNotFound + return ipld.ErrNotFound{Cid: cid} default: return fmt.Errorf("failed to get block from badger blockstore: %w", err) } @@ -638,7 +639,7 @@ func (b *Blockstore) GetSize(ctx context.Context, cid cid.Cid) (int, error) { case nil: size = int(item.ValueSize()) case badger.ErrKeyNotFound: - return blockstore.ErrNotFound + return ipld.ErrNotFound{Cid: cid} default: return fmt.Errorf("failed to get block size from badger blockstore: %w", err) } diff --git a/blockstore/badger/blockstore_test_suite.go b/blockstore/badger/blockstore_test_suite.go index fc947f5d6d3..8ca2a76cce9 100644 --- a/blockstore/badger/blockstore_test_suite.go +++ b/blockstore/badger/blockstore_test_suite.go @@ -12,6 +12,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" u "github.com/ipfs/go-ipfs-util" + ipld "github.com/ipfs/go-ipld-format" "github.com/stretchr/testify/require" "github.com/filecoin-project/lotus/blockstore" @@ -55,7 +56,7 @@ func (s *Suite) TestGetWhenKeyNotPresent(t *testing.T) { c := cid.NewCidV0(u.Hash([]byte("stuff"))) bl, err := bs.Get(ctx, c) require.Nil(t, bl) - require.Equal(t, blockstore.ErrNotFound, err) + require.Equal(t, ipld.ErrNotFound{Cid: c}, err) } func (s *Suite) TestGetWhenKeyIsNil(t *testing.T) { @@ -68,7 +69,7 @@ func (s *Suite) TestGetWhenKeyIsNil(t *testing.T) { } _, err := bs.Get(ctx, cid.Undef) - require.Equal(t, blockstore.ErrNotFound, err) + require.Equal(t, ipld.ErrNotFound{Cid: cid.Undef}, err) } func (s *Suite) TestPutThenGetBlock(t *testing.T) { @@ -163,8 +164,9 @@ func (s *Suite) TestPutThenGetSizeBlock(t *testing.T) { require.NoError(t, err) require.Zero(t, emptySize) - missingSize, err := bs.GetSize(ctx, missingBlock.Cid()) - require.Equal(t, blockstore.ErrNotFound, err) + missingCid := missingBlock.Cid() + missingSize, err := bs.GetSize(ctx, missingCid) + require.Equal(t, ipld.ErrNotFound{Cid: missingCid}, err) require.Equal(t, -1, missingSize) } diff --git a/blockstore/blockstore.go b/blockstore/blockstore.go index 7c3deadb869..f2fb00e8a5a 100644 --- a/blockstore/blockstore.go +++ b/blockstore/blockstore.go @@ -11,8 +11,6 @@ import ( var log = logging.Logger("blockstore") -var ErrNotFound = blockstore.ErrNotFound - // Blockstore is the blockstore interface used by Lotus. It is the union // of the basic go-ipfs blockstore, with other capabilities required by Lotus, // e.g. View or Sync. diff --git a/blockstore/buffered.go b/blockstore/buffered.go index 8e23b5362b0..dbee095a211 100644 --- a/blockstore/buffered.go +++ b/blockstore/buffered.go @@ -6,6 +6,7 @@ import ( block "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" ) // buflog is a logger for the buffered blockstore. It is subscoped from the @@ -106,7 +107,7 @@ func (bs *BufferedBlockstore) DeleteMany(ctx context.Context, cids []cid.Cid) er func (bs *BufferedBlockstore) View(ctx context.Context, c cid.Cid, callback func([]byte) error) error { // both stores are viewable. - if err := bs.write.View(ctx, c, callback); err == ErrNotFound { + if err := bs.write.View(ctx, c, callback); ipld.IsNotFound(err) { // not found in write blockstore; fall through. } else { return err // propagate errors, or nil, i.e. found. @@ -116,7 +117,7 @@ func (bs *BufferedBlockstore) View(ctx context.Context, c cid.Cid, callback func func (bs *BufferedBlockstore) Get(ctx context.Context, c cid.Cid) (block.Block, error) { if out, err := bs.write.Get(ctx, c); err != nil { - if err != ErrNotFound { + if !ipld.IsNotFound(err) { return nil, err } } else { @@ -128,7 +129,7 @@ func (bs *BufferedBlockstore) Get(ctx context.Context, c cid.Cid) (block.Block, func (bs *BufferedBlockstore) GetSize(ctx context.Context, c cid.Cid) (int, error) { s, err := bs.read.GetSize(ctx, c) - if err == ErrNotFound || s == 0 { + if ipld.IsNotFound(err) || s == 0 { return bs.write.GetSize(ctx, c) } diff --git a/blockstore/fallback.go b/blockstore/fallback.go index 2cba8a3f729..de948b34600 100644 --- a/blockstore/fallback.go +++ b/blockstore/fallback.go @@ -7,6 +7,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" "golang.org/x/xerrors" ) @@ -55,7 +56,7 @@ func (fbs *FallbackStore) getFallback(c cid.Cid) (blocks.Block, error) { if fbs.missFn == nil { log.Errorw("fallbackstore: missFn not configured yet") - return nil, ErrNotFound + return nil, ipld.ErrNotFound{Cid: c} } } @@ -78,10 +79,10 @@ func (fbs *FallbackStore) getFallback(c cid.Cid) (blocks.Block, error) { func (fbs *FallbackStore) Get(ctx context.Context, c cid.Cid) (blocks.Block, error) { b, err := fbs.Blockstore.Get(ctx, c) - switch err { - case nil: + switch { + case err == nil: return b, nil - case ErrNotFound: + case ipld.IsNotFound(err): return fbs.getFallback(c) default: return b, err @@ -90,10 +91,10 @@ func (fbs *FallbackStore) Get(ctx context.Context, c cid.Cid) (blocks.Block, err func (fbs *FallbackStore) GetSize(ctx context.Context, c cid.Cid) (int, error) { sz, err := fbs.Blockstore.GetSize(ctx, c) - switch err { - case nil: + switch { + case err == nil: return sz, nil - case ErrNotFound: + case ipld.IsNotFound(err): b, err := fbs.getFallback(c) if err != nil { return 0, err diff --git a/blockstore/ipfs.go b/blockstore/ipfs.go index 9ca5e7e0cfd..41c2b871003 100644 --- a/blockstore/ipfs.go +++ b/blockstore/ipfs.go @@ -128,7 +128,7 @@ func (i *IPFSBlockstore) Put(ctx context.Context, block blocks.Block) error { _, err = i.api.Block().Put(ctx, bytes.NewReader(block.RawData()), options.Block.Hash(mhd.Code, mhd.Length), - options.Block.Format(cid.CodecToStr[block.Cid().Type()])) + options.Block.Format(multihash.Codes[block.Cid().Type()])) return err } diff --git a/blockstore/mem.go b/blockstore/mem.go index d6b14f00247..c98db3e7241 100644 --- a/blockstore/mem.go +++ b/blockstore/mem.go @@ -5,6 +5,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" ) // NewMemory returns a temporary memory-backed blockstore. @@ -35,7 +36,7 @@ func (m MemBlockstore) Has(ctx context.Context, k cid.Cid) (bool, error) { func (m MemBlockstore) View(ctx context.Context, k cid.Cid, callback func([]byte) error) error { b, ok := m[k] if !ok { - return ErrNotFound + return ipld.ErrNotFound{Cid: k} } return callback(b.RawData()) } @@ -43,7 +44,7 @@ func (m MemBlockstore) View(ctx context.Context, k cid.Cid, callback func([]byte func (m MemBlockstore) Get(ctx context.Context, k cid.Cid) (blocks.Block, error) { b, ok := m[k] if !ok { - return nil, ErrNotFound + return nil, ipld.ErrNotFound{Cid: k} } return b, nil } @@ -52,7 +53,7 @@ func (m MemBlockstore) Get(ctx context.Context, k cid.Cid) (blocks.Block, error) func (m MemBlockstore) GetSize(ctx context.Context, k cid.Cid) (int, error) { b, ok := m[k] if !ok { - return 0, ErrNotFound + return 0, ipld.ErrNotFound{Cid: k} } return len(b.RawData()), nil } diff --git a/blockstore/splitstore/splitstore.go b/blockstore/splitstore/splitstore.go index 45d7720e0a5..3b633babe02 100644 --- a/blockstore/splitstore/splitstore.go +++ b/blockstore/splitstore/splitstore.go @@ -11,6 +11,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" dstore "github.com/ipfs/go-datastore" + ipld "github.com/ipfs/go-ipld-format" logging "github.com/ipfs/go-log/v2" "go.opencensus.io/stats" "go.uber.org/multierr" @@ -312,12 +313,12 @@ func (s *SplitStore) Get(ctx context.Context, cid cid.Cid) (blocks.Block, error) blk, err := s.hot.Get(ctx, cid) - switch err { - case nil: + switch { + case err == nil: s.trackTxnRef(cid) return blk, nil - case bstore.ErrNotFound: + case ipld.IsNotFound(err): if s.isWarm() { s.debug.LogReadMiss(cid) } @@ -366,12 +367,12 @@ func (s *SplitStore) GetSize(ctx context.Context, cid cid.Cid) (int, error) { size, err := s.hot.GetSize(ctx, cid) - switch err { - case nil: + switch { + case err == nil: s.trackTxnRef(cid) return size, nil - case bstore.ErrNotFound: + case ipld.IsNotFound(err): if s.isWarm() { s.debug.LogReadMiss(cid) } @@ -551,8 +552,7 @@ func (s *SplitStore) View(ctx context.Context, cid cid.Cid, cb func([]byte) erro defer s.viewDone() err := s.hot.View(ctx, cid, cb) - switch err { - case bstore.ErrNotFound: + if ipld.IsNotFound(err) { if s.isWarm() { s.debug.LogReadMiss(cid) } @@ -566,10 +566,8 @@ func (s *SplitStore) View(ctx context.Context, cid cid.Cid, cb func([]byte) erro stats.Record(s.ctx, metrics.SplitstoreMiss.M(1)) } return err - - default: - return err } + return err } func (s *SplitStore) isWarm() bool { diff --git a/blockstore/splitstore/splitstore_compact.go b/blockstore/splitstore/splitstore_compact.go index 25dbd65f4f8..b5b2450cfc9 100644 --- a/blockstore/splitstore/splitstore_compact.go +++ b/blockstore/splitstore/splitstore_compact.go @@ -12,6 +12,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" cbg "github.com/whyrusleeping/cbor-gen" "go.opencensus.io/stats" "golang.org/x/sync/errgroup" @@ -19,7 +20,6 @@ import ( "github.com/filecoin-project/go-state-types/abi" - bstore "github.com/filecoin-project/lotus/blockstore" "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/metrics" @@ -1064,13 +1064,10 @@ func (s *SplitStore) view(c cid.Cid, cb func([]byte) error) error { } err := s.hot.View(s.ctx, c, cb) - switch err { - case bstore.ErrNotFound: + if ipld.IsNotFound(err) { return s.cold.View(s.ctx, c, cb) - - default: - return err } + return err } func (s *SplitStore) has(c cid.Cid) (bool, error) { @@ -1089,10 +1086,10 @@ func (s *SplitStore) has(c cid.Cid) (bool, error) { func (s *SplitStore) get(c cid.Cid) (blocks.Block, error) { blk, err := s.hot.Get(s.ctx, c) - switch err { - case nil: + switch { + case err == nil: return blk, nil - case bstore.ErrNotFound: + case ipld.IsNotFound(err): return s.cold.Get(s.ctx, c) default: return nil, err @@ -1101,10 +1098,10 @@ func (s *SplitStore) get(c cid.Cid) (blocks.Block, error) { func (s *SplitStore) getSize(c cid.Cid) (int, error) { sz, err := s.hot.GetSize(s.ctx, c) - switch err { - case nil: + switch { + case err == nil: return sz, nil - case bstore.ErrNotFound: + case ipld.IsNotFound(err): return s.cold.GetSize(s.ctx, c) default: return 0, err @@ -1121,7 +1118,7 @@ func (s *SplitStore) moveColdBlocks(coldr *ColdSetReader) error { blk, err := s.hot.Get(s.ctx, c) if err != nil { - if err == bstore.ErrNotFound { + if ipld.IsNotFound(err) { log.Warnf("hotstore missing block %s", c) return nil } diff --git a/blockstore/splitstore/splitstore_expose.go b/blockstore/splitstore/splitstore_expose.go index 7cef66b11de..11e0ba93b6b 100644 --- a/blockstore/splitstore/splitstore_expose.go +++ b/blockstore/splitstore/splitstore_expose.go @@ -6,6 +6,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" bstore "github.com/filecoin-project/lotus/blockstore" ) @@ -52,12 +53,10 @@ func (es *exposedSplitStore) Get(ctx context.Context, c cid.Cid) (blocks.Block, } blk, err := es.s.hot.Get(ctx, c) - switch err { - case bstore.ErrNotFound: + if ipld.IsNotFound(err) { return es.s.cold.Get(ctx, c) - default: - return blk, err } + return blk, err } func (es *exposedSplitStore) GetSize(ctx context.Context, c cid.Cid) (int, error) { @@ -71,12 +70,10 @@ func (es *exposedSplitStore) GetSize(ctx context.Context, c cid.Cid) (int, error } size, err := es.s.hot.GetSize(ctx, c) - switch err { - case bstore.ErrNotFound: + if ipld.IsNotFound(err) { return es.s.cold.GetSize(ctx, c) - default: - return size, err } + return size, err } func (es *exposedSplitStore) Put(ctx context.Context, blk blocks.Block) error { @@ -104,11 +101,9 @@ func (es *exposedSplitStore) View(ctx context.Context, c cid.Cid, f func([]byte) } err := es.s.hot.View(ctx, c, f) - switch err { - case bstore.ErrNotFound: + if ipld.IsNotFound(err) { return es.s.cold.View(ctx, c, f) - - default: - return err } + + return err } diff --git a/blockstore/splitstore/splitstore_test.go b/blockstore/splitstore/splitstore_test.go index 8d210f9ed18..bb8db193ab4 100644 --- a/blockstore/splitstore/splitstore_test.go +++ b/blockstore/splitstore/splitstore_test.go @@ -15,6 +15,7 @@ import ( "github.com/ipfs/go-cid" "github.com/ipfs/go-datastore" dssync "github.com/ipfs/go-datastore/sync" + ipld "github.com/ipfs/go-ipld-format" logging "github.com/ipfs/go-log/v2" mh "github.com/multiformats/go-multihash" @@ -697,7 +698,7 @@ func (b *mockStore) Get(_ context.Context, cid cid.Cid) (blocks.Block, error) { blk, ok := b.set[b.keyOf(cid)] if !ok { - return nil, blockstore.ErrNotFound + return nil, ipld.ErrNotFound{Cid: cid} } return blk, nil } diff --git a/blockstore/splitstore/splitstore_warmup.go b/blockstore/splitstore/splitstore_warmup.go index a496f335fae..a75cf163739 100644 --- a/blockstore/splitstore/splitstore_warmup.go +++ b/blockstore/splitstore/splitstore_warmup.go @@ -7,11 +7,11 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" "golang.org/x/xerrors" "github.com/filecoin-project/go-state-types/abi" - bstore "github.com/filecoin-project/lotus/blockstore" "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/chain/types" ) @@ -88,7 +88,7 @@ func (s *SplitStore) doWarmup(curTs *types.TipSet) error { blk, err := s.cold.Get(s.ctx, c) if err != nil { - if err == bstore.ErrNotFound { + if ipld.IsNotFound(err) { atomic.AddInt64(missing, 1) return errStopWalk } diff --git a/blockstore/timed.go b/blockstore/timed.go index 8f226b0b198..eb1a465afe5 100644 --- a/blockstore/timed.go +++ b/blockstore/timed.go @@ -8,6 +8,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" "github.com/raulk/clock" "go.uber.org/multierr" ) @@ -112,7 +113,7 @@ func (t *TimedCacheBlockstore) View(ctx context.Context, k cid.Cid, callback fun // calling an arbitrary callback while holding a lock. t.mu.RLock() block, err := t.active.Get(ctx, k) - if err == ErrNotFound { + if ipld.IsNotFound(err) { block, err = t.inactive.Get(ctx, k) } t.mu.RUnlock() @@ -127,7 +128,7 @@ func (t *TimedCacheBlockstore) Get(ctx context.Context, k cid.Cid) (blocks.Block t.mu.RLock() defer t.mu.RUnlock() b, err := t.active.Get(ctx, k) - if err == ErrNotFound { + if ipld.IsNotFound(err) { b, err = t.inactive.Get(ctx, k) } return b, err @@ -137,7 +138,7 @@ func (t *TimedCacheBlockstore) GetSize(ctx context.Context, k cid.Cid) (int, err t.mu.RLock() defer t.mu.RUnlock() size, err := t.active.GetSize(ctx, k) - if err == ErrNotFound { + if ipld.IsNotFound(err) { size, err = t.inactive.GetSize(ctx, k) } return size, err diff --git a/blockstore/union.go b/blockstore/union.go index f54a86590a1..c0ad91262f4 100644 --- a/blockstore/union.go +++ b/blockstore/union.go @@ -5,6 +5,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" + ipld "github.com/ipfs/go-ipld-format" ) type unionBlockstore []Blockstore @@ -13,7 +14,7 @@ type unionBlockstore []Blockstore // // * Reads return from the first blockstore that has the value, querying in the // supplied order. -// * Writes (puts and deltes) are broadcast to all stores. +// * Writes (puts and deletes) are broadcast to all stores. // func Union(stores ...Blockstore) Blockstore { return unionBlockstore(stores) @@ -30,7 +31,7 @@ func (m unionBlockstore) Has(ctx context.Context, cid cid.Cid) (has bool, err er func (m unionBlockstore) Get(ctx context.Context, cid cid.Cid) (blk blocks.Block, err error) { for _, bs := range m { - if blk, err = bs.Get(ctx, cid); err == nil || err != ErrNotFound { + if blk, err = bs.Get(ctx, cid); err == nil || !ipld.IsNotFound(err) { break } } @@ -39,7 +40,7 @@ func (m unionBlockstore) Get(ctx context.Context, cid cid.Cid) (blk blocks.Block func (m unionBlockstore) View(ctx context.Context, cid cid.Cid, callback func([]byte) error) (err error) { for _, bs := range m { - if err = bs.View(ctx, cid, callback); err == nil || err != ErrNotFound { + if err = bs.View(ctx, cid, callback); err == nil || !ipld.IsNotFound(err) { break } } @@ -48,7 +49,7 @@ func (m unionBlockstore) View(ctx context.Context, cid cid.Cid, callback func([] func (m unionBlockstore) GetSize(ctx context.Context, cid cid.Cid) (size int, err error) { for _, bs := range m { - if size, err = bs.GetSize(ctx, cid); err == nil || err != ErrNotFound { + if size, err = bs.GetSize(ctx, cid); err == nil || !ipld.IsNotFound(err) { break } } diff --git a/chain/store/messages.go b/chain/store/messages.go index 30bb8048715..5e2880c4a31 100644 --- a/chain/store/messages.go +++ b/chain/store/messages.go @@ -6,6 +6,7 @@ import ( block "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" cbor "github.com/ipfs/go-ipld-cbor" + ipld "github.com/ipfs/go-ipld-format" cbg "github.com/whyrusleeping/cbor-gen" "golang.org/x/xerrors" @@ -44,7 +45,7 @@ func (cs *ChainStore) GetCMessage(ctx context.Context, c cid.Cid) (types.ChainMs if err == nil { return m, nil } - if err != bstore.ErrNotFound { + if !ipld.IsNotFound(err) { log.Warnf("GetCMessage: unexpected error getting unsigned message: %s", err) } diff --git a/chain/sync.go b/chain/sync.go index 0ac998ab378..cafbd48150c 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -14,6 +14,7 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" cbor "github.com/ipfs/go-ipld-cbor" + ipld "github.com/ipfs/go-ipld-format" logging "github.com/ipfs/go-log/v2" "github.com/libp2p/go-libp2p-core/connmgr" "github.com/libp2p/go-libp2p-core/peer" @@ -763,7 +764,7 @@ loop: at = ts.Parents() continue } - if !xerrors.Is(err, bstore.ErrNotFound) { + if !ipld.IsNotFound(err) { log.Warnf("loading local tipset: %s", err) } diff --git a/cmd/lotus-shed/export.go b/cmd/lotus-shed/export.go index 57a9fd3ef58..8de3f48df23 100644 --- a/cmd/lotus-shed/export.go +++ b/cmd/lotus-shed/export.go @@ -19,6 +19,7 @@ import ( "github.com/ipfs/go-blockservice" "github.com/ipfs/go-cid" offline "github.com/ipfs/go-ipfs-exchange-offline" + ipld "github.com/ipfs/go-ipld-format" "github.com/ipfs/go-merkledag" "github.com/ipld/go-car" "github.com/multiformats/go-base32" @@ -355,7 +356,7 @@ func (rc *rawCarb) Has(ctx context.Context, c cid.Cid) (bool, error) { func (rc *rawCarb) Get(ctx context.Context, c cid.Cid) (block.Block, error) { b, has := rc.blocks[c] if !has { - return nil, blockstore.ErrNotFound + return nil, ipld.ErrNotFound{Cid: c} } return b, nil } @@ -363,7 +364,7 @@ func (rc *rawCarb) Get(ctx context.Context, c cid.Cid) (block.Block, error) { func (rc *rawCarb) GetSize(ctx context.Context, c cid.Cid) (int, error) { b, has := rc.blocks[c] if !has { - return 0, blockstore.ErrNotFound + return 0, ipld.ErrNotFound{Cid: c} } return len(b.RawData()), nil } diff --git a/documentation/en/cli-lotus-miner.md b/documentation/en/cli-lotus-miner.md index b19b1c7db50..bf75b106522 100644 --- a/documentation/en/cli-lotus-miner.md +++ b/documentation/en/cli-lotus-miner.md @@ -43,13 +43,14 @@ COMMANDS: GLOBAL OPTIONS: --actor value, -a value specify other actor to query / manipulate - --color use color in display output (default: depends on output being a TTY) - --miner-repo value, --storagerepo value Specify miner repo path. flag(storagerepo) and env(LOTUS_STORAGE_PATH) are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH] - --markets-repo value Markets repo path [$LOTUS_MARKETS_PATH] --call-on-markets (experimental; may be removed) call this command against a markets node; use only with common commands like net, auth, pprof, etc. whose target may be ambiguous (default: false) - --vv enables very verbose mode, useful for debugging the CLI (default: false) + --color use color in display output (default: depends on output being a TTY) --help, -h show help (default: false) + --markets-repo value Markets repo path [$LOTUS_MARKETS_PATH] + --miner-repo value, --storagerepo value Specify miner repo path. flag(storagerepo) and env(LOTUS_STORAGE_PATH) are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH] --version, -v print the version (default: false) + --vv enables very verbose mode, useful for debugging the CLI (default: false) + ``` ## lotus-miner init @@ -71,7 +72,7 @@ OPTIONS: --worker value, -w value worker key to use (overrides --create-worker-key) --owner value, -o value owner key to use --sector-size value specify sector size to use (default: "32GiB") - --pre-sealed-sectors value specify set of presealed sectors for starting as a genesis miner + --pre-sealed-sectors value specify set of presealed sectors for starting as a genesis miner (accepts multiple inputs) --pre-sealed-metadata value specify the metadata file for the presealed sectors --nosync don't check full-node sync status (default: false) --symlink-imported-sectors attempt to symlink to presealed sectors instead of copying them into place (default: false) @@ -91,10 +92,9 @@ USAGE: lotus-miner init restore [command options] [backupFile] OPTIONS: - --nosync don't check full-node sync status (default: false) --config value config file (config.toml) + --nosync don't check full-node sync status (default: false) --storage-config value storage paths config (storage.json) - --help, -h show help (default: false) ``` @@ -107,12 +107,11 @@ USAGE: lotus-miner init service [command options] [backupFile] OPTIONS: - --config value config file (config.toml) - --nosync don't check full-node sync status (default: false) - --type value type of service to be enabled --api-sealer value sealer API info (lotus-miner auth api-info --perm=admin) --api-sector-index value sector Index API info (lotus-miner auth api-info --perm=admin) - --help, -h show help (default: false) + --config value config file (config.toml) + --nosync don't check full-node sync status (default: false) + --type value type of service to be enabled (accepts multiple inputs) ``` @@ -125,11 +124,10 @@ USAGE: lotus-miner run [command options] [arguments...] OPTIONS: - --miner-api value 2345 --enable-gpu-proving enable use of GPU for mining operations (default: true) - --nosync don't check full-node sync status (default: false) --manage-fdlimit manage open file limit (default: true) - --help, -h show help (default: false) + --miner-api value 2345 + --nosync don't check full-node sync status (default: false) ``` @@ -174,7 +172,6 @@ USAGE: OPTIONS: --no-comment don't comment default values (default: false) - --help, -h show help (default: false) ``` @@ -188,7 +185,6 @@ USAGE: OPTIONS: --no-comment don't comment default values (default: false) - --help, -h show help (default: false) ``` @@ -209,8 +205,7 @@ DESCRIPTION: this command must be within this base path OPTIONS: - --offline create backup without the node running (default: false) - --help, -h show help (default: false) + --offline create backup without the node running (default: false) ``` @@ -266,7 +261,6 @@ USAGE: OPTIONS: --confidence value number of block confirmations to wait for (default: 5) - --help, -h show help (default: false) ``` @@ -280,7 +274,6 @@ USAGE: OPTIONS: --from value optionally specify the account to send funds from - --help, -h show help (default: false) ``` @@ -294,7 +287,6 @@ USAGE: OPTIONS: --gas-limit value set gas limit (default: 0) - --help, -h show help (default: false) ``` @@ -308,7 +300,6 @@ USAGE: OPTIONS: --really-do-it Actually send transaction performing the action (default: false) - --help, -h show help (default: false) ``` @@ -339,9 +330,8 @@ USAGE: lotus-miner actor control list [command options] [arguments...] OPTIONS: - --verbose (default: false) - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) + --verbose (default: false) ``` @@ -355,7 +345,6 @@ USAGE: OPTIONS: --really-do-it Actually send transaction performing the action (default: false) - --help, -h show help (default: false) ``` @@ -369,7 +358,6 @@ USAGE: OPTIONS: --really-do-it Actually send transaction performing the action (default: false) - --help, -h show help (default: false) ``` @@ -383,7 +371,6 @@ USAGE: OPTIONS: --really-do-it Actually send transaction performing the action (default: false) - --help, -h show help (default: false) ``` @@ -399,7 +386,6 @@ OPTIONS: --mask-last-offset value Mask sector IDs from 0 to 'higest_allocated - offset' (default: 0) --mask-upto-n value Mask sector IDs from 0 to 'n' (default: 0) --really-do-it Actually send transaction performing the action (default: false) - --help, -h show help (default: false) ``` @@ -463,7 +449,6 @@ USAGE: OPTIONS: --perm value permission to assign to the token, one of: read, write, sign, admin - --help, -h show help (default: false) ``` @@ -477,7 +462,6 @@ USAGE: OPTIONS: --perm value permission to assign to the token, one of: read, write, sign, admin - --help, -h show help (default: false) ``` @@ -541,8 +525,7 @@ DESCRIPTION: GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr OPTIONS: - --system value limit to log system - --help, -h show help (default: false) + --system value limit to log system (accepts multiple inputs) ``` @@ -555,8 +538,7 @@ USAGE: lotus-miner log alerts [command options] [arguments...] OPTIONS: - --all get all (active and inactive) alerts (default: false) - --help, -h show help (default: false) + --all get all (active and inactive) alerts (default: false) ``` @@ -573,7 +555,6 @@ CATEGORY: OPTIONS: --timeout value duration to wait till fail (default: 30s) - --help, -h show help (default: false) ``` @@ -645,7 +626,6 @@ OPTIONS: --format value output format of data, supported: table, json (default: "table") --verbose, -v (default: false) --watch watch deal updates in real-time, rather than a one time list (default: false) - --help, -h show help (default: false) ``` @@ -703,11 +683,10 @@ USAGE: lotus-miner storage-deals selection reject [command options] [arguments...] OPTIONS: - --online (default: false) --offline (default: false) - --verified (default: false) + --online (default: false) --unverified (default: false) - --help, -h show help (default: false) + --verified (default: false) ``` @@ -720,11 +699,10 @@ USAGE: lotus-miner storage-deals set-ask [command options] [arguments...] OPTIONS: + --max-piece-size SIZE Set maximum piece size (w/bit-padding, in bytes) in ask to SIZE (default: miner sector size) + --min-piece-size SIZE Set minimum piece size (w/bit-padding, in bytes) in ask to SIZE (default: 256B) --price PRICE Set the price of the ask for unverified deals (specified as FIL / GiB / Epoch) to PRICE. --verified-price PRICE Set the price of the ask for verified deals (specified as FIL / GiB / Epoch) to PRICE - --min-piece-size SIZE Set minimum piece size (w/bit-padding, in bytes) in ask to SIZE (default: 256B) - --max-piece-size SIZE Set maximum piece size (w/bit-padding, in bytes) in ask to SIZE (default: miner sector size) - --help, -h show help (default: false) ``` @@ -763,7 +741,6 @@ USAGE: lotus-miner storage-deals get-blocklist [command options] [arguments...] OPTIONS: - --help, -h show help (default: false) ``` @@ -803,7 +780,6 @@ USAGE: OPTIONS: --publish-now send a publish message now (default: false) - --help, -h show help (default: false) ``` @@ -894,9 +870,8 @@ USAGE: lotus-miner retrieval-deals selection reject [command options] [arguments...] OPTIONS: - --online (default: false) - --offline (default: false) - --help, -h show help (default: false) + --offline (default: false) + --online (default: false) ``` @@ -922,11 +897,10 @@ USAGE: lotus-miner retrieval-deals set-ask [command options] [arguments...] OPTIONS: - --price value Set the price of the ask for retrievals (FIL/GiB) - --unseal-price value Set the price to unseal --payment-interval value Set the payment interval (in bytes) for retrieval (default: 1MiB) --payment-interval-increase value Set the payment interval increase (in bytes) for retrieval (default: 1MiB) - --help, -h show help (default: false) + --price value Set the price of the ask for retrievals (FIL/GiB) + --unseal-price value Set the price to unseal ``` @@ -972,12 +946,11 @@ USAGE: lotus-miner data-transfers list [command options] [arguments...] OPTIONS: - --verbose, -v print verbose transfer details (default: false) --color use color in display output (default: depends on output being a TTY) --completed show completed data transfers (default: false) - --watch watch deal updates in real-time, rather than a one time list (default: false) --show-failed show failed/cancelled transfers (default: false) - --help, -h show help (default: false) + --verbose, -v print verbose transfer details (default: false) + --watch watch deal updates in real-time, rather than a one time list (default: false) ``` @@ -990,9 +963,8 @@ USAGE: lotus-miner data-transfers restart [command options] [arguments...] OPTIONS: - --peerid value narrow to transfer with specific peer --initiator specify only transfers where peer is/is not initiator (default: false) - --help, -h show help (default: false) + --peerid value narrow to transfer with specific peer ``` @@ -1005,10 +977,9 @@ USAGE: lotus-miner data-transfers cancel [command options] [arguments...] OPTIONS: - --peerid value narrow to transfer with specific peer - --initiator specify only transfers where peer is/is not initiator (default: false) --cancel-timeout value time to wait for cancel to be sent to client (default: 5s) - --help, -h show help (default: false) + --initiator specify only transfers where peer is/is not initiator (default: false) + --peerid value narrow to transfer with specific peer ``` @@ -1057,8 +1028,7 @@ USAGE: lotus-miner dagstore list-shards [command options] [arguments...] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1071,8 +1041,7 @@ USAGE: lotus-miner dagstore register-shard [command options] [key] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1085,8 +1054,7 @@ USAGE: lotus-miner dagstore initialize-shard [command options] [key] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1099,8 +1067,7 @@ USAGE: lotus-miner dagstore recover-shard [command options] [key] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1113,10 +1080,9 @@ USAGE: lotus-miner dagstore initialize-all [command options] [arguments...] OPTIONS: + --color use color in display output (default: depends on output being a TTY) --concurrency value maximum shards to initialize concurrently at a time; use 0 for unlimited (default: 0) --include-sealed initialize sealed pieces as well (default: false) - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) ``` @@ -1129,8 +1095,7 @@ USAGE: lotus-miner dagstore gc [command options] [arguments...] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1143,8 +1108,7 @@ USAGE: lotus-miner dagstore lookup-pieces [command options] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1175,8 +1139,7 @@ USAGE: lotus-miner index announce [command options] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1189,8 +1152,7 @@ USAGE: lotus-miner index announce-all [command options] [arguments...] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -1236,7 +1198,6 @@ USAGE: OPTIONS: --agent, -a Print agent name (default: false) --extended, -x Print extended peer information in json (default: false) - --help, -h show help (default: false) ``` @@ -1251,7 +1212,6 @@ USAGE: OPTIONS: --count value, -c value specify the number of times it should ping (default: 10) --interval value, -i value minimum time between pings (default: 1s) - --help, -h show help (default: false) ``` @@ -1308,7 +1268,6 @@ USAGE: OPTIONS: --extended, -x print extended peer scores in json (default: false) - --help, -h show help (default: false) ``` @@ -1336,7 +1295,6 @@ USAGE: OPTIONS: --by-peer list bandwidth usage by peer (default: false) --by-protocol list bandwidth usage by protocol (default: false) - --help, -h show help (default: false) ``` @@ -1508,8 +1466,7 @@ DESCRIPTION: - all -- reports the resource usage for all currently active scopes. OPTIONS: - --json (default: false) - --help, -h show help (default: false) + --json (default: false) ``` @@ -1534,8 +1491,7 @@ DESCRIPTION: The limit is json-formatted, with the same structure as the limits file. OPTIONS: - --set set the limit for a scope (default: false) - --help, -h show help (default: false) + --set set the limit for a scope (default: false) ``` @@ -1624,7 +1580,6 @@ USAGE: OPTIONS: --verbose, -v (default: false) - --help, -h show help (default: false) ``` @@ -1703,7 +1658,6 @@ OPTIONS: --on-chain-info, -c show sector on chain info (default: false) --partition-info, -p show partition related info (default: false) --proof print snark proof bytes as hex (default: false) - --help, -h show help (default: false) ``` @@ -1716,15 +1670,14 @@ USAGE: lotus-miner sectors list [command options] [arguments...] OPTIONS: - --show-removed, -r show removed sectors (default: false) --color, -c use color in display output (default: depends on output being a TTY) - --fast, -f don't show on-chain info for better performance (default: false) --events, -e display number of events the sector has received (default: false) + --fast, -f don't show on-chain info for better performance (default: false) --initial-pledge, -p display initial pledge (default: false) --seal-time, -t display how long it took for the sector to be sealed (default: false) + --show-removed, -r show removed sectors (default: false) --states value filter sectors by a comma-separated list of states --unproven, -u only show sectors which aren't in the 'Proving' state (default: false) - --help, -h show help (default: false) ``` @@ -1751,7 +1704,6 @@ USAGE: OPTIONS: --really-do-it pass this flag if you know what you are doing (default: false) - --help, -h show help (default: false) ``` @@ -1791,7 +1743,6 @@ USAGE: OPTIONS: --cutoff value skip sectors whose current expiration is more than epochs from now, defaults to 60 days (default: 172800) - --help, -h show help (default: false) ``` @@ -1804,10 +1755,9 @@ USAGE: lotus-miner sectors expired [command options] [arguments...] OPTIONS: - --show-removed show removed sectors (default: false) - --remove-expired remove expired sectors (default: false) --expired-epoch value epoch at which to check sector expirations (default: WinningPoSt lookback epoch) - --help, -h show help (default: false) + --remove-expired remove expired sectors (default: false) + --show-removed show removed sectors (default: false) ``` @@ -1820,16 +1770,15 @@ USAGE: lotus-miner sectors renew [command options] [arguments...] OPTIONS: - --from value only consider sectors whose current expiration epoch is in the range of [from, to], defaults to: now + 120 (1 hour) (default: 0) - --to value only consider sectors whose current expiration epoch is in the range of [from, to], defaults to: now + 92160 (32 days) (default: 0) - --sector-file value provide a file containing one sector number in each line, ignoring above selecting criteria --exclude value optionally provide a file containing excluding sectors --extension value try to extend selected sectors by this number of epochs, defaults to 540 days (default: 1555200) - --new-expiration value try to extend selected sectors to this epoch, ignoring extension (default: 0) - --tolerance value don't try to extend sectors by fewer than this number of epochs, defaults to 7 days (default: 20160) + --from value only consider sectors whose current expiration epoch is in the range of [from, to], defaults to: now + 120 (1 hour) (default: 0) --max-fee value use up to this amount of FIL for one message. pass this flag to avoid message congestion. (default: "0") + --new-expiration value try to extend selected sectors to this epoch, ignoring extension (default: 0) --really-do-it pass this flag to really renew sectors, otherwise will only print out json representation of parameters (default: false) - --help, -h show help (default: false) + --sector-file value provide a file containing one sector number in each line, ignoring above selecting criteria + --to value only consider sectors whose current expiration epoch is in the range of [from, to], defaults to: now + 92160 (32 days) (default: 0) + --tolerance value don't try to extend sectors by fewer than this number of epochs, defaults to 7 days (default: 20160) ``` @@ -1842,13 +1791,12 @@ USAGE: lotus-miner sectors extend [command options] OPTIONS: + + --expiration-cutoff value when extending v1 sectors, skip sectors whose current expiration is more than epochs from now (infinity if unspecified) (default: 0) + --expiration-ignore value when extending v1 sectors, skip sectors whose current expiration is less than epochs from now (default: 120) --new-expiration value new expiration epoch (default: 0) - --v1-sectors renews all v1 sectors up to the maximum possible lifetime (default: false) --tolerance value when extending v1 sectors, don't try to extend sectors by fewer than this number of epochs (default: 20160) - --expiration-ignore value when extending v1 sectors, skip sectors whose current expiration is less than epochs from now (default: 120) - --expiration-cutoff value when extending v1 sectors, skip sectors whose current expiration is more than epochs from now (infinity if unspecified) (default: 0) - - --help, -h show help (default: false) + --v1-sectors renews all v1 sectors up to the maximum possible lifetime (default: false) ``` @@ -1907,7 +1855,6 @@ USAGE: OPTIONS: --really-do-it pass this flag if you know what you are doing (default: false) - --help, -h show help (default: false) ``` @@ -1934,7 +1881,6 @@ USAGE: OPTIONS: --really-do-it pass this flag if you know what you are doing (default: false) - --help, -h show help (default: false) ``` @@ -1974,7 +1920,6 @@ USAGE: OPTIONS: --expiration value the epoch when the sector will expire (default: 0) - --help, -h show help (default: false) ``` @@ -2006,7 +1951,6 @@ USAGE: OPTIONS: --publish-now send a batch now (default: false) - --help, -h show help (default: false) ``` @@ -2020,7 +1964,6 @@ USAGE: OPTIONS: --publish-now send a batch now (default: false) - --help, -h show help (default: false) ``` @@ -2046,11 +1989,10 @@ USAGE: lotus-miner sectors compact-partitions [command options] [arguments...] OPTIONS: + --actor value Specify the address of the miner to run this command --deadline value the deadline to compact the partitions in (default: 0) - --partitions value list of partitions to compact sectors in + --partitions value list of partitions to compact sectors in (accepts multiple inputs) --really-do-it Actually send transaction performing the action (default: false) - --actor value Specify the address of the miner to run this command - --help, -h show help (default: false) ``` @@ -2138,11 +2080,10 @@ USAGE: lotus-miner proving check [command options] OPTIONS: + --faulty only check faulty sectors (default: false) --only-bad print only bad sectors (default: false) --slow run slower checks (default: false) --storage-id value filter sectors by storage path (path id) - --faulty only check faulty sectors (default: false) - --help, -h show help (default: false) ``` @@ -2155,8 +2096,7 @@ USAGE: lotus-miner proving workers [command options] [arguments...] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -2237,14 +2177,13 @@ DESCRIPTION: over time OPTIONS: + --allow-to value path groups allowed to pull data from this path (allow all if not specified) (accepts multiple inputs) + --groups value path group names (accepts multiple inputs) --init initialize the path first (default: false) - --weight value (for init) path weight (default: 10) + --max-storage value (for init) limit storage space for sectors (expensive for very large paths!) --seal (for init) use path for sealing (default: false) --store (for init) use path for long-term storage (default: false) - --max-storage value (for init) limit storage space for sectors (expensive for very large paths!) - --groups value path group names - --allow-to value path groups allowed to pull data from this path (allow all if not specified) - --help, -h show help (default: false) + --weight value (for init) path weight (default: 10) ``` @@ -2275,8 +2214,7 @@ USAGE: lotus-miner storage list sectors [command options] [arguments...] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -2302,8 +2240,7 @@ USAGE: lotus-miner storage cleanup [command options] [arguments...] OPTIONS: - --removed cleanup remaining files from removed sectors (default: true) - --help, -h show help (default: false) + --removed cleanup remaining files from removed sectors (default: true) ``` @@ -2352,7 +2289,6 @@ USAGE: OPTIONS: --color use color in display output (default: depends on output being a TTY) --show-ret-done show returned but not consumed calls (default: false) - --help, -h show help (default: false) ``` @@ -2365,8 +2301,7 @@ USAGE: lotus-miner sealing workers [command options] [arguments...] OPTIONS: - --color use color in display output (default: depends on output being a TTY) - --help, -h show help (default: false) + --color use color in display output (default: depends on output being a TTY) ``` @@ -2380,7 +2315,6 @@ USAGE: OPTIONS: --force-sched (default: false) - --help, -h show help (default: false) ``` @@ -2407,6 +2341,5 @@ USAGE: OPTIONS: --file-size value real file size (default: 0) - --help, -h show help (default: false) ``` diff --git a/documentation/en/cli-lotus-worker.md b/documentation/en/cli-lotus-worker.md index 626024fd691..6fa6fd25f4f 100644 --- a/documentation/en/cli-lotus-worker.md +++ b/documentation/en/cli-lotus-worker.md @@ -20,11 +20,12 @@ COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: - --worker-repo value, --workerrepo value Specify worker repo path. flag workerrepo and env WORKER_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusworker") [$LOTUS_WORKER_PATH, $WORKER_PATH] - --miner-repo value, --storagerepo value Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH] --enable-gpu-proving enable use of GPU for mining operations (default: true) --help, -h show help (default: false) + --miner-repo value, --storagerepo value Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH] --version, -v print the version (default: false) + --worker-repo value, --workerrepo value Specify worker repo path. flag workerrepo and env WORKER_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusworker") [$LOTUS_WORKER_PATH, $WORKER_PATH] + ``` ## lotus-worker run @@ -36,25 +37,24 @@ USAGE: lotus-worker run [command options] [arguments...] OPTIONS: + --addpiece enable addpiece (default: true) + --commit enable commit (32G sectors: all cores or GPUs, 128GiB Memory + 64GiB swap) (default: true) --listen value host address and port the worker api will listen on (default: "0.0.0.0:3456") + --no-default disable all default compute tasks, use the worker for storage/fetching only (default: false) --no-local-storage don't use storageminer repo for sector storage (default: false) --no-swap don't use swap (default: false) - --addpiece enable addpiece (default: true) + --parallel-fetch-limit value maximum fetch operations to run in parallel (default: 5) + --post-parallel-reads value maximum number of parallel challenge reads (0 = no limit) (default: 128) + --post-read-timeout value time limit for reading PoSt challenges (0 = no limit) (default: 0s) --precommit1 enable precommit1 (32G sectors: 1 core, 128GiB Memory) (default: true) - --unseal enable unsealing (32G sectors: 1 core, 128GiB Memory) (default: true) --precommit2 enable precommit2 (32G sectors: all cores, 96GiB Memory) (default: true) - --commit enable commit (32G sectors: all cores or GPUs, 128GiB Memory + 64GiB swap) (default: true) - --replica-update enable replica update (default: true) --prove-replica-update2 enable prove replica update 2 (default: true) --regen-sector-key enable regen sector key (default: true) + --replica-update enable replica update (default: true) + --timeout value used when 'listen' is unspecified. must be a valid duration recognized by golang's time.ParseDuration function (default: "30m") + --unseal enable unsealing (32G sectors: 1 core, 128GiB Memory) (default: true) --windowpost enable window post (default: false) --winningpost enable winning post (default: false) - --no-default disable all default compute tasks, use the worker for storage/fetching only (default: false) - --parallel-fetch-limit value maximum fetch operations to run in parallel (default: 5) - --post-parallel-reads value maximum number of parallel challenge reads (0 = no limit) (default: 128) - --post-read-timeout value time limit for reading PoSt challenges (0 = no limit) (default: 0s) - --timeout value used when 'listen' is unspecified. must be a valid duration recognized by golang's time.ParseDuration function (default: "30m") - --help, -h show help (default: false) ``` @@ -97,14 +97,13 @@ USAGE: lotus-worker storage attach [command options] [arguments...] OPTIONS: + --allow-to value path groups allowed to pull data from this path (allow all if not specified) (accepts multiple inputs) + --groups value path group names (accepts multiple inputs) --init initialize the path first (default: false) - --weight value (for init) path weight (default: 10) + --max-storage value (for init) limit storage space for sectors (expensive for very large paths!) --seal (for init) use path for sealing (default: false) --store (for init) use path for long-term storage (default: false) - --max-storage value (for init) limit storage space for sectors (expensive for very large paths!) - --groups value path group names - --allow-to value path groups allowed to pull data from this path (allow all if not specified) - --help, -h show help (default: false) + --weight value (for init) path weight (default: 10) ``` @@ -117,8 +116,7 @@ USAGE: lotus-worker set [command options] [arguments...] OPTIONS: - --enabled enable/disable new task processing (default: true) - --help, -h show help (default: false) + --enabled enable/disable new task processing (default: true) ``` @@ -144,9 +142,8 @@ USAGE: lotus-worker resources [command options] [arguments...] OPTIONS: - --all print all resource envvars (default: false) - --default print default resource envvars (default: false) - --help, -h show help (default: false) + --all print all resource envvars (default: false) + --default print default resource envvars (default: false) ``` diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 0657138b37e..223d7a401ab 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -37,11 +37,12 @@ COMMANDS: status Check node status GLOBAL OPTIONS: - --interactive setting to false will disable interactive functionality of commands (default: false) --force-send if true, will ignore pre-send checks (default: false) - --vv enables very verbose mode, useful for debugging the CLI (default: false) --help, -h show help (default: false) + --interactive setting to false will disable interactive functionality of commands (default: false) --version, -v print the version (default: false) + --vv enables very verbose mode, useful for debugging the CLI (default: false) + ``` ## lotus daemon @@ -105,8 +106,7 @@ DESCRIPTION: this command must be within this base path OPTIONS: - --offline create backup without the node running (default: false) - --help, -h show help (default: false) + --offline create backup without the node running (default: false) ``` @@ -138,7 +138,6 @@ USAGE: OPTIONS: --no-comment don't comment default values (default: false) - --help, -h show help (default: false) ``` @@ -152,7 +151,6 @@ USAGE: OPTIONS: --no-comment don't comment default values (default: false) - --help, -h show help (default: false) ``` @@ -181,16 +179,15 @@ CATEGORY: BASIC OPTIONS: + --force Deprecated: use global 'force-send' (default: false) --from value optionally specify the account to send funds from - --gas-premium value specify gas price to use in AttoFIL (default: "0") --gas-feecap value specify gas fee cap to use in AttoFIL (default: "0") --gas-limit value specify gas limit (default: 0) - --nonce value specify the nonce to use (default: 0) + --gas-premium value specify gas price to use in AttoFIL (default: "0") --method value specify method to invoke (default: 0) - --params-json value specify invocation parameters in json + --nonce value specify the nonce to use (default: 0) --params-hex value specify invocation parameters in hex - --force Deprecated: use global 'force-send' (default: false) - --help, -h show help (default: false) + --params-json value specify invocation parameters in json ``` @@ -246,7 +243,6 @@ OPTIONS: --addr-only, -a Only print addresses (default: false) --id, -i Output ID addresses (default: false) --market, -m Output market balances (default: false) - --help, -h show help (default: false) ``` @@ -285,9 +281,8 @@ USAGE: lotus wallet import [command options] [ (optional, will read from stdin if omitted)] OPTIONS: - --format value specify input format for key (default: "hex-lotus") --as-default import the given key as your new default key (default: false) - --help, -h show help (default: false) + --format value specify input format for key (default: "hex-lotus") ``` @@ -383,10 +378,9 @@ USAGE: lotus wallet market withdraw [command options] [amount (FIL) optional, otherwise will withdraw max available] OPTIONS: - --wallet value, -w value Specify address to withdraw funds to, otherwise it will use the default wallet address --address value, -a value Market address to withdraw from (account or miner actor address, defaults to --wallet address) --confidence value number of block confirmations to wait for (default: 5) - --help, -h show help (default: false) + --wallet value, -w value Specify address to withdraw funds to, otherwise it will use the default wallet address ``` @@ -399,9 +393,8 @@ USAGE: lotus wallet market add [command options] OPTIONS: - --from value, -f value Specify address to move funds from, otherwise it will use the default wallet address --address value, -a value Market address to move funds to (account or miner actor address, defaults to --from address) - --help, -h show help (default: false) + --from value, -f value Specify address to move funds from, otherwise it will use the default wallet address ``` @@ -463,7 +456,6 @@ CATEGORY: OPTIONS: --car import from a car file instead of a regular file (default: false) --quiet, -q Output root CID only (default: false) - --help, -h show help (default: false) ``` @@ -495,7 +487,6 @@ CATEGORY: DATA OPTIONS: - --help, -h show help (default: false) ``` @@ -528,7 +519,6 @@ CATEGORY: OPTIONS: --pieceCid value require data to be retrieved from a specific Piece CID - --help, -h show help (default: false) ``` @@ -545,7 +535,6 @@ CATEGORY: OPTIONS: --size value data size in bytes (default: 0) - --help, -h show help (default: false) ``` @@ -594,15 +583,14 @@ DESCRIPTION: $ lotus client retrieve --data-selector /Links/0/Hash Qm... my-file.txt OPTIONS: + --allow-local (default: false) --car Export to a car file instead of a regular file (default: false) - --data-selector value, --datamodel-path-selector value IPLD datamodel text-path selector, or IPLD json selector --car-export-merkle-proof (requires --data-selector and --car) Export data-selector merkle proof (default: false) + --data-selector value, --datamodel-path-selector value IPLD datamodel text-path selector, or IPLD json selector --from value address to send transactions from - --provider value, --miner value provider to use for retrieval, if not present it'll use local discovery --maxPrice value maximum price the client is willing to consider (default: 0 FIL) --pieceCid value require data to be retrieved from a specific Piece CID - --allow-local (default: false) - --help, -h show help (default: false) + --provider value, --miner value provider to use for retrieval, if not present it'll use local discovery ``` @@ -618,14 +606,13 @@ CATEGORY: RETRIEVAL OPTIONS: - --ipld list IPLD datamodel links (default: false) + --allow-local (default: false) --data-selector value IPLD datamodel text-path selector, or IPLD json selector --from value address to send transactions from - --provider value, --miner value provider to use for retrieval, if not present it'll use local discovery + --ipld list IPLD datamodel links (default: false) --maxPrice value maximum price the client is willing to consider (default: 0 FIL) --pieceCid value require data to be retrieved from a specific Piece CID - --allow-local (default: false) - --help, -h show help (default: false) + --provider value, --miner value provider to use for retrieval, if not present it'll use local discovery ``` @@ -641,15 +628,14 @@ CATEGORY: RETRIEVAL OPTIONS: - --ipld list IPLD datamodel links (default: false) - --depth value list links recursively up to the specified depth (default: 1) + --allow-local (default: false) --data-selector value IPLD datamodel text-path selector, or IPLD json selector + --depth value list links recursively up to the specified depth (default: 1) --from value address to send transactions from - --provider value, --miner value provider to use for retrieval, if not present it'll use local discovery + --ipld list IPLD datamodel links (default: false) --maxPrice value maximum price the client is willing to consider (default: 0 FIL) --pieceCid value require data to be retrieved from a specific Piece CID - --allow-local (default: false) - --help, -h show help (default: false) + --provider value, --miner value provider to use for retrieval, if not present it'll use local discovery ``` @@ -666,7 +652,6 @@ CATEGORY: OPTIONS: --deal-id value specify retrieval deal by deal ID (default: 0) - --help, -h show help (default: false) ``` @@ -682,12 +667,11 @@ CATEGORY: RETRIEVAL OPTIONS: - --verbose, -v print verbose deal details (default: false) --color use color in display output (default: depends on output being a TTY) - --show-failed show failed/failing deals (default: true) --completed show completed retrievals (default: false) + --show-failed show failed/failing deals (default: true) + --verbose, -v print verbose deal details (default: false) --watch watch deal updates in real-time, rather than a one time list (default: false) - --help, -h show help (default: false) ``` @@ -713,15 +697,14 @@ DESCRIPTION: The minimum value is 518400 (6 months). OPTIONS: + --fast-retrieval indicates that data should be available for fast retrieval (default: true) + --from value specify address to fund the deal with --manual-piece-cid value manually specify piece commitment for data (dataCid must be to a car file) --manual-piece-size value if manually specifying piece cid, used to specify size (dataCid must be to a car file) (default: 0) --manual-stateless-deal instructs the node to send an offline deal without registering it with the deallist/fsm (default: false) - --from value specify address to fund the deal with + --provider-collateral value specify the requested provider collateral the miner should put up --start-epoch value specify the epoch that the deal should start at (default: -1) - --fast-retrieval indicates that data should be available for fast retrieval (default: true) --verified-deal indicate that the deal counts towards verified client total (default: true if client is verified, false otherwise) - --provider-collateral value specify the requested provider collateral the miner should put up - --help, -h show help (default: false) ``` @@ -737,10 +720,9 @@ CATEGORY: STORAGE OPTIONS: + --duration value deal duration (default: 0) --peerid value specify peer ID of node to make query against --size value data size in bytes (default: 0) - --duration value deal duration (default: 0) - --help, -h show help (default: false) ``` @@ -756,11 +738,10 @@ CATEGORY: STORAGE OPTIONS: - --verbose, -v print verbose deal details (default: false) --color use color in display output (default: depends on output being a TTY) --show-failed show failed/failing deals (default: false) + --verbose, -v print verbose deal details (default: false) --watch watch deal updates in real-time, rather than a one time list (default: false) - --help, -h show help (default: false) ``` @@ -795,7 +776,6 @@ OPTIONS: --by-ping sort by ping (default: false) --output-format value Either 'text' or 'csv' (default: "text") --protocols Output supported deal protocols (default: false) - --help, -h show help (default: false) ``` @@ -812,7 +792,6 @@ CATEGORY: OPTIONS: --newer-than value (default: 0s) - --help, -h show help (default: false) ``` @@ -830,7 +809,6 @@ CATEGORY: OPTIONS: --deal-id value (default: 0) --proposal-cid value - --help, -h show help (default: false) ``` @@ -846,7 +824,6 @@ CATEGORY: UTIL OPTIONS: - --help, -h show help (default: false) ``` @@ -879,7 +856,6 @@ CATEGORY: OPTIONS: --client value specify storage client address - --help, -h show help (default: false) ``` @@ -895,12 +871,11 @@ CATEGORY: UTIL OPTIONS: - --verbose, -v print verbose transfer details (default: false) --color use color in display output (default: depends on output being a TTY) --completed show completed data transfers (default: false) - --watch watch deal updates in real-time, rather than a one time list (default: false) --show-failed show failed/cancelled transfers (default: false) - --help, -h show help (default: false) + --verbose, -v print verbose transfer details (default: false) + --watch watch deal updates in real-time, rather than a one time list (default: false) ``` @@ -916,9 +891,8 @@ CATEGORY: UTIL OPTIONS: - --peerid value narrow to transfer with specific peer --initiator specify only transfers where peer is/is not initiator (default: true) - --help, -h show help (default: false) + --peerid value narrow to transfer with specific peer ``` @@ -934,10 +908,9 @@ CATEGORY: UTIL OPTIONS: - --peerid value narrow to transfer with specific peer - --initiator specify only transfers where peer is/is not initiator (default: true) --cancel-timeout value time to wait for cancel to be sent to storage provider (default: 5s) - --help, -h show help (default: false) + --initiator specify only transfers where peer is/is not initiator (default: true) + --peerid value narrow to transfer with specific peer ``` @@ -984,11 +957,10 @@ USAGE: lotus msig create [command options] [address1 address2 ...] OPTIONS: - --required value number of required approvals (uses number of signers provided if omitted) (default: 0) - --value value initial funds to give to multisig (default: "0") --duration value length of the period over which funds unlock (default: "0") --from value account to send the create message from - --help, -h show help (default: false) + --required value number of required approvals (uses number of signers provided if omitted) (default: 0) + --value value initial funds to give to multisig (default: "0") ``` @@ -1001,9 +973,8 @@ USAGE: lotus msig inspect [command options] [address] OPTIONS: - --vesting Include vesting details (default: false) --decode-params Decode parameters of transaction proposals (default: false) - --help, -h show help (default: false) + --vesting Include vesting details (default: false) ``` @@ -1017,7 +988,6 @@ USAGE: OPTIONS: --from value account to send the propose message from - --help, -h show help (default: false) ``` @@ -1032,7 +1002,6 @@ USAGE: OPTIONS: --decrease-threshold whether the number of required signers should be decreased (default: false) --from value account to send the propose message from - --help, -h show help (default: false) ``` @@ -1046,7 +1015,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1060,7 +1028,6 @@ USAGE: OPTIONS: --from value account to send the cancel message from - --help, -h show help (default: false) ``` @@ -1073,9 +1040,8 @@ USAGE: lotus msig add-propose [command options] [multisigAddress signer] OPTIONS: - --increase-threshold whether the number of required signers should be increased (default: false) --from value account to send the propose message from - --help, -h show help (default: false) + --increase-threshold whether the number of required signers should be increased (default: false) ``` @@ -1089,7 +1055,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1103,7 +1068,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1117,7 +1081,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1131,7 +1094,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1145,7 +1107,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1159,7 +1120,6 @@ USAGE: OPTIONS: --from value account to send the propose message from - --help, -h show help (default: false) ``` @@ -1173,7 +1133,6 @@ USAGE: OPTIONS: --from value account to send the approve message from - --help, -h show help (default: false) ``` @@ -1187,7 +1146,6 @@ USAGE: OPTIONS: --from value account to send the cancel message from - --help, -h show help (default: false) ``` @@ -1200,9 +1158,8 @@ USAGE: lotus msig vested [command options] [multisigAddress] OPTIONS: - --start-epoch value start epoch to measure vesting from (default: 0) --end-epoch value end epoch to stop measure vesting at (default: -1) - --help, -h show help (default: false) + --start-epoch value start epoch to measure vesting from (default: 0) ``` @@ -1216,7 +1173,6 @@ USAGE: OPTIONS: --from value account to send the proposal from - --help, -h show help (default: false) ``` @@ -1252,7 +1208,6 @@ USAGE: OPTIONS: --from value specify your notary address to send the message from - --help, -h show help (default: false) ``` @@ -1318,7 +1273,6 @@ USAGE: OPTIONS: --id value specify the RemoveDataCapProposal ID (will look up on chain if unspecified) (default: 0) - --help, -h show help (default: false) ``` @@ -1354,9 +1308,8 @@ USAGE: lotus paych add-funds [command options] [fromAddress toAddress amount] OPTIONS: - --restart-retrievals restart stalled retrieval deals on this payment channel (default: true) --reserve mark funds as reserved (default: false) - --help, -h show help (default: false) + --restart-retrievals restart stalled retrieval deals on this payment channel (default: true) ``` @@ -1405,7 +1358,6 @@ USAGE: OPTIONS: --lane value specify payment channel lane to use (default: 0) - --help, -h show help (default: false) ``` @@ -1444,8 +1396,7 @@ USAGE: lotus paych voucher list [command options] [channelAddress] OPTIONS: - --export Print voucher as serialized string (default: false) - --help, -h show help (default: false) + --export Print voucher as serialized string (default: false) ``` @@ -1458,8 +1409,7 @@ USAGE: lotus paych voucher best-spendable [command options] [channelAddress] OPTIONS: - --export Print voucher as serialized string (default: false) - --help, -h show help (default: false) + --export Print voucher as serialized string (default: false) ``` @@ -1556,7 +1506,6 @@ USAGE: OPTIONS: --perm value permission to assign to the token, one of: read, write, sign, admin - --help, -h show help (default: false) ``` @@ -1570,7 +1519,6 @@ USAGE: OPTIONS: --perm value permission to assign to the token, one of: read, write, sign, admin - --help, -h show help (default: false) ``` @@ -1607,11 +1555,10 @@ USAGE: lotus mpool pending [command options] [arguments...] OPTIONS: - --local print pending messages for addresses in local wallet only (default: false) --cids only print cids of messages in output (default: false) - --to value return messages to a given address --from value return messages from a given address - --help, -h show help (default: false) + --local print pending messages for addresses in local wallet only (default: false) + --to value return messages to a given address ``` @@ -1637,9 +1584,8 @@ USAGE: lotus mpool stat [command options] [arguments...] OPTIONS: - --local print stats for addresses in local wallet only (default: false) --basefee-lookback value number of blocks to look back for minimum basefee (default: 60) - --help, -h show help (default: false) + --local print stats for addresses in local wallet only (default: false) ``` @@ -1652,12 +1598,11 @@ USAGE: lotus mpool replace [command options] | OPTIONS: - --gas-feecap value gas feecap for new message (burn and pay to miner, attoFIL/GasUnit) - --gas-premium value gas price for new message (pay to miner, attoFIL/GasUnit) - --gas-limit value gas limit for new message (GasUnit) (default: 0) --auto automatically reprice the specified message (default: false) --fee-limit max-fee Spend up to X FIL for this message in units of FIL. Previously when flag was max-fee units were in attoFIL. Applicable for auto mode - --help, -h show help (default: false) + --gas-feecap value gas feecap for new message (burn and pay to miner, attoFIL/GasUnit) + --gas-limit value gas limit for new message (GasUnit) (default: 0) + --gas-premium value gas price for new message (pay to miner, attoFIL/GasUnit) ``` @@ -1671,9 +1616,8 @@ USAGE: OPTIONS: --from value search for messages with given 'from' address - --to value search for messages with given 'to' address --method value search for messages with given method (default: 0) - --help, -h show help (default: false) + --to value search for messages with given 'to' address ``` @@ -1699,8 +1643,7 @@ USAGE: lotus mpool gas-perf [command options] [arguments...] OPTIONS: - --all print gas performance for all mempool messages (default only prints for local) (default: false) - --help, -h show help (default: false) + --all print gas performance for all mempool messages (default only prints for local) (default: false) ``` @@ -1820,7 +1763,6 @@ USAGE: OPTIONS: --sort-by value criteria to sort miners by (none, num-deals) - --help, -h show help (default: false) ``` @@ -1834,7 +1776,6 @@ USAGE: OPTIONS: --vm-supply calculates the approximation of the circulating supply used internally by the VM (instead of the exact amount) (default: false) - --help, -h show help (default: false) ``` @@ -1865,7 +1806,6 @@ USAGE: OPTIONS: --reverse, -r Perform reverse lookup (default: false) - --help, -h show help (default: false) ``` @@ -1878,9 +1818,8 @@ USAGE: lotus state replay [command options] OPTIONS: - --show-trace print out full execution trace for given message (default: false) --detailed-gas print out detailed gas costs for given message (default: false) - --help, -h show help (default: false) + --show-trace print out full execution trace for given message (default: false) ``` @@ -1919,11 +1858,10 @@ USAGE: lotus state list-messages [command options] [arguments...] OPTIONS: - --to value return messages to a given address + --cids print message CIDs instead of messages (default: false) --from value return messages from a given address + --to value return messages to a given address --toheight value don't look before given block height (default: 0) - --cids print message CIDs instead of messages (default: false) - --help, -h show help (default: false) ``` @@ -1936,14 +1874,13 @@ USAGE: lotus state compute-state [command options] [arguments...] OPTIONS: - --vm-height value set the height that the vm will see (default: 0) --apply-mpool-messages apply messages from the mempool to the computed state (default: false) - --show-trace print out full execution trace for given tipset (default: false) + --compute-state-output value a json file containing pre-existing compute-state output, to generate html reports without rerunning state changes --html generate html report (default: false) --json generate json output (default: false) - --compute-state-output value a json file containing pre-existing compute-state output, to generate html reports without rerunning state changes --no-timing don't show timing information in html traces (default: false) - --help, -h show help (default: false) + --show-trace print out full execution trace for given tipset (default: false) + --vm-height value set the height that the vm will see (default: 0) ``` @@ -1956,11 +1893,10 @@ USAGE: lotus state call [command options] [toAddress methodId params (optional)] OPTIONS: + --encoding value specify params encoding to parse (base64, hex) (default: "base64") --from value (default: "f00") - --value value specify value field for invocation (default: "0") --ret value specify how to parse output (raw, decoded, base64, hex) (default: "decoded") - --encoding value specify params encoding to parse (base64, hex) (default: "base64") - --help, -h show help (default: false) + --value value specify value field for invocation (default: "0") ``` @@ -2077,7 +2013,6 @@ USAGE: OPTIONS: --network-version value specify network version (default: 16) - --help, -h show help (default: false) ``` @@ -2157,7 +2092,6 @@ DESCRIPTION: OPTIONS: --really-do-it (default: false) - --help, -h show help (default: false) ``` @@ -2177,7 +2111,6 @@ DESCRIPTION: OPTIONS: --base value ignore links found in this obj - --help, -h show help (default: false) ``` @@ -2233,9 +2166,8 @@ DESCRIPTION: OPTIONS: --as-type value specify type to interpret output as - --verbose (default: false) --tipset value specify tipset for /pstate (pass comma separated array of cids) - --help, -h show help (default: false) + --verbose (default: false) ``` @@ -2275,10 +2207,9 @@ USAGE: lotus chain export [command options] [outputPath] OPTIONS: - --tipset value specify tipset to start the export from (default: "@head") --recent-stateroots value specify the number of recent state roots to include in the export (default: 0) --skip-old-msgs (default: false) - --help, -h show help (default: false) + --tipset value specify tipset to start the export from (default: "@head") ``` @@ -2291,9 +2222,8 @@ USAGE: lotus chain slash-consensus [command options] [blockCid1 blockCid2] OPTIONS: - --from value optionally specify the account to report consensus from --extra value Extra block cid - --help, -h show help (default: false) + --from value optionally specify the account to report consensus from ``` @@ -2319,10 +2249,9 @@ USAGE: lotus chain inspect-usage [command options] [arguments...] OPTIONS: - --tipset value specify tipset to view block space usage of (default: "@head") --length value length of chain to inspect block space usage for (default: 1) --num-results value number of results to print per category (default: 10) - --help, -h show help (default: false) + --tipset value specify tipset to view block space usage of (default: "@head") ``` @@ -2352,9 +2281,8 @@ USAGE: lotus chain decode params [command options] [toAddr method params] OPTIONS: - --tipset value --encoding value specify input encoding to parse (default: "base64") - --help, -h show help (default: false) + --tipset value ``` @@ -2384,10 +2312,9 @@ USAGE: lotus chain encode params [command options] [dest method params] OPTIONS: - --tipset value --encoding value specify input encoding to parse (default: "base64") + --tipset value --to-code interpret dest as code CID instead of as address (default: false) - --help, -h show help (default: false) ``` @@ -2421,7 +2348,6 @@ USAGE: OPTIONS: --start-epoch value only start disputing PoSts after this epoch (default: 0) - --help, -h show help (default: false) ``` @@ -2498,8 +2424,7 @@ DESCRIPTION: GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr OPTIONS: - --system value limit to log system - --help, -h show help (default: false) + --system value limit to log system (accepts multiple inputs) ``` @@ -2512,8 +2437,7 @@ USAGE: lotus log alerts [command options] [arguments...] OPTIONS: - --all get all (active and inactive) alerts (default: false) - --help, -h show help (default: false) + --all get all (active and inactive) alerts (default: false) ``` @@ -2530,7 +2454,6 @@ CATEGORY: OPTIONS: --timeout value duration to wait till fail (default: 30s) - --help, -h show help (default: false) ``` @@ -2592,7 +2515,6 @@ USAGE: OPTIONS: --agent, -a Print agent name (default: false) --extended, -x Print extended peer information in json (default: false) - --help, -h show help (default: false) ``` @@ -2607,7 +2529,6 @@ USAGE: OPTIONS: --count value, -c value specify the number of times it should ping (default: 10) --interval value, -i value minimum time between pings (default: 1s) - --help, -h show help (default: false) ``` @@ -2664,7 +2585,6 @@ USAGE: OPTIONS: --extended, -x print extended peer scores in json (default: false) - --help, -h show help (default: false) ``` @@ -2692,7 +2612,6 @@ USAGE: OPTIONS: --by-peer list bandwidth usage by peer (default: false) --by-protocol list bandwidth usage by protocol (default: false) - --help, -h show help (default: false) ``` @@ -2864,8 +2783,7 @@ DESCRIPTION: - all -- reports the resource usage for all currently active scopes. OPTIONS: - --json (default: false) - --help, -h show help (default: false) + --json (default: false) ``` @@ -2890,8 +2808,7 @@ DESCRIPTION: The limit is json-formatted, with the same structure as the limits file. OPTIONS: - --set set the limit for a scope (default: false) - --help, -h show help (default: false) + --set set the limit for a scope (default: false) ``` @@ -2978,8 +2895,7 @@ USAGE: lotus sync wait [command options] [arguments...] OPTIONS: - --watch don't exit after node is synced (default: false) - --help, -h show help (default: false) + --watch don't exit after node is synced (default: false) ``` @@ -3005,8 +2921,7 @@ USAGE: lotus sync unmark-bad [command options] [blockCid] OPTIONS: - --all drop the entire bad block cache (default: false) - --help, -h show help (default: false) + --all drop the entire bad block cache (default: false) ``` @@ -3033,7 +2948,6 @@ USAGE: OPTIONS: --epoch value checkpoint the tipset at the given epoch (default: 0) - --help, -h show help (default: false) ``` @@ -3049,7 +2963,6 @@ CATEGORY: STATUS OPTIONS: - --chain include chain health status (default: false) - --help, -h show help (default: false) + --chain include chain health status (default: false) ``` diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index 943e33574dc..d40be3364a6 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit 943e33574dcacd940edff0cf414c82e656bdaeb3 +Subproject commit d40be3364a6c31f28a8f1dc27ca13d84b6e5a25b diff --git a/go.mod b/go.mod index bcd71d4a50c..6c3a4ce9d3e 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ retract v1.14.0 // Accidentally force-pushed tag, use v1.14.1+ instead. require ( contrib.go.opencensus.io/exporter/prometheus v0.4.0 - github.com/BurntSushi/toml v0.4.1 + github.com/BurntSushi/toml v1.1.0 github.com/DataDog/zstd v1.4.1 github.com/GeertJohan/go.rice v1.0.2 github.com/Gurpartap/async v0.0.0-20180927173644-4f7f499dd9ee @@ -34,19 +34,19 @@ require ( github.com/filecoin-project/go-cbor-util v0.0.1 github.com/filecoin-project/go-commp-utils v0.1.3 github.com/filecoin-project/go-crypto v0.0.1 - github.com/filecoin-project/go-data-transfer v1.15.1 + github.com/filecoin-project/go-data-transfer v1.15.2 github.com/filecoin-project/go-fil-commcid v0.1.0 github.com/filecoin-project/go-fil-commp-hashhash v0.1.0 - github.com/filecoin-project/go-fil-markets v1.22.0 + github.com/filecoin-project/go-fil-markets v1.22.2 github.com/filecoin-project/go-jsonrpc v0.1.5 - github.com/filecoin-project/go-legs v0.3.10 + github.com/filecoin-project/go-legs v0.4.4 github.com/filecoin-project/go-padreader v0.0.1 github.com/filecoin-project/go-paramfetch v0.0.4 github.com/filecoin-project/go-state-types v0.1.10 github.com/filecoin-project/go-statemachine v1.0.2 github.com/filecoin-project/go-statestore v0.2.0 github.com/filecoin-project/go-storedcounter v0.1.0 - github.com/filecoin-project/index-provider v0.6.1 + github.com/filecoin-project/index-provider v0.8.1 github.com/filecoin-project/pubsub v1.0.0 github.com/filecoin-project/specs-actors v0.9.15 github.com/filecoin-project/specs-actors/v2 v2.3.6 @@ -71,59 +71,55 @@ require ( github.com/icza/backscanner v0.0.0-20210726202459-ac2ffc679f94 github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab github.com/ipfs/bbloom v0.0.4 - github.com/ipfs/go-bitswap v0.5.1 + github.com/ipfs/go-bitswap v0.6.0 github.com/ipfs/go-block-format v0.0.3 - github.com/ipfs/go-blockservice v0.2.1 - github.com/ipfs/go-cid v0.1.0 - github.com/ipfs/go-cidutil v0.0.2 + github.com/ipfs/go-blockservice v0.3.0 + github.com/ipfs/go-cid v0.2.0 + github.com/ipfs/go-cidutil v0.1.0 github.com/ipfs/go-datastore v0.5.1 github.com/ipfs/go-ds-badger2 v0.1.2 github.com/ipfs/go-ds-leveldb v0.5.0 github.com/ipfs/go-ds-measure v0.2.0 github.com/ipfs/go-fs-lock v0.0.7 github.com/ipfs/go-graphsync v0.13.1 - github.com/ipfs/go-ipfs-blockstore v1.1.2 + github.com/ipfs/go-ipfs-blockstore v1.2.0 github.com/ipfs/go-ipfs-blocksutil v0.0.1 github.com/ipfs/go-ipfs-chunker v0.0.5 github.com/ipfs/go-ipfs-ds-help v1.1.0 github.com/ipfs/go-ipfs-exchange-interface v0.1.0 - github.com/ipfs/go-ipfs-exchange-offline v0.1.1 - github.com/ipfs/go-ipfs-files v0.0.9 - github.com/ipfs/go-ipfs-http-client v0.0.6 + github.com/ipfs/go-ipfs-exchange-offline v0.2.0 + github.com/ipfs/go-ipfs-files v0.1.1 + github.com/ipfs/go-ipfs-http-client v0.4.0 github.com/ipfs/go-ipfs-routing v0.2.1 github.com/ipfs/go-ipfs-util v0.0.2 github.com/ipfs/go-ipld-cbor v0.0.6 - github.com/ipfs/go-ipld-format v0.2.0 + github.com/ipfs/go-ipld-format v0.4.0 github.com/ipfs/go-log/v2 v2.5.1 - github.com/ipfs/go-merkledag v0.5.1 + github.com/ipfs/go-merkledag v0.6.0 github.com/ipfs/go-metrics-interface v0.0.1 github.com/ipfs/go-metrics-prometheus v0.0.2 github.com/ipfs/go-unixfs v0.3.1 github.com/ipfs/go-unixfsnode v1.4.0 - github.com/ipfs/interface-go-ipfs-core v0.5.2 + github.com/ipfs/interface-go-ipfs-core v0.7.0 github.com/ipld/go-car v0.3.3 - github.com/ipld/go-car/v2 v2.1.1 + github.com/ipld/go-car/v2 v2.2.0 github.com/ipld/go-codec-dagpb v1.3.2 - github.com/ipld/go-ipld-prime v0.16.0 + github.com/ipld/go-ipld-prime v0.17.0 github.com/ipld/go-ipld-selector-text-lite v0.0.1 github.com/kelseyhightower/envconfig v1.4.0 github.com/koalacxr/quantile v0.0.1 github.com/libp2p/go-buffer-pool v0.0.2 github.com/libp2p/go-eventbus v0.2.1 - github.com/libp2p/go-libp2p v0.19.4 + github.com/libp2p/go-libp2p v0.20.1 github.com/libp2p/go-libp2p-connmgr v0.3.1 - github.com/libp2p/go-libp2p-core v0.15.1 - github.com/libp2p/go-libp2p-discovery v0.6.0 + github.com/libp2p/go-libp2p-core v0.16.1 github.com/libp2p/go-libp2p-kad-dht v0.15.0 - github.com/libp2p/go-libp2p-mplex v0.6.0 // indirect github.com/libp2p/go-libp2p-noise v0.4.0 - github.com/libp2p/go-libp2p-peerstore v0.6.0 - github.com/libp2p/go-libp2p-pubsub v0.6.1 - github.com/libp2p/go-libp2p-quic-transport v0.17.0 + github.com/libp2p/go-libp2p-peerstore v0.7.0 + github.com/libp2p/go-libp2p-pubsub v0.7.0 github.com/libp2p/go-libp2p-record v0.1.3 - github.com/libp2p/go-libp2p-resource-manager v0.2.1 + github.com/libp2p/go-libp2p-resource-manager v0.3.0 github.com/libp2p/go-libp2p-routing-helpers v0.2.3 - github.com/libp2p/go-libp2p-swarm v0.10.2 github.com/libp2p/go-libp2p-tls v0.4.1 github.com/libp2p/go-libp2p-yamux v0.9.1 github.com/libp2p/go-maddr-filter v0.1.0 @@ -144,7 +140,7 @@ require ( github.com/raulk/go-watchdog v1.2.0 github.com/stretchr/testify v1.7.1 github.com/syndtr/goleveldb v1.0.0 - github.com/urfave/cli/v2 v2.3.0 + github.com/urfave/cli/v2 v2.8.1 github.com/whyrusleeping/bencher v0.0.0-20190829221104-bb6607aa8bba github.com/whyrusleeping/cbor-gen v0.0.0-20220323183124-98fa8256a799 github.com/whyrusleeping/ledger-filecoin-go v0.9.1-0.20201010031517-c3dcc1bddce4 @@ -160,7 +156,7 @@ require ( go.uber.org/zap v1.21.0 golang.org/x/net v0.0.0-20220418201149-a630d4f3e7a2 golang.org/x/sync v0.0.0-20210220032951-036812b2e83c - golang.org/x/sys v0.0.0-20220412211240-33da011f77ad + golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac golang.org/x/tools v0.1.10 golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f @@ -180,16 +176,19 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/bep/debounce v1.2.0 // indirect github.com/btcsuite/btcd v0.22.1 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.1.3 // indirect + github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect github.com/cheekybits/genny v1.0.0 // indirect github.com/cilium/ebpf v0.4.0 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 // indirect github.com/cskr/pubsub v1.0.2 // indirect github.com/daaku/go.zipexe v1.0.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/dgraph-io/ristretto v0.1.0 // indirect github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 // indirect github.com/drand/kyber-bls12381 v0.2.1 // indirect @@ -202,7 +201,7 @@ require ( github.com/filecoin-project/go-hamt-ipld v0.1.5 // indirect github.com/filecoin-project/go-hamt-ipld/v2 v2.0.0 // indirect github.com/filecoin-project/go-hamt-ipld/v3 v3.1.0 // indirect - github.com/filecoin-project/storetheindex v0.4.0 // indirect + github.com/filecoin-project/storetheindex v0.4.17 // indirect github.com/flynn/noise v1.0.0 // indirect github.com/francoispqt/gojay v1.2.13 // indirect github.com/fsnotify/fsnotify v1.5.1 // indirect @@ -223,22 +222,23 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/golang/snappy v0.0.3 // indirect - github.com/google/go-cmp v0.5.7 // indirect + github.com/google/go-cmp v0.5.8 // indirect github.com/google/gopacket v1.1.19 // indirect github.com/hannahhoward/cbor-gen-for v0.0.0-20200817222906-ea96cece81f1 // indirect github.com/hashicorp/errwrap v1.0.0 // indirect github.com/huin/goupnp v1.0.3 // indirect github.com/iancoleman/orderedmap v0.1.0 // indirect github.com/ipfs/go-bitfield v1.0.0 // indirect - github.com/ipfs/go-filestore v1.1.0 // indirect - github.com/ipfs/go-ipfs-cmds v0.6.0 // indirect + github.com/ipfs/go-filestore v1.2.0 // indirect + github.com/ipfs/go-ipfs-cmds v0.7.0 // indirect + github.com/ipfs/go-ipfs-config v0.18.0 // indirect github.com/ipfs/go-ipfs-delay v0.0.1 // indirect github.com/ipfs/go-ipfs-posinfo v0.0.1 // indirect github.com/ipfs/go-ipfs-pq v0.0.2 // indirect github.com/ipfs/go-ipld-legacy v0.1.1 // indirect github.com/ipfs/go-ipns v0.1.2 // indirect github.com/ipfs/go-log v1.0.5 // indirect - github.com/ipfs/go-path v0.2.1 // indirect + github.com/ipfs/go-path v0.3.0 // indirect github.com/ipfs/go-peertaskqueue v0.7.1 // indirect github.com/ipfs/go-verifcid v0.0.1 // indirect github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 // indirect @@ -256,26 +256,18 @@ require ( github.com/klauspost/cpuid/v2 v2.0.12 // indirect github.com/koron/go-ssdp v0.0.2 // indirect github.com/libp2p/go-cidranger v1.1.0 // indirect - github.com/libp2p/go-conn-security-multistream v0.3.0 // indirect github.com/libp2p/go-flow-metrics v0.0.3 // indirect - github.com/libp2p/go-libp2p-asn-util v0.1.0 // indirect - github.com/libp2p/go-libp2p-blankhost v0.3.0 // indirect + github.com/libp2p/go-libp2p-asn-util v0.2.0 // indirect + github.com/libp2p/go-libp2p-discovery v0.7.0 // indirect github.com/libp2p/go-libp2p-gostream v0.3.1 // indirect github.com/libp2p/go-libp2p-kbucket v0.4.7 // indirect github.com/libp2p/go-libp2p-loggables v0.1.0 // indirect - github.com/libp2p/go-libp2p-nat v0.1.0 // indirect - github.com/libp2p/go-libp2p-pnet v0.2.0 // indirect - github.com/libp2p/go-libp2p-testing v0.9.2 // indirect - github.com/libp2p/go-libp2p-transport-upgrader v0.7.1 // indirect + github.com/libp2p/go-libp2p-swarm v0.11.0 // indirect github.com/libp2p/go-msgio v0.2.0 // indirect github.com/libp2p/go-nat v0.1.0 // indirect github.com/libp2p/go-netroute v0.2.0 // indirect github.com/libp2p/go-openssl v0.0.7 // indirect - github.com/libp2p/go-reuseport v0.1.0 // indirect - github.com/libp2p/go-reuseport-transport v0.1.0 // indirect - github.com/libp2p/go-stream-muxer-multistream v0.4.0 // indirect - github.com/libp2p/go-tcp-transport v0.5.1 // indirect - github.com/libp2p/go-ws-transport v0.6.0 // indirect + github.com/libp2p/go-reuseport v0.2.0 // indirect github.com/libp2p/go-yamux/v3 v3.1.2 // indirect github.com/lucas-clemente/quic-go v0.27.1 // indirect github.com/lucasb-eyer/go-colorful v1.0.3 // indirect @@ -295,8 +287,8 @@ require ( github.com/mr-tron/base58 v1.2.0 // indirect github.com/multiformats/go-base36 v0.1.0 // indirect github.com/multiformats/go-multiaddr-fmt v0.1.0 // indirect - github.com/multiformats/go-multicodec v0.4.1 // indirect - github.com/multiformats/go-multistream v0.3.0 // indirect + github.com/multiformats/go-multicodec v0.5.0 // indirect + github.com/multiformats/go-multistream v0.3.1 // indirect github.com/nikkolasg/hexjson v0.0.0-20181101101858-78e39397e00c // indirect github.com/nkovacs/streamquote v1.0.0 // indirect github.com/nxadm/tail v1.4.8 // indirect @@ -312,9 +304,8 @@ require ( github.com/prometheus/statsd_exporter v0.21.0 // indirect github.com/rivo/uniseg v0.1.0 // indirect github.com/rs/cors v1.7.0 // indirect - github.com/russross/blackfriday/v2 v2.0.1 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/shirou/gopsutil v2.18.12+incompatible // indirect - github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect github.com/sirupsen/logrus v1.8.1 // indirect github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect @@ -325,6 +316,7 @@ require ( github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee // indirect + github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect github.com/zondax/hid v0.9.0 // indirect github.com/zondax/ledger-go v0.12.1 // indirect go.opentelemetry.io/otel/metric v0.25.0 // indirect @@ -343,7 +335,7 @@ require ( google.golang.org/protobuf v1.28.0 // indirect gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + gopkg.in/yaml.v3 v3.0.0 // indirect howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect lukechampine.com/blake3 v1.1.7 // indirect ) diff --git a/go.sum b/go.sum index faa259f2784..02ab3a81533 100644 --- a/go.sum +++ b/go.sum @@ -47,8 +47,8 @@ github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOv github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 h1:cTp8I5+VIoKjsnZuH8vjyaysT/ses3EvZeaV/1UkF2M= github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw= -github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I= +github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.4.1 h1:3oxKN3wbHibqx897utPC2LTQU4J+IHWWJO+glkAkpFM= @@ -145,6 +145,9 @@ github.com/btcsuite/btcd v0.21.0-beta/go.mod h1:ZSWyehm27aAuS9bvkATT+Xte3hjHZ+MR github.com/btcsuite/btcd v0.22.0-beta/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= github.com/btcsuite/btcd v0.22.1 h1:CnwP9LM/M9xuRrGSCGeMVs9iv09uMqwsVX7EeIpgV2c= github.com/btcsuite/btcd v0.22.1/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y= +github.com/btcsuite/btcd/btcec/v2 v2.1.3 h1:xM/n3yIhHAhHy04z4i43C8p4ehixJZMsnrVJkgl+MTE= +github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= @@ -223,8 +226,9 @@ github.com/corpix/uarand v0.1.1/go.mod h1:SFKZvkcRoLqVRFZ4u25xPmp6m9ktANfbpXZ7SJ github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.1 h1:r/myEWzV9lfsM1tFLgDyu0atFtJ1fXn261LKYj/3DxU= +github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 h1:HVTnpeuvF6Owjd5mniCL8DEXo7uYXdQEmOP4FJbV5tg= github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3/go.mod h1:p1d6YEZWvFzEh4KLyvBcVSnrfNDDvK2zfK/4x2v/4pE= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= @@ -240,6 +244,10 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davidlazar/go-crypto v0.0.0-20170701192655-dcfb0a7ac018/go.mod h1:rQYf4tfk5sSwFsnDg3qYaBxSjsD9S8+59vW0dKUgme4= github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c h1:pFUpOrbxDR6AkioZ1ySsx5yxlDQZ8stG2b88gTPxgJU= github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c/go.mod h1:6UhI8N9EjYm1c2odKpFpAYeR8dsBeM7PtzQhRgxRr9U= +github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= +github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= github.com/detailyang/go-fallocate v0.0.0-20180908115635-432fa640bd2e h1:lj77EKYUpYXTd8CD/+QMIf8b6OIOTsfEBSXiAzuEHTU= github.com/detailyang/go-fallocate v0.0.0-20180908115635-432fa640bd2e/go.mod h1:3ZQK6DMPSz/QZ73jlWxBtUhNA8xZx7LzUFSq/OfP8vk= @@ -337,9 +345,9 @@ github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03/go.mod github.com/filecoin-project/go-crypto v0.0.1 h1:AcvpSGGCgjaY8y1az6AMfKQWreF/pWO2JJGLl6gCq6o= github.com/filecoin-project/go-crypto v0.0.1/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ= github.com/filecoin-project/go-dagaggregator-unixfs v0.2.0/go.mod h1:WTuJWgBQY0omnQqa8kRPT9O0Uj5wQOgslVMUuTeHdJ8= -github.com/filecoin-project/go-data-transfer v1.14.0/go.mod h1:wNJKhaLLYBJDM3VFvgvYi4iUjPa69pz/1Q5Q4HzX2wE= -github.com/filecoin-project/go-data-transfer v1.15.1 h1:IbC5u2Do5EsEBB6jtHBDplPxTDc+mFm6mB0bbT08vIo= github.com/filecoin-project/go-data-transfer v1.15.1/go.mod h1:dXsUoDjR9tKN7aV6R0BBDNNBPzbNvrrNuWt9MUn3yYc= +github.com/filecoin-project/go-data-transfer v1.15.2 h1:PzqsFr2Q/onMGKrGh7TtRT0dKsJcVJrioJJnjnKmxlk= +github.com/filecoin-project/go-data-transfer v1.15.2/go.mod h1:qXOJ3IF5dEJQHykXXTwcaRxu17bXAxr+LglXzkL6bZQ= github.com/filecoin-project/go-ds-versioning v0.0.0-20211206185234-508abd7c2aff/go.mod h1:C9/l9PnB1+mwPa26BBVpCjG/XQCB0yj/q5CK2J8X1I4= github.com/filecoin-project/go-ds-versioning v0.1.1 h1:JiyBqaQlwC+UM0WhcBtVEeT3XrX59mQhT8U3p7nu86o= github.com/filecoin-project/go-ds-versioning v0.1.1/go.mod h1:C9/l9PnB1+mwPa26BBVpCjG/XQCB0yj/q5CK2J8X1I4= @@ -348,8 +356,8 @@ github.com/filecoin-project/go-fil-commcid v0.1.0 h1:3R4ds1A9r6cr8mvZBfMYxTS88Oq github.com/filecoin-project/go-fil-commcid v0.1.0/go.mod h1:Eaox7Hvus1JgPrL5+M3+h7aSPHc0cVqpSxA+TxIEpZQ= github.com/filecoin-project/go-fil-commp-hashhash v0.1.0 h1:imrrpZWEHRnNqqv0tN7LXep5bFEVOVmQWHJvl2mgsGo= github.com/filecoin-project/go-fil-commp-hashhash v0.1.0/go.mod h1:73S8WSEWh9vr0fDJVnKADhfIv/d6dCbAGaAGWbdJEI8= -github.com/filecoin-project/go-fil-markets v1.22.0 h1:/u/9Mc9K48casR74O0eGbVLzew0paGTdkKlxtCe9hSc= -github.com/filecoin-project/go-fil-markets v1.22.0/go.mod h1:24yHf5IgFvmLwSSOy7k9AbLXIN0vFmZZ8atAfwy5Q8E= +github.com/filecoin-project/go-fil-markets v1.22.2 h1:8E2rQ9yo0ycZXJ/noIqPqkwjkyidUvr6O0MUYtUy5cc= +github.com/filecoin-project/go-fil-markets v1.22.2/go.mod h1:nuNgE+5tXuV3FVOKOVgcClBjH3UNE0gpgRYWCQEnvRM= github.com/filecoin-project/go-hamt-ipld v0.1.5 h1:uoXrKbCQZ49OHpsTCkrThPNelC4W3LPEk0OrS/ytIBM= github.com/filecoin-project/go-hamt-ipld v0.1.5/go.mod h1:6Is+ONR5Cd5R6XZoCse1CWaXZc0Hdb/JeX+EQCQzX24= github.com/filecoin-project/go-hamt-ipld/v2 v2.0.0 h1:b3UDemBYN2HNfk3KOXNuxgTTxlWi3xVvbQP0IT38fvM= @@ -357,11 +365,11 @@ github.com/filecoin-project/go-hamt-ipld/v2 v2.0.0/go.mod h1:7aWZdaQ1b16BVoQUYR+ github.com/filecoin-project/go-hamt-ipld/v3 v3.0.1/go.mod h1:gXpNmr3oQx8l3o7qkGyDjJjYSRX7hp/FGOStdqrWyDI= github.com/filecoin-project/go-hamt-ipld/v3 v3.1.0 h1:rVVNq0x6RGQIzCo1iiJlGFm9AGIZzeifggxtKMU7zmI= github.com/filecoin-project/go-hamt-ipld/v3 v3.1.0/go.mod h1:bxmzgT8tmeVQA1/gvBwFmYdT8SOFUwB3ovSUfG1Ux0g= -github.com/filecoin-project/go-indexer-core v0.2.9/go.mod h1:u03I3HB6ZnqCc3cm8Tq+QkTWBbfKOvNxM8K6Ny/IHRw= +github.com/filecoin-project/go-indexer-core v0.2.16/go.mod h1:5kCKyhtT9k1vephr9l9SFGX8B/HowXIvOhGCkmbxwbY= github.com/filecoin-project/go-jsonrpc v0.1.5 h1:ckxqZ09ivBAVf5CSmxxrqqNHC7PJm3GYGtYKiNQ+vGk= github.com/filecoin-project/go-jsonrpc v0.1.5/go.mod h1:XBBpuKIMaXIIzeqzO1iucq4GvbF8CxmXRFoezRh+Cx4= -github.com/filecoin-project/go-legs v0.3.10 h1:B14z78do63gkxf5Br7rPnxZsZk/m9PR3Mx5aOf2WTIs= -github.com/filecoin-project/go-legs v0.3.10/go.mod h1:5psVRe2nRQDa3PDtcd+2Ud4CirxOr2DI5VsDVMq7sIk= +github.com/filecoin-project/go-legs v0.4.4 h1:mpMmAOOnamaz0CV9rgeKhEWA8j9kMC+f+UGCGrxKaZo= +github.com/filecoin-project/go-legs v0.4.4/go.mod h1:JQ3hA6xpJdbR8euZ2rO0jkxaMxeidXf0LDnVuqPAe9s= github.com/filecoin-project/go-padreader v0.0.0-20200903213702-ed5fae088b20/go.mod h1:mPn+LRRd5gEKNAtc+r3ScpW2JRU/pj4NBKdADYWHiak= github.com/filecoin-project/go-padreader v0.0.1 h1:8h2tVy5HpoNbr2gBRr+WD6zV6VD6XHig+ynSGJg8ZOs= github.com/filecoin-project/go-padreader v0.0.1/go.mod h1:VYVPJqwpsfmtoHnAmPx6MUwmrK6HIcDqZJiuZhtmfLQ= @@ -387,8 +395,8 @@ github.com/filecoin-project/go-statestore v0.2.0 h1:cRRO0aPLrxKQCZ2UOQbzFGn4WDNd github.com/filecoin-project/go-statestore v0.2.0/go.mod h1:8sjBYbS35HwPzct7iT4lIXjLlYyPor80aU7t7a/Kspo= github.com/filecoin-project/go-storedcounter v0.1.0 h1:Mui6wSUBC+cQGHbDUBcO7rfh5zQkWJM/CpAZa/uOuus= github.com/filecoin-project/go-storedcounter v0.1.0/go.mod h1:4ceukaXi4vFURIoxYMfKzaRF5Xv/Pinh2oTnoxpv+z8= -github.com/filecoin-project/index-provider v0.6.1 h1:yVpmtm1ASl2JZMNDC6H2Fe0neYo5akYgaJJB2wlcsMU= -github.com/filecoin-project/index-provider v0.6.1/go.mod h1:iAbSQ6sUpKC4GqfUSheGnYwj9d9B+X8pPi4BV1PgwZA= +github.com/filecoin-project/index-provider v0.8.1 h1:ggoBWvMSWR91HZQCWfv8SZjoTGNyJBwNMLuN9bJZrbU= +github.com/filecoin-project/index-provider v0.8.1/go.mod h1:c/Ym5HtWPp9NQgNc9dgSBMpSNsZ/DE9FEi9qVubl5RM= github.com/filecoin-project/pubsub v1.0.0 h1:ZTmT27U07e54qV1mMiQo4HDr0buo8I1LDHBYLXlsNXM= github.com/filecoin-project/pubsub v1.0.0/go.mod h1:GkpB33CcUtUNrLPhJgfdy4FDx4OMNR9k+46DHx/Lqrg= github.com/filecoin-project/specs-actors v0.9.13/go.mod h1:TS1AW/7LbG+615j4NsjMK1qlpAwaFsG9w0V2tg2gSao= @@ -417,8 +425,8 @@ github.com/filecoin-project/specs-actors/v7 v7.0.1 h1:w72xCxijK7xs1qzmJiw+WYJaVt github.com/filecoin-project/specs-actors/v7 v7.0.1/go.mod h1:tPLEYXoXhcpyLh69Ccq91SOuLXsPWjHiY27CzawjUEk= github.com/filecoin-project/specs-actors/v8 v8.0.1 h1:4u0tIRJeT5G7F05lwLRIsDnsrN+bJ5Ixj6h49Q7uE2Y= github.com/filecoin-project/specs-actors/v8 v8.0.1/go.mod h1:UYIPg65iPWoFw5NEftREdJwv9b/5yaLKdCgTvNI/2FA= -github.com/filecoin-project/storetheindex v0.4.0 h1:MPIDJYBknPbwBcVf+2/WEIK6LKxhZmfQGCrqKmvhFyU= -github.com/filecoin-project/storetheindex v0.4.0/go.mod h1:LIwqpXoKeGxOGEjmxPfdYVPQYoZOSI3oXMUd9XTCpjc= +github.com/filecoin-project/storetheindex v0.4.17 h1:w0dVc954TGPukoVbidlYvn9Xt+wVhk5vBvrqeJiRo8I= +github.com/filecoin-project/storetheindex v0.4.17/go.mod h1:y2dL8C5D3PXi183hdxgGtM8vVYOZ1lg515tpl/D3tN8= github.com/filecoin-project/test-vectors/schema v0.0.5 h1:w3zHQhzM4pYxJDl21avXjOKBLF8egrvwUwjpT8TquDg= github.com/filecoin-project/test-vectors/schema v0.0.5/go.mod h1:iQ9QXLpYWL3m7warwvK1JC/pTri8mnfEmKygNDqqY6E= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= @@ -433,8 +441,9 @@ github.com/franela/goblin v0.0.0-20210519012713-85d372ac71e2/go.mod h1:VzmDKDJVZ github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.14.0/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09mUdL/ijj8og= -github.com/frankban/quicktest v1.14.2 h1:SPb1KFFmM+ybpEjPUhCCkZOM5xlovT5UbrMvWnXyBns= github.com/frankban/quicktest v1.14.2/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= +github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= @@ -576,8 +585,9 @@ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -651,6 +661,7 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= @@ -661,6 +672,7 @@ github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= +github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= @@ -714,8 +726,9 @@ github.com/ipfs/go-bitswap v0.1.0/go.mod h1:FFJEf18E9izuCqUtHxbWEvq+reg7o4CW5wSA github.com/ipfs/go-bitswap v0.1.2/go.mod h1:qxSWS4NXGs7jQ6zQvoPY3+NmOfHHG47mhkiLzBpJQIs= github.com/ipfs/go-bitswap v0.1.8/go.mod h1:TOWoxllhccevbWFUR2N7B1MTSVVge1s6XSMiCSA4MzM= github.com/ipfs/go-bitswap v0.3.4/go.mod h1:4T7fvNv/LmOys+21tnLzGKncMeeXUYUd1nUiJ2teMvI= -github.com/ipfs/go-bitswap v0.5.1 h1:721YAEDBnLIrvcIMkCHCdqp34hA8jwL9yKMkyJpSpco= github.com/ipfs/go-bitswap v0.5.1/go.mod h1:P+ckC87ri1xFLvk74NlXdP0Kj9RmWAh4+H78sC6Qopo= +github.com/ipfs/go-bitswap v0.6.0 h1:f2rc6GZtoSFhEIzQmddgGiel9xntj02Dg0ZNf2hSC+w= +github.com/ipfs/go-bitswap v0.6.0/go.mod h1:Hj3ZXdOC5wBJvENtdqsixmzzRukqd8EHLxZLZc3mzRA= github.com/ipfs/go-block-format v0.0.1/go.mod h1:DK/YYcsSUIVAFNwo/KZCdIIbpN0ROH/baNLgayt4pFc= github.com/ipfs/go-block-format v0.0.2/go.mod h1:AWR46JfpcObNfg3ok2JHDUfdiHRgWhJgCQF+KIgOPJY= github.com/ipfs/go-block-format v0.0.3 h1:r8t66QstRp/pd/or4dpnbVfXT5Gt7lOqRvC+/dDTpMc= @@ -724,8 +737,9 @@ github.com/ipfs/go-blockservice v0.0.7/go.mod h1:EOfb9k/Y878ZTRY/CH0x5+ATtaipfbR github.com/ipfs/go-blockservice v0.1.0/go.mod h1:hzmMScl1kXHg3M2BjTymbVPjv627N7sYcvYaKbop39M= github.com/ipfs/go-blockservice v0.1.4/go.mod h1:OTZhFpkgY48kNzbgyvcexW9cHrpjBYIjSR0KoDOFOLU= github.com/ipfs/go-blockservice v0.1.7/go.mod h1:GmS+BAt4hrwBKkzE11AFDQUrnvqjwFatGS2MY7wOjEM= -github.com/ipfs/go-blockservice v0.2.1 h1:NJ4j/cwEfIg60rzAWcCIxRtOwbf6ZPK49MewNxObCPQ= github.com/ipfs/go-blockservice v0.2.1/go.mod h1:k6SiwmgyYgs4M/qt+ww6amPeUH9EISLRBnvUurKJhi8= +github.com/ipfs/go-blockservice v0.3.0 h1:cDgcZ+0P0Ih3sl8+qjFr2sVaMdysg/YZpLj5WJ8kiiw= +github.com/ipfs/go-blockservice v0.3.0/go.mod h1:P5ppi8IHDC7O+pA0AlGTF09jruB2h+oP3wVVaZl8sfk= github.com/ipfs/go-cid v0.0.1/go.mod h1:GHWU/WuQdMPmIosc4Yn1bcCT7dSeX4lBafM7iqUPQvM= github.com/ipfs/go-cid v0.0.2/go.mod h1:GHWU/WuQdMPmIosc4Yn1bcCT7dSeX4lBafM7iqUPQvM= github.com/ipfs/go-cid v0.0.3/go.mod h1:GHWU/WuQdMPmIosc4Yn1bcCT7dSeX4lBafM7iqUPQvM= @@ -735,10 +749,12 @@ github.com/ipfs/go-cid v0.0.5/go.mod h1:plgt+Y5MnOey4vO4UlUazGqdbEXuFYitED67Fexh github.com/ipfs/go-cid v0.0.6-0.20200501230655-7c82f3b81c00/go.mod h1:plgt+Y5MnOey4vO4UlUazGqdbEXuFYitED67FexhXog= github.com/ipfs/go-cid v0.0.6/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqgC/I= github.com/ipfs/go-cid v0.0.7/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqgC/I= -github.com/ipfs/go-cid v0.1.0 h1:YN33LQulcRHjfom/i25yoOZR4Telp1Hr/2RU3d0PnC0= github.com/ipfs/go-cid v0.1.0/go.mod h1:rH5/Xv83Rfy8Rw6xG+id3DYAMUVmem1MowoKwdXmN2o= -github.com/ipfs/go-cidutil v0.0.2 h1:CNOboQf1t7Qp0nuNh8QMmhJs0+Q//bRL1axtCnIB1Yo= +github.com/ipfs/go-cid v0.2.0 h1:01JTiihFq9en9Vz0lc0VDWvZe/uBonGpzo4THP0vcQ0= +github.com/ipfs/go-cid v0.2.0/go.mod h1:P+HXFDF4CVhaVayiEb4wkAy7zBHxBwsJyt0Y5U6MLro= github.com/ipfs/go-cidutil v0.0.2/go.mod h1:ewllrvrxG6AMYStla3GD7Cqn+XYSLqjK0vc+086tB6s= +github.com/ipfs/go-cidutil v0.1.0 h1:RW5hO7Vcf16dplUU60Hs0AKDkQAVPVplr7lk97CFL+Q= +github.com/ipfs/go-cidutil v0.1.0/go.mod h1:e7OEVBMIv9JaOxt9zaGEmAoSlXW9jdFZ5lP/0PwcfpA= 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= @@ -752,6 +768,7 @@ github.com/ipfs/go-datastore v0.4.5/go.mod h1:eXTcaaiN6uOlVCLS9GjJUJtlvJfM3xk23w github.com/ipfs/go-datastore v0.5.0/go.mod h1:9zhEApYMTl17C8YDp7JmU7sQZi2/wqiYh73hakZ90Bk= github.com/ipfs/go-datastore v0.5.1 h1:WkRhLuISI+XPD0uk3OskB0fYFSyqK8Ob5ZYew9Qa1nQ= github.com/ipfs/go-datastore v0.5.1/go.mod h1:9zhEApYMTl17C8YDp7JmU7sQZi2/wqiYh73hakZ90Bk= +github.com/ipfs/go-delegated-routing v0.2.2/go.mod h1:T8wrRhlXBHLPUR3bZQgArHPfdi7nBfOsZ1m5fr9tAp4= github.com/ipfs/go-detect-race v0.0.1 h1:qX/xay2W3E4Q1U7d9lNs1sU9nvguX0a7319XbyQ6cOk= github.com/ipfs/go-detect-race v0.0.1/go.mod h1:8BNT7shDZPo99Q74BpGMK+4D8Mn4j46UU0LZ723meps= github.com/ipfs/go-ds-badger v0.0.2/go.mod h1:Y3QpeSFWQf6MopLTiZD+VT6IC1yZqaGmjvRcKeSGij8= @@ -775,17 +792,16 @@ github.com/ipfs/go-ds-measure v0.2.0 h1:sG4goQe0KDTccHMyT45CY1XyUbxe5VwTKpg2LjAp github.com/ipfs/go-ds-measure v0.2.0/go.mod h1:SEUD/rE2PwRa4IQEC5FuNAmjJCyYObZr9UvVh8V3JxE= github.com/ipfs/go-fetcher v1.5.0/go.mod h1:5pDZ0393oRF/fHiLmtFZtpMNBQfHOYNPtryWedVuSWE= github.com/ipfs/go-fetcher v1.6.1/go.mod h1:27d/xMV8bodjVs9pugh/RCjjK2OZ68UgAMspMdingNo= -github.com/ipfs/go-filestore v0.1.0/go.mod h1:0KTrzoJnJ3sJDEDM09Vq8nz8H475rRyeq4i0n/bpF00= -github.com/ipfs/go-filestore v1.1.0 h1:Pu4tLBi1bucu6/HU9llaOmb9yLFk/sgP+pW764zNDoE= github.com/ipfs/go-filestore v1.1.0/go.mod h1:6e1/5Y6NvLuCRdmda/KA4GUhXJQ3Uat6vcWm2DJfxc8= +github.com/ipfs/go-filestore v1.2.0 h1:O2wg7wdibwxkEDcl7xkuQsPvJFRBVgVSsOJ/GP6z3yU= +github.com/ipfs/go-filestore v1.2.0/go.mod h1:HLJrCxRXquTeEEpde4lTLMaE/MYJZD7WHLkp9z6+FF8= github.com/ipfs/go-fs-lock v0.0.6/go.mod h1:OTR+Rj9sHiRubJh3dRhD15Juhd/+w6VPOY28L7zESmM= github.com/ipfs/go-fs-lock v0.0.7 h1:6BR3dajORFrFTkb5EpCUFIAypsoxpGpDSVUdFwzgL9U= github.com/ipfs/go-fs-lock v0.0.7/go.mod h1:Js8ka+FNYmgQRLrRXzU3CB/+Csr1BwrRilEcvYrHhhc= github.com/ipfs/go-graphsync v0.11.0/go.mod h1:wC+c8vGVjAHthsVIl8LKr37cUra2GOaMYcQNNmMxDqE= -github.com/ipfs/go-graphsync v0.12.0/go.mod h1:nASYWYETgsnMbQ3+DirNImOHQ8TY0a5AhAqyOY55tUg= github.com/ipfs/go-graphsync v0.13.1 h1:lWiP/WLycoPUYyj3IDEi1GJNP30kFuYOvimcfeuZyQs= github.com/ipfs/go-graphsync v0.13.1/go.mod h1:y8e8G6CmZeL9Srvx1l15CtGiRdf3h5JdQuqPz/iYL0A= -github.com/ipfs/go-ipfs v0.11.0/go.mod h1:g68Thu2Ho11AWoHsN34P5fSK7iA6OWWRy3T/g8HLixc= +github.com/ipfs/go-ipfs v0.12.1/go.mod h1:Sbei4ScHevs2v47nUgONQMtHlUfaJjjTNDbhUU1OzOM= github.com/ipfs/go-ipfs-blockstore v0.0.1/go.mod h1:d3WClOmRQKFnJ0Jz/jj/zmksX0ma1gROTlovZKBmN08= github.com/ipfs/go-ipfs-blockstore v0.1.0/go.mod h1:5aD0AvHPi7mZc6Ci1WCAhiBQu2IsfTduLl+422H6Rqw= github.com/ipfs/go-ipfs-blockstore v0.1.4/go.mod h1:Jxm3XMVjh6R17WvxFEiyKBLUGr86HgIYJW/D/MwqeYQ= @@ -794,16 +810,17 @@ github.com/ipfs/go-ipfs-blockstore v0.2.1/go.mod h1:jGesd8EtCM3/zPgx+qr0/feTXGUe github.com/ipfs/go-ipfs-blockstore v1.0.4-0.20210205083733-fb07d7bc5aec/go.mod h1:feuklK+m9POeWJzYQO7l05yNEgUiX5oELBNA8/Be33E= github.com/ipfs/go-ipfs-blockstore v1.0.4/go.mod h1:uL7/gTJ8QIZ3MtA3dWf+s1a0U3fJy2fcEZAsovpRp+w= github.com/ipfs/go-ipfs-blockstore v1.1.1/go.mod h1:w51tNR9y5+QXB0wkNcHt4O2aSZjTdqaEWaQdSxEyUOY= -github.com/ipfs/go-ipfs-blockstore v1.1.2 h1:WCXoZcMYnvOTmlpX+RSSnhVN0uCmbWTeepTGX5lgiXw= github.com/ipfs/go-ipfs-blockstore v1.1.2/go.mod h1:w51tNR9y5+QXB0wkNcHt4O2aSZjTdqaEWaQdSxEyUOY= +github.com/ipfs/go-ipfs-blockstore v1.2.0 h1:n3WTeJ4LdICWs/0VSfjHrlqpPpl6MZ+ySd3j8qz0ykw= +github.com/ipfs/go-ipfs-blockstore v1.2.0/go.mod h1:eh8eTFLiINYNSNawfZOC7HOxNTxpB1PFuA5E1m/7exE= github.com/ipfs/go-ipfs-blocksutil v0.0.1 h1:Eh/H4pc1hsvhzsQoMEP3Bke/aW5P5rVM1IWFJMcGIPQ= github.com/ipfs/go-ipfs-blocksutil v0.0.1/go.mod h1:Yq4M86uIOmxmGPUHv/uI7uKqZNtLb449gwKqXjIsnRk= github.com/ipfs/go-ipfs-chunker v0.0.1/go.mod h1:tWewYK0we3+rMbOh7pPFGDyypCtvGcBFymgY4rSDLAw= github.com/ipfs/go-ipfs-chunker v0.0.5 h1:ojCf7HV/m+uS2vhUGWcogIIxiO5ubl5O57Q7NapWLY8= github.com/ipfs/go-ipfs-chunker v0.0.5/go.mod h1:jhgdF8vxRHycr00k13FM8Y0E+6BoalYeobXmUyTreP8= -github.com/ipfs/go-ipfs-cmds v0.3.0/go.mod h1:ZgYiWVnCk43ChwoH8hAmI1IRbuVtq3GSTHwtRB/Kqhk= -github.com/ipfs/go-ipfs-cmds v0.6.0 h1:yAxdowQZzoFKjcLI08sXVNnqVj3jnABbf9smrPQmBsw= github.com/ipfs/go-ipfs-cmds v0.6.0/go.mod h1:ZgYiWVnCk43ChwoH8hAmI1IRbuVtq3GSTHwtRB/Kqhk= +github.com/ipfs/go-ipfs-cmds v0.7.0 h1:0lEldmB7C83RxIOer38Sv1ob6wIoCAIEOaxiYgcv7wA= +github.com/ipfs/go-ipfs-cmds v0.7.0/go.mod h1:y0bflH6m4g6ary4HniYt98UqbrVnRxmRarzeMdLIUn0= github.com/ipfs/go-ipfs-config v0.5.3/go.mod h1:nSLCFtlaL+2rbl3F+9D4gQZQbT1LjRKx7TJg/IHz6oM= github.com/ipfs/go-ipfs-config v0.18.0 h1:Ta1aNGNEq6RIvzbw7dqzCVZJKb7j+Dd35JFnAOCpT8g= github.com/ipfs/go-ipfs-config v0.18.0/go.mod h1:wz2lKzOjgJeYJa6zx8W9VT7mz+iSd0laBMqS/9wmX6A= @@ -819,15 +836,17 @@ github.com/ipfs/go-ipfs-exchange-interface v0.0.1/go.mod h1:c8MwfHjtQjPoDyiy9cFq github.com/ipfs/go-ipfs-exchange-interface v0.1.0 h1:TiMekCrOGQuWYtZO3mf4YJXDIdNgnKWZ9IE3fGlnWfo= github.com/ipfs/go-ipfs-exchange-interface v0.1.0/go.mod h1:ych7WPlyHqFvCi/uQI48zLZuAWVP5iTQPXEfVaw5WEI= github.com/ipfs/go-ipfs-exchange-offline v0.0.1/go.mod h1:WhHSFCVYX36H/anEKQboAzpUws3x7UeEGkzQc3iNkM0= -github.com/ipfs/go-ipfs-exchange-offline v0.1.1 h1:mEiXWdbMN6C7vtDG21Fphx8TGCbZPpQnz/496w/PL4g= github.com/ipfs/go-ipfs-exchange-offline v0.1.1/go.mod h1:vTiBRIbzSwDD0OWm+i3xeT0mO7jG2cbJYatp3HPk5XY= +github.com/ipfs/go-ipfs-exchange-offline v0.2.0 h1:2PF4o4A7W656rC0RxuhUace997FTcDTcIQ6NoEtyjAI= +github.com/ipfs/go-ipfs-exchange-offline v0.2.0/go.mod h1:HjwBeW0dvZvfOMwDP0TSKXIHf2s+ksdP4E3MLDRtLKY= github.com/ipfs/go-ipfs-files v0.0.3/go.mod h1:INEFm0LL2LWXBhNJ2PMIIb2w45hpXgPjNoE7yA8Y1d4= github.com/ipfs/go-ipfs-files v0.0.4/go.mod h1:INEFm0LL2LWXBhNJ2PMIIb2w45hpXgPjNoE7yA8Y1d4= github.com/ipfs/go-ipfs-files v0.0.8/go.mod h1:wiN/jSG8FKyk7N0WyctKSvq3ljIa2NNTiZB55kpTdOs= -github.com/ipfs/go-ipfs-files v0.0.9 h1:OFyOfmuVDu9c5YtjSDORmwXzE6fmZikzZpzsnNkgFEg= github.com/ipfs/go-ipfs-files v0.0.9/go.mod h1:aFv2uQ/qxWpL/6lidWvnSQmaVqCrf0TBGoUr+C1Fo84= -github.com/ipfs/go-ipfs-http-client v0.0.6 h1:k2QllZyP7Fz5hMgsX5hvHfn1WPG9Ngdy5WknQ7JNhBM= -github.com/ipfs/go-ipfs-http-client v0.0.6/go.mod h1:8e2dQbntMZKxLfny+tyXJ7bJHZFERp/2vyzZdvkeLMc= +github.com/ipfs/go-ipfs-files v0.1.1 h1:/MbEowmpLo9PJTEQk16m9rKzUHjeP4KRU9nWJyJO324= +github.com/ipfs/go-ipfs-files v0.1.1/go.mod h1:8xkIrMWH+Y5P7HvJ4Yc5XWwIW2e52dyXUiC0tZyjDbM= +github.com/ipfs/go-ipfs-http-client v0.4.0 h1:LNuVbFoKfCohCmcNImml3byM3PpTxTT7RPrv/UoDFkI= +github.com/ipfs/go-ipfs-http-client v0.4.0/go.mod h1:NXzPUKt/QVCuR74a8angJCGOSLPImNi5LqaTxIep/70= github.com/ipfs/go-ipfs-keystore v0.0.2/go.mod h1:H49tRmibOEs7gLMgbOsjC4dqh1u5e0R/SWuc2ScfgSo= github.com/ipfs/go-ipfs-pinner v0.2.1/go.mod h1:l1AtLL5bovb7opnG77sh4Y10waINz3Y1ni6CvTzx7oo= github.com/ipfs/go-ipfs-posinfo v0.0.1 h1:Esoxj+1JgSjX0+ylc0hUmJCOv6V2vFoZiETLR6OtpRs= @@ -852,8 +871,10 @@ github.com/ipfs/go-ipld-cbor v0.0.6 h1:pYuWHyvSpIsOOLw4Jy7NbBkCyzLDcl64Bf/LZW7eB github.com/ipfs/go-ipld-cbor v0.0.6/go.mod h1:ssdxxaLJPXH7OjF5V4NSjBbcfh+evoR4ukuru0oPXMA= github.com/ipfs/go-ipld-format v0.0.1/go.mod h1:kyJtbkDALmFHv3QR6et67i35QzO3S0dCDnkOJhcZkms= github.com/ipfs/go-ipld-format v0.0.2/go.mod h1:4B6+FM2u9OJ9zCV+kSbgFAZlOrv1Hqbf0INGQgiKf9k= -github.com/ipfs/go-ipld-format v0.2.0 h1:xGlJKkArkmBvowr+GMCX0FEZtkro71K1AwiKnL37mwA= github.com/ipfs/go-ipld-format v0.2.0/go.mod h1:3l3C1uKoadTPbeNfrDi+xMInYKlx2Cvg1BuydPSdzQs= +github.com/ipfs/go-ipld-format v0.3.0/go.mod h1:co/SdBE8h99968X0hViiw1MNlh6fvxxnHpvVLnH7jSM= +github.com/ipfs/go-ipld-format v0.4.0 h1:yqJSaJftjmjc9jEOFYlpkwOLVKv68OD27jFLlSghBlQ= +github.com/ipfs/go-ipld-format v0.4.0/go.mod h1:co/SdBE8h99968X0hViiw1MNlh6fvxxnHpvVLnH7jSM= github.com/ipfs/go-ipld-git v0.1.1/go.mod h1:+VyMqF5lMcJh4rwEppV0e6g4nCCHXThLYYDpKUkJubI= github.com/ipfs/go-ipld-legacy v0.1.0/go.mod h1:86f5P/srAmh9GcIcWQR9lfFLZPrIyyXQeVlOWeeWEuI= github.com/ipfs/go-ipld-legacy v0.1.1 h1:BvD8PEuqwBHLTKqlGFTHSwrwFOMkVESEvwIYwR2cdcc= @@ -887,8 +908,9 @@ github.com/ipfs/go-merkledag v0.2.3/go.mod h1:SQiXrtSts3KGNmgOzMICy5c0POOpUNQLvB github.com/ipfs/go-merkledag v0.2.4/go.mod h1:SQiXrtSts3KGNmgOzMICy5c0POOpUNQLvB3ClKnBAlk= github.com/ipfs/go-merkledag v0.3.2/go.mod h1:fvkZNNZixVW6cKSZ/JfLlON5OlgTXNdRLz0p6QG/I2M= github.com/ipfs/go-merkledag v0.4.0/go.mod h1:XshXBkhyeS63YNGisLL1uDSfuTyrQIxVUOg3ojR5MOE= -github.com/ipfs/go-merkledag v0.5.1 h1:tr17GPP5XtPhvPPiWtu20tSGZiZDuTaJRXBLcr79Umk= github.com/ipfs/go-merkledag v0.5.1/go.mod h1:cLMZXx8J08idkp5+id62iVftUQV+HlYJ3PIhDfZsjA4= +github.com/ipfs/go-merkledag v0.6.0 h1:oV5WT2321tS4YQVOPgIrWHvJ0lJobRTerU+i9nmUCuA= +github.com/ipfs/go-merkledag v0.6.0/go.mod h1:9HSEwRd5sV+lbykiYP+2NC/3o6MZbKNaa4hfNcH5iH0= github.com/ipfs/go-metrics-interface v0.0.1 h1:j+cpbjYvu4R8zbleSs36gvB7jR+wsL2fGD6n0jO4kdg= github.com/ipfs/go-metrics-interface v0.0.1/go.mod h1:6s6euYU4zowdslK0GKHmqaIZ3j/b/tL7HTWtJ4VPgWY= github.com/ipfs/go-metrics-prometheus v0.0.2 h1:9i2iljLg12S78OhC6UAiXi176xvQGiZaGVF1CUVdE+s= @@ -898,8 +920,9 @@ github.com/ipfs/go-namesys v0.4.0/go.mod h1:jpJwzodyP8DZdWN6DShRjVZw6gaqMr4nQLBS github.com/ipfs/go-path v0.0.7/go.mod h1:6KTKmeRnBXgqrTvzFrPV3CamxcgvXX/4z79tfAd2Sno= github.com/ipfs/go-path v0.0.9/go.mod h1:VpDkSBKQ9EFQOUgi54Tq/O/tGi8n1RfYNks13M3DEs8= github.com/ipfs/go-path v0.1.1/go.mod h1:vC8q4AKOtrjJz2NnllIrmr2ZbGlF5fW2OKKyhV9ggb0= -github.com/ipfs/go-path v0.2.1 h1:R0JYCu0JBnfa6A3C42nzsNPxtKU5/fnUPhWSuzcJHws= github.com/ipfs/go-path v0.2.1/go.mod h1:NOScsVgxfC/eIw4nz6OiGwK42PjaSJ4Y/ZFPn1Xe07I= +github.com/ipfs/go-path v0.3.0 h1:tkjga3MtpXyM5v+3EbRvOHEoo+frwi4oumw5K+KYWyA= +github.com/ipfs/go-path v0.3.0/go.mod h1:NOScsVgxfC/eIw4nz6OiGwK42PjaSJ4Y/ZFPn1Xe07I= github.com/ipfs/go-peertaskqueue v0.0.4/go.mod h1:03H8fhyeMfKNFWqzYEVyMbcPUeYrqP1MX6Kd+aN+rMQ= github.com/ipfs/go-peertaskqueue v0.1.0/go.mod h1:Jmk3IyCcfl1W3jTW3YpghSwSEC6IJ3Vzz/jUmWw8Z0U= github.com/ipfs/go-peertaskqueue v0.1.1/go.mod h1:Jmk3IyCcfl1W3jTW3YpghSwSEC6IJ3Vzz/jUmWw8Z0U= @@ -916,25 +939,27 @@ github.com/ipfs/go-unixfs v0.3.1 h1:LrfED0OGfG98ZEegO4/xiprx2O+yS+krCMQSp7zLVv8= github.com/ipfs/go-unixfs v0.3.1/go.mod h1:h4qfQYzghiIc8ZNFKiLMFWOTzrWIAtzYQ59W/pCFf1o= github.com/ipfs/go-unixfsnode v1.1.2/go.mod h1:5dcE2x03pyjHk4JjamXmunTMzz+VUtqvPwZjIEkfV6s= github.com/ipfs/go-unixfsnode v1.1.3/go.mod h1:ZZxUM5wXBC+G0Co9FjrYTOm+UlhZTjxLfRYdWY9veZ4= -github.com/ipfs/go-unixfsnode v1.2.0/go.mod h1:mQEgLjxkV/1mohkC4p7taRRBYPBeXu97SA3YaerT2q0= github.com/ipfs/go-unixfsnode v1.4.0 h1:9BUxHBXrbNi8mWHc6j+5C580WJqtVw9uoeEKn4tMhwA= github.com/ipfs/go-unixfsnode v1.4.0/go.mod h1:qc7YFFZ8tABc58p62HnIYbUMwj9chhUuFWmxSokfePo= 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.5.2 h1:m1/5U+WpOK2ZE7Qzs5iIu80QM1ZA3aWYi2Ilwpi+tdg= github.com/ipfs/interface-go-ipfs-core v0.5.2/go.mod h1:lNBJrdXHtWS46evMPBdWtDQMDsrKcGbxCOGoKLkztOE= +github.com/ipfs/interface-go-ipfs-core v0.7.0 h1:7tb+2upz8oCcjIyjo1atdMk+P+u7wPmI+GksBlLE8js= +github.com/ipfs/interface-go-ipfs-core v0.7.0/go.mod h1:lF27E/nnSPbylPqKVXGZghal2hzifs3MmjyiEjnc9FY= github.com/ipfs/iptb v1.4.0 h1:YFYTrCkLMRwk/35IMyC6+yjoQSHTEcNcefBStLJzgvo= github.com/ipfs/iptb v1.4.0/go.mod h1:1rzHpCYtNp87/+hTxG5TfCVn/yMY3dKnLn8tBiMfdmg= github.com/ipfs/iptb-plugins v0.3.0 h1:C1rpq1o5lUZtaAOkLIox5akh6ba4uk/3RwWc6ttVxw0= github.com/ipfs/iptb-plugins v0.3.0/go.mod h1:5QtOvckeIw4bY86gSH4fgh3p3gCSMn3FmIKr4gaBncA= github.com/ipfs/tar-utils v0.0.2/go.mod h1:4qlnRWgTVljIMhSG2SqRYn66NT+3wrv/kZt9V+eqxDM= +github.com/ipld/edelweiss v0.1.2/go.mod h1:14NnBVHgrPO8cqDnKg7vc69LGI0aCAcax6mj21+99ec= github.com/ipld/go-car v0.1.0/go.mod h1:RCWzaUh2i4mOEkB3W45Vc+9jnS/M6Qay5ooytiBHl3g= github.com/ipld/go-car v0.3.2/go.mod h1:WEjynkVt04dr0GwJhry0KlaTeSDEiEYyMPOxDBQ17KE= github.com/ipld/go-car v0.3.3 h1:D6y+jvg9h2ZSv7GLUMWUwg5VTLy1E7Ak+uQw5orOg3I= github.com/ipld/go-car v0.3.3/go.mod h1:/wkKF4908ULT4dFIFIUZYcfjAnj+KFnJvlh8Hsz1FbQ= -github.com/ipld/go-car/v2 v2.1.1 h1:saaKz4nC0AdfCGHLYKeXLGn8ivoPC54fyS55uyOLKwA= github.com/ipld/go-car/v2 v2.1.1/go.mod h1:+2Yvf0Z3wzkv7NeI69i8tuZ+ft7jyjPYIWZzeVNeFcI= +github.com/ipld/go-car/v2 v2.2.0 h1:CxNhm5zBijR/68VLP+m40Rdq3s6l61+j4SVCOD3Wgl0= +github.com/ipld/go-car/v2 v2.2.0/go.mod h1:zjpRf0Jew9gHqSvjsKVyoq9OY9SWoEKdYCQUKVaaPT0= github.com/ipld/go-codec-dagpb v1.2.0/go.mod h1:6nBN7X7h8EOsEejZGqC7tej5drsdBAXbMHyBT+Fne5s= github.com/ipld/go-codec-dagpb v1.3.0/go.mod h1:ga4JTU3abYApDC3pZ00BC2RSvC3qfBb9MSJkMLSwnhA= github.com/ipld/go-codec-dagpb v1.3.1/go.mod h1:ErNNglIi5KMur/MfFE/svtgQthzVvf+43MrzLbpcIZY= @@ -950,15 +975,16 @@ github.com/ipld/go-ipld-prime v0.14.0/go.mod h1:9ASQLwUFLptCov6lIYc70GRB4V7UTyLD github.com/ipld/go-ipld-prime v0.14.1/go.mod h1:QcE4Y9n/ZZr8Ijg5bGPT0GqYWgZ1704nH0RDcQtgTP0= github.com/ipld/go-ipld-prime v0.14.2/go.mod h1:QcE4Y9n/ZZr8Ijg5bGPT0GqYWgZ1704nH0RDcQtgTP0= github.com/ipld/go-ipld-prime v0.14.3-0.20211207234443-319145880958/go.mod h1:QcE4Y9n/ZZr8Ijg5bGPT0GqYWgZ1704nH0RDcQtgTP0= -github.com/ipld/go-ipld-prime v0.14.4/go.mod h1:QcE4Y9n/ZZr8Ijg5bGPT0GqYWgZ1704nH0RDcQtgTP0= -github.com/ipld/go-ipld-prime v0.16.0 h1:RS5hhjB/mcpeEPJvfyj0qbOj/QL+/j05heZ0qa97dVo= +github.com/ipld/go-ipld-prime v0.14.4-0.20211217152141-008fd70fc96f/go.mod h1:QcE4Y9n/ZZr8Ijg5bGPT0GqYWgZ1704nH0RDcQtgTP0= github.com/ipld/go-ipld-prime v0.16.0/go.mod h1:axSCuOCBPqrH+gvXr2w9uAOulJqBPhHPT2PjoiiU1qA= +github.com/ipld/go-ipld-prime v0.17.0 h1:+U2peiA3aQsE7mrXjD2nYZaZrCcakoz2Wge8K42Ld8g= +github.com/ipld/go-ipld-prime v0.17.0/go.mod h1:aYcKm5TIvGfY8P3QBKz/2gKcLxzJ1zDaD+o0bOowhgs= github.com/ipld/go-ipld-prime-proto v0.0.0-20191113031812-e32bd156a1e5/go.mod h1:gcvzoEDBjwycpXt3LBE061wT9f46szXGHAmj9uoP6fU= github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20211210234204-ce2a1c70cd73 h1:TsyATB2ZRRQGTwafJdgEUQkmjOExRV0DNokcihZxbnQ= github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20211210234204-ce2a1c70cd73/go.mod h1:2PJ0JgxyB08t0b2WKrcuqI3di0V+5n6RS/LTUJhkoxY= github.com/ipld/go-ipld-selector-text-lite v0.0.1 h1:lNqFsQpBHc3p5xHob2KvEg/iM5dIFn6iw4L/Hh+kS1Y= github.com/ipld/go-ipld-selector-text-lite v0.0.1/go.mod h1:U2CQmFb+uWzfIEF3I1arrDa5rwtj00PrpiwwCO+k1RM= -github.com/ipld/go-storethehash v0.0.2/go.mod h1:w8cQfWInks8lvvbQTiKbCPusU9v0sqiViBihTHbavpQ= +github.com/ipld/go-storethehash v0.1.7/go.mod h1:O2CgbSwJfXCrYsjA1g1M7zJmVzzg71BM00ds6pyMLAQ= github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 h1:QG4CGBqCeuBo6aZlGAamSkxWdgWfZGeE49eUOWJPA4c= github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52/go.mod h1:fdg+/X9Gg4AsAIzWpEHwnqd+QY3b7lajxyjE1m4hkq4= github.com/jackpal/gateway v1.0.5/go.mod h1:lTpwd4ACLXmpyiCTRtfiNyVnUmqT9RivzCDQetPfnjA= @@ -1068,7 +1094,6 @@ github.com/libp2p/go-conn-security-multistream v0.0.2/go.mod h1:nc9vud7inQ+d6SO0 github.com/libp2p/go-conn-security-multistream v0.1.0/go.mod h1:aw6eD7LOsHEX7+2hJkDxw1MteijaVcI+/eP2/x3J1xc= github.com/libp2p/go-conn-security-multistream v0.2.0/go.mod h1:hZN4MjlNetKD3Rq5Jb/P5ohUnFLNzEAR4DLSzpn2QLU= github.com/libp2p/go-conn-security-multistream v0.2.1/go.mod h1:cR1d8gA0Hr59Fj6NhaTpFhJZrjSYuNmhpT2r25zYR70= -github.com/libp2p/go-conn-security-multistream v0.3.0 h1:9UCIKlBL1hC9u7nkMXpD1nkc/T53PKMAn3/k9ivBAVc= github.com/libp2p/go-conn-security-multistream v0.3.0/go.mod h1:EEP47t4fw/bTelVmEzIDqSe69hO/ip52xBEhZMLWAHM= github.com/libp2p/go-doh-resolver v0.3.1/go.mod h1:y5go1ZppAq9N2eppbX0xON01CyPBeUg2yS6BTssssog= github.com/libp2p/go-eventbus v0.0.2/go.mod h1:Hr/yGlwxA/stuLnpMiu82lpNKpvRy3EaJxPu40XYOwk= @@ -1095,13 +1120,15 @@ github.com/libp2p/go-libp2p v0.14.3/go.mod h1:d12V4PdKbpL0T1/gsUNN8DfgMuRPDX8bS2 github.com/libp2p/go-libp2p v0.14.4/go.mod h1:EIRU0Of4J5S8rkockZM7eJp2S0UrCyi55m2kJVru3rM= github.com/libp2p/go-libp2p v0.16.0/go.mod h1:ump42BsirwAWxKzsCiFnTtN1Yc+DuPu76fyMX364/O4= github.com/libp2p/go-libp2p v0.17.0/go.mod h1:Fkin50rsGdv5mm5BshBUtPRZknt9esfmYXBOYcwOTgw= -github.com/libp2p/go-libp2p v0.18.0-rc1/go.mod h1:RgYlH7IIWHXREimC92bw5Lg1V2R5XmSzuLHb5fTnr+8= -github.com/libp2p/go-libp2p v0.18.0-rc5/go.mod h1:aZPS5l84bDvCvP4jkyEUT/J6YOpUq33Fgqrs3K59mpI= -github.com/libp2p/go-libp2p v0.19.4 h1:50YL0YwPhWKDd+qbZQDEdnsmVAAkaCQrWUjpdHv4hNA= +github.com/libp2p/go-libp2p v0.18.0/go.mod h1:+veaZ9z1SZQhmc5PW78jvnnxZ89Mgvmh4cggO11ETmw= github.com/libp2p/go-libp2p v0.19.4/go.mod h1:MIt8y481VDhUe4ErWi1a4bvt/CjjFfOq6kZTothWIXY= +github.com/libp2p/go-libp2p v0.20.0/go.mod h1:g0C5Fu+aXXbCXkusCzLycuBowEih3ElmDqtbo61Em7k= +github.com/libp2p/go-libp2p v0.20.1 h1:tCgC8yXtleyOg/mp+ZoCcA+aryAhueCfFmAVXURT/PM= +github.com/libp2p/go-libp2p v0.20.1/go.mod h1:XgJHsOhEBVBXp/2Sj9bm/yEyD94uunAaP6oaegdcKks= github.com/libp2p/go-libp2p-asn-util v0.0.0-20200825225859-85005c6cf052/go.mod h1:nRMRTab+kZuk0LnKZpxhOVH/ndsdr2Nr//Zltc/vwgo= -github.com/libp2p/go-libp2p-asn-util v0.1.0 h1:rABPCO77SjdbJ/eJ/ynIo8vWICy1VEnL5JAxJbQLo1E= github.com/libp2p/go-libp2p-asn-util v0.1.0/go.mod h1:wu+AnM9Ii2KgO5jMmS1rz9dvzTdj8BXqsPR9HR0XB7I= +github.com/libp2p/go-libp2p-asn-util v0.2.0 h1:rg3+Os8jbnO5DxkC7K/Utdi+DkY3q/d1/1q+8WeNAsw= +github.com/libp2p/go-libp2p-asn-util v0.2.0/go.mod h1:WoaWxbHKBymSN41hWSq/lGKJEca7TNm58+gGJi2WsLI= github.com/libp2p/go-libp2p-autonat v0.0.6/go.mod h1:uZneLdOkZHro35xIhpbtTzLlgYturpu4J5+0cZK3MqE= github.com/libp2p/go-libp2p-autonat v0.1.0/go.mod h1:1tLf2yXxiE/oKGtDwPYWTSYG3PtvYlJmg7NeVtPRqH8= github.com/libp2p/go-libp2p-autonat v0.1.1/go.mod h1:OXqkeGOY2xJVWKAGV2inNF5aKN/djNA3fdpCWloIudE= @@ -1169,8 +1196,9 @@ github.com/libp2p/go-libp2p-core v0.11.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQR github.com/libp2p/go-libp2p-core v0.12.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQRAMf0sX9mf2sbGg= github.com/libp2p/go-libp2p-core v0.13.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQRAMf0sX9mf2sbGg= github.com/libp2p/go-libp2p-core v0.14.0/go.mod h1:tLasfcVdTXnixsLB0QYaT1syJOhsbrhG7q6pGrHtBg8= -github.com/libp2p/go-libp2p-core v0.15.1 h1:0RY+Mi/ARK9DgG1g9xVQLb8dDaaU8tCePMtGALEfBnM= github.com/libp2p/go-libp2p-core v0.15.1/go.mod h1:agSaboYM4hzB1cWekgVReqV5M4g5M+2eNNejV+1EEhs= +github.com/libp2p/go-libp2p-core v0.16.1 h1:bWoiEBqVkpJ13hbv/f69tHODp86t6mvc4fBN4DkK73M= +github.com/libp2p/go-libp2p-core v0.16.1/go.mod h1:O3i/7y+LqUb0N+qhzXjBjjpchgptWAVMG1Voegk7b4c= github.com/libp2p/go-libp2p-crypto v0.0.1/go.mod h1:yJkNyDmO341d5wwXxDUGO0LykUVT72ImHNUqh5D/dBE= github.com/libp2p/go-libp2p-crypto v0.0.2/go.mod h1:eETI5OUfBnvARGOHrJz2eWNyTUxEGZnBxMcbUjfIj4I= github.com/libp2p/go-libp2p-crypto v0.1.0/go.mod h1:sPUokVISZiy+nNuTTH/TY+leRSxnFj/2GLjtOTW90hI= @@ -1180,8 +1208,9 @@ github.com/libp2p/go-libp2p-discovery v0.1.0/go.mod h1:4F/x+aldVHjHDHuX85x1zWoFT github.com/libp2p/go-libp2p-discovery v0.2.0/go.mod h1:s4VGaxYMbw4+4+tsoQTqh7wfxg97AEdo4GYBt6BadWg= github.com/libp2p/go-libp2p-discovery v0.3.0/go.mod h1:o03drFnz9BVAZdzC/QUQ+NeQOu38Fu7LJGEOK2gQltw= github.com/libp2p/go-libp2p-discovery v0.5.0/go.mod h1:+srtPIU9gDaBNu//UHvcdliKBIcr4SfDcm0/PfPJLug= -github.com/libp2p/go-libp2p-discovery v0.6.0 h1:1XdPmhMJr8Tmj/yUfkJMIi8mgwWrLUsCB3bMxdT+DSo= github.com/libp2p/go-libp2p-discovery v0.6.0/go.mod h1:/u1voHt0tKIe5oIA1RHBKQLVCWPna2dXmPNHc2zR9S8= +github.com/libp2p/go-libp2p-discovery v0.7.0 h1:6Iu3NyningTb/BmUnEhcTwzwbs4zcywwbfTulM9LHuc= +github.com/libp2p/go-libp2p-discovery v0.7.0/go.mod h1:zPug0Rxib1aQG9iIdwOpRpBf18cAfZgzicO826UQP4I= github.com/libp2p/go-libp2p-gostream v0.3.0/go.mod h1:pLBQu8db7vBMNINGsAwLL/ZCE8wng5V1FThoaE5rNjc= github.com/libp2p/go-libp2p-gostream v0.3.1 h1:XlwohsPn6uopGluEWs1Csv1QCEjrTXf2ZQagzZ5paAg= github.com/libp2p/go-libp2p-gostream v0.3.1/go.mod h1:1V3b+u4Zhaq407UUY9JLCpboaeufAeVQbnvAt12LRsI= @@ -1212,12 +1241,10 @@ github.com/libp2p/go-libp2p-mplex v0.3.0/go.mod h1:l9QWxRbbb5/hQMECEb908GbS9Sm2U github.com/libp2p/go-libp2p-mplex v0.4.0/go.mod h1:yCyWJE2sc6TBTnFpjvLuEJgTSw/u+MamvzILKdX7asw= github.com/libp2p/go-libp2p-mplex v0.4.1/go.mod h1:cmy+3GfqfM1PceHTLL7zQzAAYaryDu6iPSC+CIb094g= github.com/libp2p/go-libp2p-mplex v0.5.0/go.mod h1:eLImPJLkj3iG5t5lq68w3Vm5NAQ5BcKwrrb2VmOYb3M= -github.com/libp2p/go-libp2p-mplex v0.6.0 h1:5ubK4/vLE2JkogKlJ2JLeXcSfA6qY6mE2HMJV9ve/Sk= github.com/libp2p/go-libp2p-mplex v0.6.0/go.mod h1:i3usuPrBbh9FD2fLZjGpotyNkwr42KStYZQY7BeTiu4= github.com/libp2p/go-libp2p-nat v0.0.4/go.mod h1:N9Js/zVtAXqaeT99cXgTV9e75KpnWCvVOiGzlcHmBbY= github.com/libp2p/go-libp2p-nat v0.0.5/go.mod h1:1qubaE5bTZMJE+E/uu2URroMbzdubFz1ChgiN79yKPE= github.com/libp2p/go-libp2p-nat v0.0.6/go.mod h1:iV59LVhB3IkFvS6S6sauVTSOrNEANnINbI/fkaLimiw= -github.com/libp2p/go-libp2p-nat v0.1.0 h1:vigUi2MEN+fwghe5ijpScxtbbDz+L/6y8XwlzYOJgSY= github.com/libp2p/go-libp2p-nat v0.1.0/go.mod h1:DQzAG+QbDYjN1/C3B6vXucLtz3u9rEonLVPtZVzQqks= github.com/libp2p/go-libp2p-net v0.0.1/go.mod h1:Yt3zgmlsHOgUWSXmt5V/Jpz9upuJBE8EgNU9DrCcR8c= github.com/libp2p/go-libp2p-net v0.0.2/go.mod h1:Yt3zgmlsHOgUWSXmt5V/Jpz9upuJBE8EgNU9DrCcR8c= @@ -1244,16 +1271,16 @@ github.com/libp2p/go-libp2p-peerstore v0.2.6/go.mod h1:ss/TWTgHZTMpsU/oKVVPQCGuD github.com/libp2p/go-libp2p-peerstore v0.2.7/go.mod h1:ss/TWTgHZTMpsU/oKVVPQCGuDHItOpf2W8RxAi50P2s= github.com/libp2p/go-libp2p-peerstore v0.2.8/go.mod h1:gGiPlXdz7mIHd2vfAsHzBNAMqSDkt2UBFwgcITgw1lA= github.com/libp2p/go-libp2p-peerstore v0.4.0/go.mod h1:rDJUFyzEWPpXpEwywkcTYYzDHlwza8riYMaUzaN6hX0= -github.com/libp2p/go-libp2p-peerstore v0.6.0 h1:HJminhQSGISBIRb93N6WK3t6Fa8OOTnHd/VBjL4mY5A= github.com/libp2p/go-libp2p-peerstore v0.6.0/go.mod h1:DGEmKdXrcYpK9Jha3sS7MhqYdInxJy84bIPtSu65bKc= -github.com/libp2p/go-libp2p-pnet v0.2.0 h1:J6htxttBipJujEjz1y0a5+eYoiPcFHhSYHH6na5f0/k= +github.com/libp2p/go-libp2p-peerstore v0.7.0 h1:2iIUwok3vtmnWJTZeTeLgnBO6GbkXcwSRwgZHEKrQZs= +github.com/libp2p/go-libp2p-peerstore v0.7.0/go.mod h1:cdUWTHro83vpg6unCpGUr8qJoX3e93Vy8o97u5ppIM0= github.com/libp2p/go-libp2p-pnet v0.2.0/go.mod h1:Qqvq6JH/oMZGwqs3N1Fqhv8NVhrdYcO0BW4wssv21LA= github.com/libp2p/go-libp2p-protocol v0.0.1/go.mod h1:Af9n4PiruirSDjHycM1QuiMi/1VZNHYcK8cLgFJLZ4s= github.com/libp2p/go-libp2p-protocol v0.1.0/go.mod h1:KQPHpAabB57XQxGrXCNvbL6UEXfQqUgC/1adR2Xtflk= github.com/libp2p/go-libp2p-pubsub v0.1.1/go.mod h1:ZwlKzRSe1eGvSIdU5bD7+8RZN/Uzw0t1Bp9R1znpR/Q= github.com/libp2p/go-libp2p-pubsub v0.6.0/go.mod h1:nJv87QM2cU0w45KPR1rZicq+FmFIOD16zmT+ep1nOmg= -github.com/libp2p/go-libp2p-pubsub v0.6.1 h1:wycbV+f4rreCoVY61Do6g/BUk0RIrbNRcYVbn+QkjGk= -github.com/libp2p/go-libp2p-pubsub v0.6.1/go.mod h1:nJv87QM2cU0w45KPR1rZicq+FmFIOD16zmT+ep1nOmg= +github.com/libp2p/go-libp2p-pubsub v0.7.0 h1:Fd9198JVc3pCsKuzd37TclzM0QcHA+uDyoiG2pvT7s4= +github.com/libp2p/go-libp2p-pubsub v0.7.0/go.mod h1:EuyBJFtF8qF67IEA98biwK8Xnw5MNJpJ/Z+8iWCMFwc= github.com/libp2p/go-libp2p-pubsub-router v0.5.0/go.mod h1:TRJKskSem3C0aSb3CmRgPwq6IleVFzds6hS09fmZbGM= github.com/libp2p/go-libp2p-quic-transport v0.1.1/go.mod h1:wqG/jzhF3Pu2NrhJEvE+IE0NTHNXslOPn9JQzyCAxzU= github.com/libp2p/go-libp2p-quic-transport v0.10.0/go.mod h1:RfJbZ8IqXIhxBRm5hqUEJqjiiY8xmEuq3HUDS993MkA= @@ -1263,7 +1290,6 @@ github.com/libp2p/go-libp2p-quic-transport v0.15.0/go.mod h1:wv4uGwjcqe8Mhjj7N/I github.com/libp2p/go-libp2p-quic-transport v0.15.2/go.mod h1:wv4uGwjcqe8Mhjj7N/Ic0aKjA+/10UnMlSzLO0yRpYQ= github.com/libp2p/go-libp2p-quic-transport v0.16.0/go.mod h1:1BXjVMzr+w7EkPfiHkKnwsWjPjtfaNT0q8RS3tGDvEQ= github.com/libp2p/go-libp2p-quic-transport v0.16.1/go.mod h1:1BXjVMzr+w7EkPfiHkKnwsWjPjtfaNT0q8RS3tGDvEQ= -github.com/libp2p/go-libp2p-quic-transport v0.17.0 h1:yFh4Gf5MlToAYLuw/dRvuzYd1EnE2pX3Lq1N6KDiWRQ= github.com/libp2p/go-libp2p-quic-transport v0.17.0/go.mod h1:x4pw61P3/GRCcSLypcQJE/Q2+E9f4X+5aRcZLXf20LM= github.com/libp2p/go-libp2p-record v0.0.1/go.mod h1:grzqg263Rug/sRex85QrDOLntdFAymLDLm7lxMgU79Q= github.com/libp2p/go-libp2p-record v0.1.0/go.mod h1:ujNc8iuE5dlKWVy6wuL6dd58t0n7xI4hAIl8pE6wu5Q= @@ -1271,10 +1297,10 @@ github.com/libp2p/go-libp2p-record v0.1.1/go.mod h1:VRgKajOyMVgP/F0L5g3kH7SVskp1 github.com/libp2p/go-libp2p-record v0.1.2/go.mod h1:pal0eNcT5nqZaTV7UGhqeGqxFgGdsU/9W//C8dqjQDk= github.com/libp2p/go-libp2p-record v0.1.3 h1:R27hoScIhQf/A8XJZ8lYpnqh9LatJ5YbHs28kCIfql0= github.com/libp2p/go-libp2p-record v0.1.3/go.mod h1:yNUff/adKIfPnYQXgp6FQmNu3gLJ6EMg7+/vv2+9pY4= -github.com/libp2p/go-libp2p-resource-manager v0.1.0/go.mod h1:wJPNjeE4XQlxeidwqVY5G6DLOKqFK33u2n8blpl0I6Y= -github.com/libp2p/go-libp2p-resource-manager v0.1.3/go.mod h1:wJPNjeE4XQlxeidwqVY5G6DLOKqFK33u2n8blpl0I6Y= -github.com/libp2p/go-libp2p-resource-manager v0.2.1 h1:/0yqQQ4oT+3fEhUGGP2PhuIhdv10+pu5jLhvFNfUx/w= +github.com/libp2p/go-libp2p-resource-manager v0.1.5/go.mod h1:wJPNjeE4XQlxeidwqVY5G6DLOKqFK33u2n8blpl0I6Y= github.com/libp2p/go-libp2p-resource-manager v0.2.1/go.mod h1:K+eCkiapf+ey/LADO4TaMpMTP9/Qde/uLlrnRqV4PLQ= +github.com/libp2p/go-libp2p-resource-manager v0.3.0 h1:2+cYxUNi33tcydsVLt6K5Fv2E3OTiVeafltecAj15E0= +github.com/libp2p/go-libp2p-resource-manager v0.3.0/go.mod h1:K+eCkiapf+ey/LADO4TaMpMTP9/Qde/uLlrnRqV4PLQ= github.com/libp2p/go-libp2p-routing v0.0.1/go.mod h1:N51q3yTr4Zdr7V8Jt2JIktVU+3xBBylx1MZeVA6t1Ys= github.com/libp2p/go-libp2p-routing v0.1.0/go.mod h1:zfLhI1RI8RLEzmEaaPwzonRvXeeSHddONWkcTcB54nE= github.com/libp2p/go-libp2p-routing-helpers v0.2.3 h1:xY61alxJ6PurSi+MXbywZpelvuU4U4p/gPTxjqCqTzY= @@ -1298,8 +1324,9 @@ github.com/libp2p/go-libp2p-swarm v0.5.3/go.mod h1:NBn7eNW2lu568L7Ns9wdFrOhgRlkR github.com/libp2p/go-libp2p-swarm v0.8.0/go.mod h1:sOMp6dPuqco0r0GHTzfVheVBh6UEL0L1lXUZ5ot2Fvc= github.com/libp2p/go-libp2p-swarm v0.9.0/go.mod h1:2f8d8uxTJmpeqHF/1ujjdXZp+98nNIbujVOMEZxCbZ8= github.com/libp2p/go-libp2p-swarm v0.10.0/go.mod h1:71ceMcV6Rg/0rIQ97rsZWMzto1l9LnNquef+efcRbmA= -github.com/libp2p/go-libp2p-swarm v0.10.2 h1:UaXf+CTq6Ns1N2V1EgqJ9Q3xaRsiN7ImVlDMpirMAWw= github.com/libp2p/go-libp2p-swarm v0.10.2/go.mod h1:Pdkq0QU5a+qu+oyqIV3bknMsnzk9lnNyKvB9acJ5aZs= +github.com/libp2p/go-libp2p-swarm v0.11.0 h1:ITgsTEY2tA4OxFJGcWeugiMh2x5+VOEnI2JStT1EWxI= +github.com/libp2p/go-libp2p-swarm v0.11.0/go.mod h1:sumjVYrC84gPSZOFKL8hNcnN6HZvJSwJ8ymaXeko4Lk= github.com/libp2p/go-libp2p-testing v0.0.1/go.mod h1:gvchhf3FQOtBdr+eFUABet5a4MBLK8jM3V4Zghvmi+E= github.com/libp2p/go-libp2p-testing v0.0.2/go.mod h1:gvchhf3FQOtBdr+eFUABet5a4MBLK8jM3V4Zghvmi+E= github.com/libp2p/go-libp2p-testing v0.0.3/go.mod h1:gvchhf3FQOtBdr+eFUABet5a4MBLK8jM3V4Zghvmi+E= @@ -1335,7 +1362,6 @@ github.com/libp2p/go-libp2p-transport-upgrader v0.4.6/go.mod h1:JE0WQuQdy+uLZ5zO github.com/libp2p/go-libp2p-transport-upgrader v0.5.0/go.mod h1:Rc+XODlB3yce7dvFV4q/RmyJGsFcCZRkeZMu/Zdg0mo= github.com/libp2p/go-libp2p-transport-upgrader v0.6.0/go.mod h1:1e07y1ZSZdHo9HPbuU8IztM1Cj+DR5twgycb4pnRzRo= github.com/libp2p/go-libp2p-transport-upgrader v0.7.0/go.mod h1:GIR2aTRp1J5yjVlkUoFqMkdobfob6RnAwYg/RZPhrzg= -github.com/libp2p/go-libp2p-transport-upgrader v0.7.1 h1:MSMe+tUfxpC9GArTz7a4G5zQKQgGh00Vio87d3j3xIg= github.com/libp2p/go-libp2p-transport-upgrader v0.7.1/go.mod h1:GIR2aTRp1J5yjVlkUoFqMkdobfob6RnAwYg/RZPhrzg= github.com/libp2p/go-libp2p-xor v0.0.0-20210714161855-5c005aca55db/go.mod h1:LSTM5yRnjGZbWNTA/hRwq2gGFrvRIbQJscoIL/u6InY= github.com/libp2p/go-libp2p-yamux v0.1.2/go.mod h1:xUoV/RmYkg6BW/qGxA9XJyg+HzXFYkeXbnhjmnYzKp8= @@ -1371,8 +1397,8 @@ github.com/libp2p/go-mplex v0.1.2/go.mod h1:Xgz2RDCi3co0LeZfgjm4OgUF15+sVR8SRcu3 github.com/libp2p/go-mplex v0.2.0/go.mod h1:0Oy/A9PQlwBytDRp4wSkFnzHYDKcpLot35JQ6msjvYQ= github.com/libp2p/go-mplex v0.3.0/go.mod h1:0Oy/A9PQlwBytDRp4wSkFnzHYDKcpLot35JQ6msjvYQ= github.com/libp2p/go-mplex v0.4.0/go.mod h1:y26Lx+wNVtMYMaPu300Cbot5LkEZ4tJaNYeHeT9dh6E= -github.com/libp2p/go-mplex v0.6.0 h1:5kKp029zrsLVJT5q6ASt4LwuZFxj3B13wXXaGmFrWg0= github.com/libp2p/go-mplex v0.6.0/go.mod h1:y26Lx+wNVtMYMaPu300Cbot5LkEZ4tJaNYeHeT9dh6E= +github.com/libp2p/go-mplex v0.7.0/go.mod h1:rW8ThnRcYWft/Jb2jeORBmPd6xuG3dGxWN/W168L9EU= github.com/libp2p/go-msgio v0.0.2/go.mod h1:63lBBgOTDKQL6EWazRMCwXsEeEeK9O2Cd+0+6OOuipQ= github.com/libp2p/go-msgio v0.0.3/go.mod h1:63lBBgOTDKQL6EWazRMCwXsEeEeK9O2Cd+0+6OOuipQ= github.com/libp2p/go-msgio v0.0.4/go.mod h1:63lBBgOTDKQL6EWazRMCwXsEeEeK9O2Cd+0+6OOuipQ= @@ -1399,13 +1425,13 @@ github.com/libp2p/go-openssl v0.0.7 h1:eCAzdLejcNVBzP/iZM9vqHnQm+XyCEbSSIheIPRGN github.com/libp2p/go-openssl v0.0.7/go.mod h1:unDrJpgy3oFr+rqXsarWifmJuNnJR4chtO1HmaZjggc= github.com/libp2p/go-reuseport v0.0.1/go.mod h1:jn6RmB1ufnQwl0Q1f+YxAj8isJgDCQzaaxIFYDhcYEA= github.com/libp2p/go-reuseport v0.0.2/go.mod h1:SPD+5RwGC7rcnzngoYC86GjPzjSywuQyMVAheVBD9nQ= -github.com/libp2p/go-reuseport v0.1.0 h1:0ooKOx2iwyIkf339WCZ2HN3ujTDbkK0PjC7JVoP1AiM= github.com/libp2p/go-reuseport v0.1.0/go.mod h1:bQVn9hmfcTaoo0c9v5pBhOarsU1eNOBZdaAd2hzXRKU= +github.com/libp2p/go-reuseport v0.2.0 h1:18PRvIMlpY6ZK85nIAicSBuXXvrYoSw3dsBAR7zc560= +github.com/libp2p/go-reuseport v0.2.0/go.mod h1:bvVho6eLMm6Bz5hmU0LYN3ixd3nPPvtIlaURZZgOY4k= github.com/libp2p/go-reuseport-transport v0.0.2/go.mod h1:YkbSDrvjUVDL6b8XqriyA20obEtsW9BLkuOUyQAOCbs= github.com/libp2p/go-reuseport-transport v0.0.3/go.mod h1:Spv+MPft1exxARzP2Sruj2Wb5JSyHNncjf1Oi2dEbzM= github.com/libp2p/go-reuseport-transport v0.0.4/go.mod h1:trPa7r/7TJK/d+0hdBLOCGvpQQVOU74OXbNCIMkufGw= github.com/libp2p/go-reuseport-transport v0.0.5/go.mod h1:TC62hhPc8qs5c/RoXDZG6YmjK+/YWUPC0yYmeUecbjc= -github.com/libp2p/go-reuseport-transport v0.1.0 h1:C3PHeHjmnz8m6f0uydObj02tMEoi7CyD1zuN7xQT8gc= github.com/libp2p/go-reuseport-transport v0.1.0/go.mod h1:vev0C0uMkzriDY59yFHD9v+ujJvYmDQVLowvAjEOmfw= github.com/libp2p/go-sockaddr v0.0.2/go.mod h1:syPvOmNs24S3dFVGJA1/mrqdeijPxLV2Le3BRLKd68k= github.com/libp2p/go-sockaddr v0.1.0/go.mod h1:syPvOmNs24S3dFVGJA1/mrqdeijPxLV2Le3BRLKd68k= @@ -1416,7 +1442,6 @@ github.com/libp2p/go-stream-muxer v0.1.0/go.mod h1:8JAVsjeRBCWwPoZeH0W1imLOcriqX github.com/libp2p/go-stream-muxer-multistream v0.1.1/go.mod h1:zmGdfkQ1AzOECIAcccoL8L//laqawOsO03zX8Sa+eGw= github.com/libp2p/go-stream-muxer-multistream v0.2.0/go.mod h1:j9eyPol/LLRqT+GPLSxvimPhNph4sfYfMoDPd7HkzIc= github.com/libp2p/go-stream-muxer-multistream v0.3.0/go.mod h1:yDh8abSIzmZtqtOt64gFJUXEryejzNb0lisTt+fAMJA= -github.com/libp2p/go-stream-muxer-multistream v0.4.0 h1:HsM/9OdtqnIzjVXcxTXjmqKrj3gJ8kacaOJwJS1ipaY= github.com/libp2p/go-stream-muxer-multistream v0.4.0/go.mod h1:nb+dGViZleRP4XcyHuZSVrJCBl55nRBOMmiSL/dyziw= github.com/libp2p/go-tcp-transport v0.0.4/go.mod h1:+E8HvC8ezEVOxIo3V5vCK9l1y/19K427vCzQ+xHKH/o= github.com/libp2p/go-tcp-transport v0.1.0/go.mod h1:oJ8I5VXryj493DEJ7OsBieu8fcg2nHGctwtInJVpipc= @@ -1428,7 +1453,6 @@ github.com/libp2p/go-tcp-transport v0.2.4/go.mod h1:9dvr03yqrPyYGIEN6Dy5UvdJZjyP github.com/libp2p/go-tcp-transport v0.2.7/go.mod h1:lue9p1b3VmZj1MhhEGB/etmvF/nBQ0X9CW2DutBT3MM= github.com/libp2p/go-tcp-transport v0.4.0/go.mod h1:0y52Rwrn4076xdJYu/51/qJIdxz+EWDAOG2S45sV3VI= github.com/libp2p/go-tcp-transport v0.5.0/go.mod h1:UPPL0DIjQqiWRwVAb+CEQlaAG0rp/mCqJfIhFcLHc4Y= -github.com/libp2p/go-tcp-transport v0.5.1 h1:edOOs688VLZAozWC7Kj5/6HHXKNwi9M6wgRmmLa8M6Q= github.com/libp2p/go-tcp-transport v0.5.1/go.mod h1:UPPL0DIjQqiWRwVAb+CEQlaAG0rp/mCqJfIhFcLHc4Y= github.com/libp2p/go-testutil v0.0.1/go.mod h1:iAcJc/DKJQanJ5ws2V+u5ywdL2n12X1WbbEG+Jjy69I= github.com/libp2p/go-testutil v0.1.0/go.mod h1:81b2n5HypcVyrCg/MJx4Wgfp/VHojytjVe/gLzZ2Ehc= @@ -1440,7 +1464,6 @@ github.com/libp2p/go-ws-transport v0.3.0/go.mod h1:bpgTJmRZAvVHrgHybCVyqoBmyLQ1f github.com/libp2p/go-ws-transport v0.3.1/go.mod h1:bpgTJmRZAvVHrgHybCVyqoBmyLQ1fiZuEaBYusP5zsk= github.com/libp2p/go-ws-transport v0.4.0/go.mod h1:EcIEKqf/7GDjth6ksuS/6p7R49V4CBY6/E7R/iyhYUA= github.com/libp2p/go-ws-transport v0.5.0/go.mod h1:I2juo1dNTbl8BKSBYo98XY85kU2xds1iamArLvl8kNg= -github.com/libp2p/go-ws-transport v0.6.0 h1:326XBL6Q+5CQ2KtjXz32+eGu02W/Kz2+Fm4SpXdr0q4= github.com/libp2p/go-ws-transport v0.6.0/go.mod h1:dXqtI9e2JV9FtF1NOtWVZSKXh5zXvnuwPXfj8GPBbYU= github.com/libp2p/go-yamux v1.2.1/go.mod h1:FGTiPvoV/3DVdgWpX+tM0OW3tsM+W5bSE3gZwqQTcow= github.com/libp2p/go-yamux v1.2.2/go.mod h1:FGTiPvoV/3DVdgWpX+tM0OW3tsM+W5bSE3gZwqQTcow= @@ -1582,6 +1605,7 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/mr-tron/base58 v1.1.0/go.mod h1:xcD2VGqlgYjBdcBLw+TuYLr8afG+Hj8g2eTVqeSzSU8= github.com/mr-tron/base58 v1.1.1/go.mod h1:xcD2VGqlgYjBdcBLw+TuYLr8afG+Hj8g2eTVqeSzSU8= github.com/mr-tron/base58 v1.1.2/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= @@ -1634,9 +1658,9 @@ github.com/multiformats/go-multicodec v0.2.0/go.mod h1:/y4YVwkfMyry5kFbMTbLJKErh github.com/multiformats/go-multicodec v0.3.0/go.mod h1:qGGaQmioCDh+TeFOnxrbU0DaIPw8yFgAZgFG0V7p1qQ= github.com/multiformats/go-multicodec v0.3.1-0.20210902112759-1539a079fd61/go.mod h1:1Hj/eHRaVWSXiSNNfcEPcwZleTmdNP81xlxDLnWU9GQ= github.com/multiformats/go-multicodec v0.3.1-0.20211210143421-a526f306ed2c/go.mod h1:1Hj/eHRaVWSXiSNNfcEPcwZleTmdNP81xlxDLnWU9GQ= -github.com/multiformats/go-multicodec v0.4.0/go.mod h1:1Hj/eHRaVWSXiSNNfcEPcwZleTmdNP81xlxDLnWU9GQ= -github.com/multiformats/go-multicodec v0.4.1 h1:BSJbf+zpghcZMZrwTYBGwy0CPcVZGWiC72Cp8bBd4R4= github.com/multiformats/go-multicodec v0.4.1/go.mod h1:1Hj/eHRaVWSXiSNNfcEPcwZleTmdNP81xlxDLnWU9GQ= +github.com/multiformats/go-multicodec v0.5.0 h1:EgU6cBe/D7WRwQb1KmnBvU7lrcFGMggZVTPtOW9dDHs= +github.com/multiformats/go-multicodec v0.5.0/go.mod h1:DiY2HFaEp5EhEXb/iYzVAunmyX/aSFMxq2KMKfWEues= github.com/multiformats/go-multihash v0.0.1/go.mod h1:w/5tugSrLEbWqlcgJabL3oHFKTwfvkofsjW2Qa1ct4U= github.com/multiformats/go-multihash v0.0.5/go.mod h1:lt/HCbqlQwlPBz7lv0sQCdtfcMtlJvakRUn/0Ual8po= github.com/multiformats/go-multihash v0.0.8/go.mod h1:YSLudS+Pi8NHE7o6tb3D8vrpKa63epEDmG8nTduyAew= @@ -1655,8 +1679,9 @@ github.com/multiformats/go-multistream v0.1.1/go.mod h1:KmHZ40hzVxiaiwlj3MEbYgK9 github.com/multiformats/go-multistream v0.2.0/go.mod h1:5GZPQZbkWOLOn3J2y4Y99vVW7vOfsAflxARk3x14o6k= github.com/multiformats/go-multistream v0.2.1/go.mod h1:5GZPQZbkWOLOn3J2y4Y99vVW7vOfsAflxARk3x14o6k= github.com/multiformats/go-multistream v0.2.2/go.mod h1:UIcnm7Zuo8HKG+HkWgfQsGL+/MIEhyTqbODbIUwSXKs= -github.com/multiformats/go-multistream v0.3.0 h1:yX1v4IWseLPmr0rmnDo148wWJbNx40JxBZGmQb5fUP4= github.com/multiformats/go-multistream v0.3.0/go.mod h1:ODRoqamLUsETKS9BNcII4gcRsJBU5VAwRIv7O39cEXg= +github.com/multiformats/go-multistream v0.3.1 h1:GQM84yyQ5EZB9l0p5+5eDwFoQgwHI2tLmYGpaWlLF/U= +github.com/multiformats/go-multistream v0.3.1/go.mod h1:ODRoqamLUsETKS9BNcII4gcRsJBU5VAwRIv7O39cEXg= github.com/multiformats/go-varint v0.0.1/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.2/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.5/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= @@ -1745,6 +1770,7 @@ github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 h1:1/WtZae0yGtPq+TI6+ github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9/go.mod h1:x3N5drFsm2uilKKuuYo6LdyD8vZAW55sH/9w+pbo1sw= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -1826,16 +1852,18 @@ github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJ github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg= +github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.21.0/go.mod h1:ZPhntP/xmq1nnND05hhpAh2QMhSsA4UN3MGZ6O2J3hM= github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= @@ -1866,7 +1894,6 @@ github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122/go.mod h1:b github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2/go.mod h1:eWdoE5JD4R5UVWDucdOPg1g2fqQRq78IQa9zlOV1vpQ= github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82/go.mod h1:TCR1lToEk4d2s07G3XGfz2QrgHXg4RJBvjrOozvoWfk= github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod h1:QJTqeLYEDaXHZDBsXlPCDqdhQuJkuw4NOtaxYe3xii4= github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod h1:hKmq5kWdCj2z2KEozexVbfEZIWiTjhE0+UjmZgPqehw= @@ -1952,8 +1979,8 @@ github.com/urfave/cli v1.22.2 h1:gsqYFH8bb9ekPA12kRo0hfjngWQjkJPlN9R0N78BoUo= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.0.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= -github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M= -github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= +github.com/urfave/cli/v2 v2.8.1 h1:CGuYNZF9IKZY/rfBe3lJpccSoIY1ytfvmgQT90cNOl4= +github.com/urfave/cli/v2 v2.8.1/go.mod h1:Z41J9TPoffeoqP0Iza0YbAhGvymRdZAd2uPmZ5JxRdY= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.0.1 h1:tY9CJiPnMXf1ERmG2EyK7gNUd+c6RKGD0IfU8WdUSz8= @@ -1962,8 +1989,9 @@ github.com/viant/assertly v0.4.8/go.mod h1:aGifi++jvCrUaklKEKT0BU95igDNaqkvz+49u github.com/viant/toolbox v0.24.0/go.mod h1:OxMCG57V0PXuIP2HNQrtJf2CjqdmbrOx5EkMILuUhzM= github.com/wangjia184/sortedset v0.0.0-20160527075905-f5d03557ba30/go.mod h1:YkocrP2K2tcw938x9gCOmT5G5eCD6jsTz0SZuyAqwIE= github.com/warpfork/go-testmark v0.3.0/go.mod h1:jhEf8FVxd+F17juRubpmut64NEG6I2rgkUhlcqqXwE0= -github.com/warpfork/go-testmark v0.9.0 h1:nc+uaCiv5lFQLYjhuC2LTYeJ7JaC+gdDmsz9r0ISy0Y= github.com/warpfork/go-testmark v0.9.0/go.mod h1:jhEf8FVxd+F17juRubpmut64NEG6I2rgkUhlcqqXwE0= +github.com/warpfork/go-testmark v0.10.0 h1:E86YlUMYfwIacEsQGlnTvjk1IgYkyTGjPhF0RnwTCmw= +github.com/warpfork/go-testmark v0.10.0/go.mod h1:jhEf8FVxd+F17juRubpmut64NEG6I2rgkUhlcqqXwE0= github.com/warpfork/go-wish v0.0.0-20180510122957-5ad1f5abf436/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/warpfork/go-wish v0.0.0-20190328234359-8b3e70f8e830/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a h1:G++j5e0OC488te356JvdhaM8YS6nMsjLAYF7JxCv07w= @@ -2020,6 +2048,8 @@ github.com/xorcare/golden v0.6.0/go.mod h1:7T39/ZMvaSEZlBPoYfVFmsBLmUl3uz9IuzWj/ github.com/xorcare/golden v0.6.1-0.20191112154924-b87f686d7542 h1:oWgZJmC1DorFZDpfMfWg7xk29yEOZiXmo/wZl+utTI8= github.com/xorcare/golden v0.6.1-0.20191112154924-b87f686d7542/go.mod h1:7T39/ZMvaSEZlBPoYfVFmsBLmUl3uz9IuzWj/U6FtvQ= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= +github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= github.com/ybbus/jsonrpc/v2 v2.1.6/go.mod h1:rIuG1+ORoiqocf9xs/v+ecaAVeo3zcZHQgInyKFMeg0= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -2421,8 +2451,9 @@ golang.org/x/sys v0.0.0-20211025112917-711f33c9992c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20211209171907-798191bca915/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 h1:xHms4gcpe1YE7A3yIllJXP16CMAGuqwO2lX1mTyyRRc= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2666,8 +2697,9 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= diff --git a/node/config/load.go b/node/config/load.go index a76db7caf7a..6f5731ea1ac 100644 --- a/node/config/load.go +++ b/node/config/load.go @@ -33,7 +33,7 @@ func FromFile(path string, def interface{}) (interface{}, error) { // FromReader loads config from a reader instance. func FromReader(reader io.Reader, def interface{}) (interface{}, error) { cfg := def - _, err := toml.DecodeReader(reader, cfg) + _, err := toml.NewDecoder(reader).Decode(cfg) if err != nil { return nil, err } diff --git a/node/impl/net/net.go b/node/impl/net/net.go index 260ba0f3625..6e4e61ccffb 100644 --- a/node/impl/net/net.go +++ b/node/impl/net/net.go @@ -11,9 +11,9 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/protocol" - swarm "github.com/libp2p/go-libp2p-swarm" basichost "github.com/libp2p/go-libp2p/p2p/host/basic" "github.com/libp2p/go-libp2p/p2p/net/conngater" + "github.com/libp2p/go-libp2p/p2p/net/swarm" "github.com/libp2p/go-libp2p/p2p/protocol/ping" ma "github.com/multiformats/go-multiaddr" "go.uber.org/fx" diff --git a/node/modules/lp2p/nat.go b/node/modules/lp2p/nat.go index 7cb8dd9c168..f5ff142b71f 100644 --- a/node/modules/lp2p/nat.go +++ b/node/modules/lp2p/nat.go @@ -8,7 +8,7 @@ import ( "github.com/libp2p/go-libp2p" autonat "github.com/libp2p/go-libp2p-autonat-svc" host "github.com/libp2p/go-libp2p-core/host" - libp2pquic "github.com/libp2p/go-libp2p-quic-transport" + libp2pquic "github.com/libp2p/go-libp2p/p2p/transport/quic" "go.uber.org/fx" "github.com/ipfs/go-ipfs/repo" "github.com/filecoin-project/lotus/node/modules/helpers" diff --git a/node/modules/lp2p/relay.go b/node/modules/lp2p/relay.go index 78d04e33fa9..ec0e39ad2b7 100644 --- a/node/modules/lp2p/relay.go +++ b/node/modules/lp2p/relay.go @@ -6,7 +6,7 @@ import ( "github.com/libp2p/go-libp2p" coredisc "github.com/libp2p/go-libp2p-core/discovery" "github.com/libp2p/go-libp2p-core/routing" - discovery "github.com/libp2p/go-libp2p-discovery" + routingdisc "github.com/libp2p/go-libp2p/p2p/discovery/routing" ) func NoRelay() func() (opts Libp2pOpts, err error) { @@ -24,5 +24,5 @@ func Discovery(router BaseIpfsRouting) (coredisc.Discovery, error) { return nil, fmt.Errorf("no suitable routing for discovery") } - return discovery.NewRoutingDiscovery(crouter), nil + return routingdisc.NewRoutingDiscovery(crouter), nil } diff --git a/node/modules/lp2p/transport.go b/node/modules/lp2p/transport.go index 4349fcd87c5..a365c1075c6 100644 --- a/node/modules/lp2p/transport.go +++ b/node/modules/lp2p/transport.go @@ -4,8 +4,8 @@ import ( "github.com/libp2p/go-libp2p" "github.com/libp2p/go-libp2p-core/metrics" noise "github.com/libp2p/go-libp2p-noise" - libp2pquic "github.com/libp2p/go-libp2p-quic-transport" tls "github.com/libp2p/go-libp2p-tls" + libp2pquic "github.com/libp2p/go-libp2p/p2p/transport/quic" ) var DefaultTransports = simpleOpt(libp2p.DefaultTransports)