boxo
boxo copied to clipboard
A set of reference libraries for building IPFS applications and implementations in Go.
Currently, `WANT_HAVE` requests [rely](https://github.com/ipfs/boxo/blob/635e1754f8eb888518f211d2e7253f384b0441d4/bitswap/server/internal/decision/engine.go#L701) on `GetSize` to check for presence of the requested block and the learnt [size gets discarded](https://github.com/ipfs/boxo/blob/635e1754f8eb888518f211d2e7253f384b0441d4/bitswap/server/internal/decision/engine.go#L793). Basically, the Blockstore has to lookup data size that's unused....
Replaces PR #34 written by @kstuart Adds support for storing and retrieving file mode and last modification time. Support added to: - [X] Files - [X] LinkFiles - [X] Webfiles...
When the chunker is not able to fill a chunk with data, it allocated a new buffer for the partial chunk of data. With many files this results in allocation...
When I add a folder with many small files to kubo, memory usage always spikes abnormally - Total folder size: 400MiB - Number of files: 10000 - Average size per...
[Here](https://github.com/ipfs/boxo/blob/dfd4a53ba828a368cec8d61c3fe12969ac6aa94c/bitswap/network/ipfs_impl.go#L459) we listen and pass newly connected peers to Bitswap Client and Server. However, we do that for all our peers, including those who do not speak Bitswap protocol. This...
This issue captures information from a [PR discussion](https://github.com/ipfs/boxo/pull/629#discussion_r1653362485) in case it is useful for future Bitswap work. If this no longer applies, then this issue can be closed. It would...
Bug extracted from https://github.com/ipfs/boxo/pull/516, my rough understanding is: - The current implementation `ShouldExclude` is not fully compatible with https://git-scm.com/docs/gitignore. - > [There is an] issue where bar/ didn't catch directories....
This PR allows people to run own DNS over HTTP(S) resolver on the same box or within same secure LAN, without setting up unnecessary TLS certs. Main use case is...
fixes #640 This is an attempt at splitting the ProviderQueryManager out of Bitswap so that we can configure it more in consumers.
## Background This is the ProviderQueryManager that is in an internal package of the bitswap client https://github.com/ipfs/boxo/blob/2816b715439a3472ccf7d78e04d5db3b22952728/bitswap/client/internal/providerquerymanager/providerquerymanager.go#L71-L78 Notably it does almost nothing that's specific to Bitswap, or even the concept...