Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mega migration #206

Closed
wants to merge 3,474 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3474 commits
Select commit Hold shift + click to select a range
4d0f8e8
Use eth.domains instead of eth.link
Arachnid Mar 29, 2021
8bb8022
Update tests to use eth.domains
Arachnid Mar 29, 2021
19d6550
feat(fetcher): add on demand prototype chooser augmentation
hannahhoward Apr 1, 2021
c06e355
fix: handle missing session exchange in Session
Stebalien Apr 2, 2021
d210966
Merge pull request ipfs/go-blockservice#73 from ipfs/fix/nil-bs
Stebalien Apr 2, 2021
0abaf04
fix(fetcher): switch to node reifier
hannahhoward Apr 2, 2021
aae6fd0
feat(fetcher): remove default reifier
hannahhoward Apr 3, 2021
95150d3
Merge pull request ipfs/go-namesys#8 from Arachnid/patch-1
aschmahmann Apr 5, 2021
1ac7ab7
Merge pull request ipfs/go-fetcher#13 from ipfs/feat/augment-node-bui…
hannahhoward Apr 5, 2021
60c3e5f
chore: update the Usage part of readme
zeigo Apr 7, 2021
33050b4
Output a more useful resolve error
gammazero Apr 6, 2021
80ecd1a
Update base.go with suggestion
gammazero Apr 6, 2021
62a1418
feat(fetcher): switch selector to ipld.Node
hannahhoward Apr 10, 2021
0782fe6
feat(fetcher): seperate out implementation
hannahhoward Apr 10, 2021
352b91e
style(lint): fix lint errors
hannahhoward Apr 10, 2021
b3aaf9c
feat(fetcher): define factory interface
hannahhoward Apr 10, 2021
d921b23
style(fetcher): add param names
hannahhoward Apr 10, 2021
50e049b
io/dagreader.go
Apr 16, 2021
7e3eb2d
Fix in size func
Apr 16, 2021
75fc04a
Merge pull request ipfs/go-fetcher#16 from ipfs/feat/seperate-module-…
hannahhoward Apr 19, 2021
c16575e
fix(blockservice): remove ref to dag pb
hannahhoward Apr 19, 2021
5cfe615
Properly report DNSLink errors (#12)
gammazero Apr 21, 2021
1207e47
Merge pull request ipfs/go-unixfs#88 from coryschwartz/fix/incorrect-…
Stebalien Apr 21, 2021
9ddd952
Merge pull request ipfs/go-fetcher#18 from ipfs/feat/remove-dagpb
hannahhoward Apr 21, 2021
22fca81
Merge pull request ipfs/go-ipfs-provider#33 from zeigo/chore/update-r…
Stebalien Apr 22, 2021
f7083da
run gofmt -s
web3-bot Apr 23, 2021
4f15116
make DNS resolver pluggable, use new madns.BasicResolver interface
vyzo Apr 12, 2021
cdae7ad
parameterize DNSResolver on the lookup TXT function
vyzo Apr 12, 2021
594c293
introduce functional options for NewNamesys constructor
vyzo Apr 15, 2021
a30368d
fix tests
vyzo Apr 15, 2021
69a6288
remove special casing of .eth domains
vyzo Apr 15, 2021
246dfc7
fix test
vyzo Apr 15, 2021
a5c21d5
feat: support non-ICANN DNSLink names
lidel Apr 21, 2021
6f288d9
test: non-ICANN DNS names
lidel Apr 21, 2021
b5662a5
refactor: remove proquint.go
lidel Apr 21, 2021
b1a0055
doc: document WithDatastore option
Stebalien Apr 22, 2021
be78492
comment cosmetics
vyzo Apr 23, 2021
2b95a2f
Merge pull request ipfs/go-namesys#10 from ipfs/feat/custom-resolver
Stebalien Apr 23, 2021
4b52ae8
Merge pull request ipfs/go-path#39 from ipfs/web3-bot/sync
Stebalien Apr 23, 2021
09f0a05
fix(arc): striped locking on last byte of CID
frrist May 3, 2021
19e9dc2
Merge pull request ipfs/go-ipfs-blockstore#67 from ipfs/frrist/arc-ca…
Stebalien May 4, 2021
401c064
WIP: add BenchmarkARCCacheConcurrentOps
mvdan Apr 28, 2021
e74b9b5
Merge pull request ipfs/go-ipfs-blockstore#70 from ipfs/mvdan/arc-cac…
Stebalien May 4, 2021
4e36c99
feat: add UpgradeableDirectory
schomatis May 5, 2021
caf348a
add test
schomatis May 6, 2021
2021a81
fix: add pointer receiver
schomatis May 6, 2021
abf2808
go fmt
schomatis May 6, 2021
5f07e6f
chore: fixup tests and ensure go vet and staticcheck pass
iand May 7, 2021
a45e97d
feat: switch to HAMT based on size (#91)
schomatis May 7, 2021
0ef1b86
Merge pull request ipfs/go-namesys#14 from iand/chore/repo-health
Stebalien May 10, 2021
20e9dac
Add support for extensible records (and v2 signature)
aschmahmann Apr 1, 2021
735d02d
chore: update dep
aschmahmann May 11, 2021
c222ad3
Merge pull request ipfs/go-namesys#16 from ipfs/chore/update-dep
aschmahmann May 12, 2021
259f6af
Remove old ipldpinner that has been replaced by dspinner
gammazero May 12, 2021
2d5bca0
remove Makefile
marten-seemann May 13, 2021
5968bb2
remove Makefile
marten-seemann May 13, 2021
6dfedd9
remove Makefile
marten-seemann May 13, 2021
9287cef
remove Makefile
marten-seemann May 13, 2021
ae65df0
Merge pull request ipfs/go-mfs#89 from ipfs/remove-makefile
marten-seemann May 13, 2021
1e0d98e
Merge pull request ipfs/go-path#40 from ipfs/remove-makefile
Stebalien May 13, 2021
c6a4b40
Merge pull request ipfs/interface-go-ipfs-core#70 from ipfs/remove-ma…
Stebalien May 13, 2021
ad7f3d1
Merge pull request ipfs/go-ipns#27 from ipfs/remove-makefile
Stebalien May 13, 2021
ded27d0
Merge pull request ipfs/go-ipfs-pinner#7 from ipfs/chore/remove-old-p…
Stebalien May 13, 2021
dae4407
fix: remove the rest of the pb backed pinner
Stebalien May 13, 2021
adbab79
Merge pull request ipfs/go-ipfs-pinner#9 from ipfs/fix/remove-ipld-pi…
Stebalien May 13, 2021
f0e1f08
Bulk Provide/Reproviding System (#34)
aschmahmann May 14, 2021
9255102
fix staticcheck
marten-seemann May 16, 2021
3b36077
Merge pull request ipfs/go-ipfs-blockstore#73 from ipfs/fix-staticcheck
marten-seemann May 16, 2021
68f1ef8
fix staticcheck
marten-seemann May 16, 2021
2a4eb0c
fix staticcheck
marten-seemann May 16, 2021
f2a8fd4
fix staticcheck
marten-seemann May 16, 2021
5c2b254
Merge pull request ipfs/go-ipfs-pinner#11 from ipfs/fix-staticcheck
marten-seemann May 16, 2021
7b9a566
Merge pull request ipfs/go-blockservice#75 from ipfs/fix-staticcheck
marten-seemann May 16, 2021
a3a5532
Merge pull request ipfs/go-filestore#48 from ipfs/fix-staticcheck
Stebalien May 16, 2021
43462bd
update go-bitswap to v0.3.4
marten-seemann May 17, 2021
06a8a2e
Merge pull request ipfs/go-blockservice#78 from ipfs/update-bitswap
marten-seemann May 17, 2021
aebf6e1
fix: always return upgradeable instead of basic dir (#92)
schomatis May 19, 2021
b85e50b
fix staticcheck
marten-seemann May 19, 2021
d8a2c14
Merge pull request ipfs/go-ipfs-exchange-offline#35 from ipfs/fix-sta…
marten-seemann May 19, 2021
f60162c
fix(directory): initialize size when computing it
schomatis May 21, 2021
d7b558d
Merge pull request ipfs/go-unixfs#93 from ipfs/schomatis/fix/dir/comp…
aschmahmann May 21, 2021
6e24903
fix: skip providing if the key set is empty after removing invalid CIDs
aschmahmann May 25, 2021
1a1d5e1
Merge pull request ipfs/go-ipfs-provider#37 from ipfs/fix/provide-man…
aschmahmann May 27, 2021
5df09f8
fix staticcheck
marten-seemann Jun 2, 2021
74605a9
fix staticcheck
marten-seemann Jun 2, 2021
ffb4966
Merge pull request ipfs/interface-go-ipfs-core#72 from ipfs/fix-stati…
marten-seemann Jun 2, 2021
973264d
fix staticcheck
marten-seemann Jun 2, 2021
576911b
Merge pull request ipfs/go-ipfs-routing#24 from ipfs/fix-staticcheck
marten-seemann Jun 2, 2021
bc3a4d7
Merge pull request ipfs/go-ipfs-util#9 from ipfs/fix-staticcheck
marten-seemann Jun 2, 2021
e320b1c
fix staticcheck
marten-seemann Jun 2, 2021
54721cb
Merge pull request ipfs/go-unixfs#95 from ipfs/fix-staticcheck
marten-seemann Jun 2, 2021
b5d5912
chore(deps): move bitfield to ipfs org
Stebalien Jun 11, 2021
0c6171f
Merge pull request ipfs/go-unixfs#98 from ipfs/chore/move-bitfield
Stebalien Jun 13, 2021
10c9d33
Use bloom filter in GetSize
ianopolous Jun 17, 2021
daa11ac
Define ErrNotPinned alongside the Pinner interface
MichaelMure Jul 1, 2021
4c474f6
Fix lint errors
anorth Jul 16, 2021
e736d65
Merge pull request ipfs/go-mfs#90 from ipfs/anorth/lint
Stebalien Jul 16, 2021
f99c88b
fix: remove deprecated calls
Stebalien Jul 22, 2021
3c42916
Merge pull request ipfs/go-ipns#30 from ipfs/fix/deprecation
Stebalien Jul 22, 2021
3d1dd48
fix: remove deprecated call to pk.Bytes
Stebalien Jul 22, 2021
9c063f5
Merge pull request ipfs/go-namesys#19 from ipfs/fix/deprecated
Stebalien Jul 22, 2021
e1880a0
Fix/minimize rebuild (#15)
gammazero Jul 29, 2021
999b9e0
add constructor that doesnt mess with datastore keys
whyrusleeping Aug 2, 2021
afca13b
Merge pull request ipfs/go-ipfs-blockstore#83 from ipfs/feat/no-prefi…
Stebalien Aug 3, 2021
7310da4
style(comments): make comment more accurate
hannahhoward Aug 6, 2021
a338663
Merge pull request ipfs/go-fetcher#22 from ipfs/fix/comment
willscott Aug 10, 2021
dff188c
Add a WithReifier method to allow easier derivation of different path…
willscott Aug 10, 2021
f066909
Merge pull request ipfs/go-fetcher#23 from ipfs/feat/withreifier
hannahhoward Aug 11, 2021
49cba97
fix(tests): fix tests for ipld update
hannahhoward Aug 12, 2021
1df7385
IPLD Prime In IPFS: Target Merge Branch (#36)
hannahhoward Aug 12, 2021
991fe0d
Update to IPLD Prime (#32)
willscott Aug 12, 2021
8f0db8f
IPLD In IPFS: Target Merge Branch (#67)
hannahhoward Aug 12, 2021
2194595
feat: do not special case downloading the first block in the blockser…
aschmahmann Aug 13, 2021
0ab3063
fix: delete BlockAllOfType helper and fix BlockAll helper so that the…
aschmahmann Aug 13, 2021
d38d37b
feat: precompile the matchAll selector
aschmahmann Aug 13, 2021
3fcf467
Merge pull request ipfs/go-fetcher#24 from ipfs/fix/selector-helpers
warpfork Aug 16, 2021
a1f3f89
sync: update CI config files (#34)
web3-bot Aug 17, 2021
b722930
fix: check errors by string
Stebalien Aug 17, 2021
9c1a747
Merge pull request ipfs/interface-go-ipfs-core#76 from ipfs/fix/check…
Stebalien Aug 17, 2021
af75974
fix: give one minute timeouts to function calls instead of block retr…
aschmahmann Sep 14, 2021
3f77af4
chore: update log
Stebalien Sep 15, 2021
b5009f9
Merge pull request ipfs/go-blockservice#84 from ipfs/chore/update-log
Stebalien Sep 15, 2021
2104ab5
removed timeouts for all resolver functions except for ResolveToLastNode
aschmahmann Sep 20, 2021
c661a6d
add warning note about context cancellation and ADLs to functions tha…
aschmahmann Sep 20, 2021
92e1b6b
Resolve lint issues prior to CI integration
masih Sep 22, 2021
6019ba3
Merge pull request ipfs/go-path#44 from ipfs/fix/adl-context-cancel
aschmahmann Sep 27, 2021
0e59488
add a fetcher constructor for the case where we already have a session
whyrusleeping Oct 21, 2021
a22b7e0
Merge pull request ipfs/go-fetcher#26 from ipfs/feat/fetcher-from-ses…
whyrusleeping Oct 21, 2021
b7dfe90
feat: plumb through context changes
guseggert Oct 21, 2021
793bb03
Revert "feat: plumb through context changes"
guseggert Oct 21, 2021
b066559
feat: add context to interface (#18)
guseggert Oct 28, 2021
d041c54
feat: plumb through context changes (#28)
guseggert Oct 29, 2021
d1cf54c
feat: plumb through contexts (#42)
guseggert Nov 10, 2021
378fb21
feat: add context to interfaces (#86)
guseggert Nov 10, 2021
ae9364a
feat: plumb through context changes (#28)
guseggert Nov 10, 2021
3a39d7e
feat: plumb through context changes (#47)
guseggert Nov 10, 2021
8604dc0
feat: plumb through context changes (#18)
guseggert Nov 11, 2021
01d2a5e
feat: plumb through datastore contexts (#39)
guseggert Nov 11, 2021
8232413
Size-based unsharding (#94)
schomatis Nov 12, 2021
2614f3e
feat: add context to interfaces (#90)
guseggert Nov 12, 2021
bfa7e92
feat: plumb through datastore context changes
guseggert Oct 21, 2021
91853fb
support threshold based automatic sharding and unsharding of director…
schomatis Nov 16, 2021
8c04627
chore: add keys to composite literal fields
galargh Nov 17, 2021
f47878a
chore: use Warnf instead of Warningf
galargh Nov 17, 2021
404d259
Merge pull request ipfs/go-ipfs-provider#40 from galargh/ci/govet-and…
marten-seemann Nov 17, 2021
c57ae79
fix: remove context from HashOnRead
guseggert Nov 19, 2021
e81cb4c
feat: plumb through context changes
guseggert Nov 19, 2021
c66b60c
feat: plumb through datastore contexts
aschmahmann Nov 22, 2021
261de8a
feat: per-cid locking
Stebalien Sep 23, 2021
de93c86
chore: improve error message for invalid ipfs paths
shushen Feb 10, 2022
a3031a7
chore: update doc to match implementation for CID only paths
shushen Feb 10, 2022
1b9d107
Merge pull request ipfs/go-path#51 from shushen/35-path-parse-error-msg
aschmahmann Feb 10, 2022
3ea7266
Resolver: convert to interface.
hsanjuan Feb 25, 2022
4547f9e
Use ipld.ErrNotFound for NotFound errors
hsanjuan Apr 7, 2020
8dceb79
s/log/logger
hsanjuan Apr 7, 2020
8001a94
Use ipld.ErrNotFound instead of ErrNotFound
hsanjuan Apr 7, 2020
00a68a6
s/log/logger
hsanjuan Mar 2, 2022
4ec405c
Improve NotFound error description
hsanjuan Apr 7, 2020
049d13b
Use ipld.ErrNotFound
hsanjuan Apr 7, 2020
3f1d60e
refactor: follow the happy left practice in Filestore.DeleteBlock
Jorropo Mar 17, 2022
2263eca
Update tests to use ipld.IsNotFound to check for notfound errors
hsanjuan Mar 2, 2022
44ec330
sync: update CI config files (#15)
web3-bot Mar 18, 2022
e9c49a2
Resolver: unexport BasicResover
hsanjuan Mar 23, 2022
47f4c30
Merge pull request ipfs/go-path#53 from ipfs/resolver-interface
hsanjuan Mar 24, 2022
f9d0ad9
fix: document error (#74)
godcong Mar 25, 2022
af325c0
fix(publisher): fix garbled code output (#28)
godcong Mar 25, 2022
548e3d4
fix: use IPLD.ErrNotFound instead of string comparison in tests
Jorropo Mar 31, 2022
948dcb3
feat: add tracing (#30)
guseggert Apr 8, 2022
aca3a18
refactor(block): CIDv1 and BlockPutSettings CidPrefix (#80)
schomatis Apr 21, 2022
a2af87e
fix: error handling while enumerating pins
lidel Apr 15, 2022
043eed1
fix: CIDv1 error with go-libp2p 0.19 (#32)
lidel Apr 27, 2022
435dbbc
feat: add basic tracing
iand May 4, 2022
80f06e2
feat: add basic tracing
iand May 4, 2022
0bf8c2a
feat: fast-path for PutMany, falling back to Put for single block cal…
MichaelMure May 6, 2022
9b58e52
Remove unused context
iand May 12, 2022
2ad1dc9
Merge pull request ipfs/go-blockservice#91 from iand/feat-tracing
iand May 12, 2022
695f791
Merge pull request ipfs/go-path#59 from iand/feat-tracing
iand May 12, 2022
9194b97
Make switchToSharding more efficient
hsanjuan Jun 15, 2022
9abb693
Rename HasBlock to NotifyNewBlocks, and make it accept multiple blocks
MichaelMure Jul 13, 2022
1b9178f
remove IsOnline() as it's not used anywhere
MichaelMure Jul 13, 2022
2fac27e
write blocks retrieved from the exchange to the blockstore
MichaelMure Jul 8, 2022
931b053
Exchange don't add blocks on their own anymore
MichaelMure Jul 14, 2022
b739af1
test: remove TestHasBlockReturnsNil
Jorropo Jul 27, 2022
8ee16bb
blockservice should notify the exchange when caching blocks in GetBlo…
MichaelMure Jul 27, 2022
620a34f
fix: correctly fallback to non session exchanges with sessions.
Jorropo Jul 27, 2022
41de1a5
Merge pull request ipfs/go-blockservice#1 from Jorropo/fix-sessions
MichaelMure Jul 27, 2022
00087bb
refactor: rewrite getBlocks batch loop to be clearer
Jorropo Jul 28, 2022
89bd5ed
docs: Add proper documenation to the interface.
MichaelMure Aug 5, 2022
912fc33
feat: add blake3 as a good hash
laudiacay Jun 30, 2022
0f23770
use peer.IDFromBytes instead of peer.IDFromString (#38)
marten-seemann Aug 19, 2022
1b8377b
sync: update CI config files (#105)
web3-bot Aug 23, 2022
3cb06eb
sync: update CI config files (#34)
web3-bot Aug 23, 2022
5cfe8e6
sync: update CI config files (#60)
web3-bot Aug 23, 2022
b180aa1
sync: update CI config files (#39)
web3-bot Aug 23, 2022
ea6ac8c
sync: update CI config files (#87)
web3-bot Aug 25, 2022
c5d4aa0
sync: update CI config files (#125)
web3-bot Aug 26, 2022
fe8211a
update go-libp2p to v0.22.0, release v0.2.0 (#39)
marten-seemann Aug 27, 2022
e23fe44
stop using the deprecated io/ioutil package
web3-bot Aug 29, 2022
5c8841a
stop using the deprecated io/ioutil package
web3-bot Aug 29, 2022
eea2118
stop using the deprecated io/ioutil package
web3-bot Aug 29, 2022
504dcf9
Merge pull request ipfs/go-mfs#102 from ipfs/web3-bot/sync
galargh Aug 31, 2022
c2c98d0
Merge pull request ipfs/go-filestore#60 from ipfs/web3-bot/sync
galargh Aug 31, 2022
c7bfc09
fix: import io as _io
galargh Aug 31, 2022
39cc238
Merge pull request ipfs/go-pinning-service-http-client#21 from ipfs/w…
galargh Aug 31, 2022
3bf94cd
stop using the deprecated io/ioutil package
web3-bot Sep 1, 2022
78dca4b
Merge pull request ipfs/go-ipfs-keystore#10 from ipfs/web3-bot/sync
galargh Sep 1, 2022
dbe72d0
refactor: cleanup Sprintf for Bearer token
Jorropo Aug 18, 2022
62bb938
fix: send up to nanosecond precision
Jorropo Aug 18, 2022
f02f43c
chore: require V2 signatures
lidel Sep 12, 2022
c7a4817
chore: update go-libp2p to v0.22.0
nisainan Sep 13, 2022
8169e7a
Merge pull request ipfs/go-ipfs-routing#35 from nisainan/master
willscott Sep 19, 2022
fc4155a
refactor: avoid nested code
lidel Sep 20, 2022
f748bd4
fix: MaxRecordSize of 10 KiB
lidel Sep 20, 2022
2c0a4ab
Merge pull request ipfs/go-ipns#41 from ipfs/chore/require-v2-signatures
lidel Sep 20, 2022
105eb5f
Fix: panic when childer is nil (#127)
ajnavarro Oct 12, 2022
3605c16
stop using the deprecated io/ioutil package
web3-bot Dec 6, 2022
65758c3
chore: update go-lib2p, avoid depending on go-libp2p-core, bump go.mo…
marten-seemann Nov 20, 2022
9bf7907
Merge commit "fix: queue: switch from using a time based counter to a…
Jorropo Dec 9, 2022
07c0099
Merge branch 'master'
Jorropo Dec 9, 2022
02df822
fix: multihash keying in the tests
Jorropo Dec 9, 2022
5341e61
Merge pull request ipfs/go-ipfs-provider#36 from ipfs/web3-bot/sync
Jorropo Dec 9, 2022
a8baf45
chore: update go-libp2p
marten-seemann Nov 20, 2022
90ca296
chore: update go-libp2p to v0.23.4
marten-seemann Nov 20, 2022
7f24945
fix: make queue 64bits on 32bits platforms too
Jorropo Dec 9, 2022
8d41689
stop using the deprecated io/ioutil package
web3-bot Dec 6, 2022
156fc84
chore: update go-libp2p to v0.23.4, update go.mod version to 1.18
marten-seemann Nov 20, 2022
ff2eb2b
feat: add UseCumulativeSize UnixfsLs option (#95)
hacdias Dec 12, 2022
01de18f
chore: migrate files (#97)
hacdias Jan 12, 2023
bcf0498
chore: migrate files (#134)
hacdias Jan 12, 2023
bcb9190
feat: add namesys publish options (#94)
hacdias Jan 24, 2023
00661e3
feat: use PublishOptions for publishing IPNS records (#35)
hacdias Jan 24, 2023
b3ab888
feat: add RoutingAPI to CoreAPI
hacdias Nov 14, 2022
6199506
sync: update CI config files (#45)
web3-bot Feb 8, 2023
790ce94
sync: update CI config files (#18)
web3-bot Feb 8, 2023
48f8c69
test: basic routing interface test
hacdias Feb 8, 2023
4e262c8
fix: correctly handle degenerate hamts while reading data
Jorropo Jan 10, 2023
6c761b3
test: fix tests after hamt issues fixes
Jorropo Feb 9, 2023
54d20f0
test: use two nodes in publish
Jorropo Feb 10, 2023
6e23bc2
fix: correctly handle errors in balancedbuilder's Layout
cpucorecore Dec 14, 2022
9f11814
fix: correctly handle return errors
Jorropo Feb 10, 2023
e19b61d
feat!: add and connect missing context, remove RemovePinWithMode (#23)
MichaelMure Feb 22, 2023
cd0d3b1
feat: expose ErrInvalidPath and implement .Is function (#66)
hacdias Feb 23, 2023
fbb6fad
docs(pinning): eliminate copy-n-paste typo (#28)
smoyer64 Feb 27, 2023
dc90d16
Allow using a NewWriteThrough() blockstore.
hsanjuan Feb 27, 2023
2cd3f88
Accept options for blockstore: start with WriteThrough and NoPrefix
hsanjuan Mar 8, 2023
eeceee5
feat: stub and deprecate NewBlockstoreNoPrefix
Jorropo Mar 8, 2023
fdfe12c
feat: human-readable cache keys for IPFS_NS_MAP (#38)
laurentsenta Mar 8, 2023
a8700eb
docs: improved DNSLink lookup error
lidel Mar 8, 2023
517c64d
feat: mega migration
Jorropo Mar 20, 2023
196af75
TODO
Jorropo Mar 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bitswap/benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import (

cid "github.com/ipfs/go-cid"
delay "github.com/ipfs/go-ipfs-delay"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
"github.com/ipfs/go-libipfs/bitswap"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"
testinstance "github.com/ipfs/go-libipfs/bitswap/testinstance"
tn "github.com/ipfs/go-libipfs/bitswap/testnet"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"
)

type fetchFunc func(b *testing.B, bs *bitswap.Bitswap, ks []cid.Cid)
Expand Down
4 changes: 2 additions & 2 deletions bitswap/bitswap.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"github.com/ipfs/go-metrics-interface"

"github.com/ipfs/go-cid"
blockstore "github.com/ipfs/go-ipfs-blockstore"
exchange "github.com/ipfs/go-ipfs-exchange-interface"
blocks "github.com/ipfs/go-libipfs/blocks"
blockstore "github.com/ipfs/go-libipfs/blockstore"
exchange "github.com/ipfs/go-libipfs/exchange"
logging "github.com/ipfs/go-log"
"github.com/libp2p/go-libp2p/core/peer"

Expand Down
2 changes: 1 addition & 1 deletion bitswap/bitswap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
detectrace "github.com/ipfs/go-detect-race"
blocksutil "github.com/ipfs/go-ipfs-blocksutil"
delay "github.com/ipfs/go-ipfs-delay"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
ipld "github.com/ipfs/go-ipld-format"
"github.com/ipfs/go-libipfs/bitswap"
bsmsg "github.com/ipfs/go-libipfs/bitswap/message"
Expand All @@ -22,6 +21,7 @@ import (
tn "github.com/ipfs/go-libipfs/bitswap/testnet"
blocks "github.com/ipfs/go-libipfs/blocks"
"github.com/ipfs/go-libipfs/internal/test"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"
tu "github.com/libp2p/go-libp2p-testing/etc"
p2ptestutil "github.com/libp2p/go-libp2p-testing/netutil"
peer "github.com/libp2p/go-libp2p/core/peer"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/client/bitswap_with_sessions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (
cid "github.com/ipfs/go-cid"
blocksutil "github.com/ipfs/go-ipfs-blocksutil"
delay "github.com/ipfs/go-ipfs-delay"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
"github.com/ipfs/go-libipfs/bitswap"
"github.com/ipfs/go-libipfs/bitswap/client/internal/session"
testinstance "github.com/ipfs/go-libipfs/bitswap/testinstance"
tn "github.com/ipfs/go-libipfs/bitswap/testnet"
blocks "github.com/ipfs/go-libipfs/blocks"
"github.com/ipfs/go-libipfs/internal/test"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"
tu "github.com/libp2p/go-libp2p-testing/etc"
)

Expand Down
4 changes: 2 additions & 2 deletions bitswap/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import (
"go.opentelemetry.io/otel/trace"

"github.com/ipfs/go-cid"
blockstore "github.com/ipfs/go-ipfs-blockstore"
exchange "github.com/ipfs/go-ipfs-exchange-interface"
bsbpm "github.com/ipfs/go-libipfs/bitswap/client/internal/blockpresencemanager"
bsgetter "github.com/ipfs/go-libipfs/bitswap/client/internal/getter"
bsmq "github.com/ipfs/go-libipfs/bitswap/client/internal/messagequeue"
Expand All @@ -33,6 +31,8 @@ import (
bsnet "github.com/ipfs/go-libipfs/bitswap/network"
"github.com/ipfs/go-libipfs/bitswap/tracer"
blocks "github.com/ipfs/go-libipfs/blocks"
blockstore "github.com/ipfs/go-libipfs/blockstore"
exchange "github.com/ipfs/go-libipfs/exchange"
logging "github.com/ipfs/go-log"
"github.com/ipfs/go-metrics-interface"
process "github.com/jbenet/goprocess"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/client/internal/sessionmanager/sessionmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/trace"

exchange "github.com/ipfs/go-ipfs-exchange-interface"
"github.com/ipfs/go-libipfs/bitswap/client/internal"
bsbpm "github.com/ipfs/go-libipfs/bitswap/client/internal/blockpresencemanager"
notifications "github.com/ipfs/go-libipfs/bitswap/client/internal/notifications"
bssession "github.com/ipfs/go-libipfs/bitswap/client/internal/session"
bssim "github.com/ipfs/go-libipfs/bitswap/client/internal/sessioninterestmanager"
exchange "github.com/ipfs/go-libipfs/exchange"
peer "github.com/libp2p/go-libp2p/core/peer"
)

Expand Down
2 changes: 1 addition & 1 deletion bitswap/internal/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
// Maximum size of the wantlist we are willing to keep in memory.
MaxQueuedWantlistEntiresPerPeer = 1024

// Copied from github.com/ipfs/go-verifcid#maximumHashLength
// Copied from github.com/ipfs/go-libipfs/verifcid#maximumHashLength
// FIXME: expose this in go-verifcid.
MaximumHashLength = 128
MaximumAllowedCid = binary.MaxVarintLen64*4 + MaximumHashLength
Expand Down
2 changes: 1 addition & 1 deletion bitswap/message/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
pool "github.com/libp2p/go-buffer-pool"
msgio "github.com/libp2p/go-msgio"

u "github.com/ipfs/go-ipfs-util"
u "github.com/ipfs/go-libipfs/util"
"github.com/libp2p/go-libp2p/core/network"
)

Expand Down
2 changes: 1 addition & 1 deletion bitswap/message/message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
pb "github.com/ipfs/go-libipfs/bitswap/message/pb"

cid "github.com/ipfs/go-cid"
u "github.com/ipfs/go-ipfs-util"
blocks "github.com/ipfs/go-libipfs/blocks"
u "github.com/ipfs/go-libipfs/util"
)

func mkFakeCid(s string) cid.Cid {
Expand Down
2 changes: 1 addition & 1 deletion bitswap/message/pb/cid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/ipfs/go-cid"
u "github.com/ipfs/go-ipfs-util"
u "github.com/ipfs/go-libipfs/util"

pb "github.com/ipfs/go-libipfs/bitswap/message/pb"
)
Expand Down
2 changes: 1 addition & 1 deletion bitswap/network/ipfs_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (

ds "github.com/ipfs/go-datastore"
blocksutil "github.com/ipfs/go-ipfs-blocksutil"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
bsmsg "github.com/ipfs/go-libipfs/bitswap/message"
pb "github.com/ipfs/go-libipfs/bitswap/message/pb"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"
"github.com/ipfs/go-libipfs/bitswap/network/internal"
tn "github.com/ipfs/go-libipfs/bitswap/testnet"
"github.com/ipfs/go-libipfs/internal/test"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"
tnet "github.com/libp2p/go-libp2p-testing/net"
"github.com/libp2p/go-libp2p/core/host"
"github.com/libp2p/go-libp2p/core/network"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/server/internal/decision/blockstoremanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"sync"

cid "github.com/ipfs/go-cid"
bstore "github.com/ipfs/go-ipfs-blockstore"
ipld "github.com/ipfs/go-ipld-format"
blocks "github.com/ipfs/go-libipfs/blocks"
bstore "github.com/ipfs/go-libipfs/blockstore"
"github.com/ipfs/go-metrics-interface"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
ds "github.com/ipfs/go-datastore"
"github.com/ipfs/go-datastore/delayed"
ds_sync "github.com/ipfs/go-datastore/sync"
blockstore "github.com/ipfs/go-ipfs-blockstore"
delay "github.com/ipfs/go-ipfs-delay"
"github.com/ipfs/go-libipfs/bitswap/internal/testutil"
blocks "github.com/ipfs/go-libipfs/blocks"
blockstore "github.com/ipfs/go-libipfs/blockstore"
"github.com/ipfs/go-libipfs/internal/test"
"github.com/ipfs/go-metrics-interface"
)
Expand Down
2 changes: 1 addition & 1 deletion bitswap/server/internal/decision/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
"github.com/google/uuid"

"github.com/ipfs/go-cid"
bstore "github.com/ipfs/go-ipfs-blockstore"
wl "github.com/ipfs/go-libipfs/bitswap/client/wantlist"
"github.com/ipfs/go-libipfs/bitswap/internal/defaults"
bsmsg "github.com/ipfs/go-libipfs/bitswap/message"
pb "github.com/ipfs/go-libipfs/bitswap/message/pb"
bmetrics "github.com/ipfs/go-libipfs/bitswap/metrics"
blocks "github.com/ipfs/go-libipfs/blocks"
bstore "github.com/ipfs/go-libipfs/blockstore"
logging "github.com/ipfs/go-log"
"github.com/ipfs/go-metrics-interface"
"github.com/ipfs/go-peertaskqueue"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/server/internal/decision/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import (
"github.com/ipfs/go-cid"
ds "github.com/ipfs/go-datastore"
dssync "github.com/ipfs/go-datastore/sync"
blockstore "github.com/ipfs/go-ipfs-blockstore"
"github.com/ipfs/go-libipfs/bitswap/internal/testutil"
message "github.com/ipfs/go-libipfs/bitswap/message"
pb "github.com/ipfs/go-libipfs/bitswap/message/pb"
blocks "github.com/ipfs/go-libipfs/blocks"
blockstore "github.com/ipfs/go-libipfs/blockstore"
"github.com/ipfs/go-libipfs/internal/test"
process "github.com/jbenet/goprocess"
peer "github.com/libp2p/go-libp2p/core/peer"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"time"

"github.com/ipfs/go-cid"
blockstore "github.com/ipfs/go-ipfs-blockstore"
"github.com/ipfs/go-libipfs/bitswap/internal/defaults"
"github.com/ipfs/go-libipfs/bitswap/message"
pb "github.com/ipfs/go-libipfs/bitswap/message/pb"
Expand All @@ -18,6 +17,7 @@ import (
"github.com/ipfs/go-libipfs/bitswap/server/internal/decision"
"github.com/ipfs/go-libipfs/bitswap/tracer"
blocks "github.com/ipfs/go-libipfs/blocks"
blockstore "github.com/ipfs/go-libipfs/blockstore"
logging "github.com/ipfs/go-log"
"github.com/ipfs/go-metrics-interface"
process "github.com/jbenet/goprocess"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/testinstance/testinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
ds "github.com/ipfs/go-datastore"
delayed "github.com/ipfs/go-datastore/delayed"
ds_sync "github.com/ipfs/go-datastore/sync"
blockstore "github.com/ipfs/go-ipfs-blockstore"
delay "github.com/ipfs/go-ipfs-delay"
"github.com/ipfs/go-libipfs/bitswap"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"
tn "github.com/ipfs/go-libipfs/bitswap/testnet"
blockstore "github.com/ipfs/go-libipfs/blockstore"
tnet "github.com/libp2p/go-libp2p-testing/net"
p2ptestutil "github.com/libp2p/go-libp2p-testing/netutil"
peer "github.com/libp2p/go-libp2p/core/peer"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/testnet/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
bsnet "github.com/ipfs/go-libipfs/bitswap/network"

delay "github.com/ipfs/go-ipfs-delay"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
blocks "github.com/ipfs/go-libipfs/blocks"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"

tnet "github.com/libp2p/go-libp2p-testing/net"
"github.com/libp2p/go-libp2p/core/peer"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/testnet/peernet.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
bsnet "github.com/ipfs/go-libipfs/bitswap/network"

ds "github.com/ipfs/go-datastore"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"

tnet "github.com/libp2p/go-libp2p-testing/net"
"github.com/libp2p/go-libp2p/core/peer"
Expand Down
2 changes: 1 addition & 1 deletion bitswap/testnet/virtual.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

cid "github.com/ipfs/go-cid"
delay "github.com/ipfs/go-ipfs-delay"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
mockrouting "github.com/ipfs/go-libipfs/routing/mock"

tnet "github.com/libp2p/go-libp2p-testing/net"
"github.com/libp2p/go-libp2p/core/connmgr"
Expand Down
2 changes: 1 addition & 1 deletion blocks/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"

cid "github.com/ipfs/go-cid"
u "github.com/ipfs/go-ipfs-util"
u "github.com/ipfs/go-libipfs/util"
mh "github.com/multiformats/go-multihash"
)

Expand Down
2 changes: 1 addition & 1 deletion blocks/blocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

cid "github.com/ipfs/go-cid"
u "github.com/ipfs/go-ipfs-util"
u "github.com/ipfs/go-libipfs/util"
mh "github.com/multiformats/go-multihash"
)

Expand Down
Loading