Lucas Molas
Lucas Molas
The connection manager adds streams on each Deal that is received and disconnects the stream if there was no valid response from the client. Due to the connections being kept...
https://github.com/ipld/go-car/blob/a4380ef67a191a4e50a89a3e5dabb715cb798027/car.go#L58-L61 The `dag.Walk()` function receives a `GetLinks` callback to fetch the children of the parent node `r`. We overload that function with the processing itself of the node (in this...
Follow-up to https://github.com/filecoin-project/lotus/pull/6360.
HATM description ================ Brief description of what we have at the moment. The Hash Array Mapped Trie (HAMT, superficially explained in https://en.wikipedia.org/wiki/Hash_array_mapped_trie) is at its heart a tree of DAG...
Background: https://github.com/ipfs/boxo/issues/387. To differentiate between nodes of the HAMT directory and nodes that represent an entry in that directory (but that don't belong to it) the links in the DAG...
Spawned from https://github.com/ipfs/go-unixfs/pull/106. As explained there, [`WalkDepth`](https://github.com/ipfs/go-merkledag/blob/4a8891d5ef68f0711656579672d17f8533100add/merkledag.go#L397) does a BFS when called with the concurrent option, which is what we do in the HAMT when enumerating all links (`(*Shard).EnumLinksAsync()`). Depending...
See https://github.com/ipfs/go-ipfs/issues/4052.
Closes https://github.com/ipfs/go-ipfs/issues/7183. (The bigger issue of GC/MFS lock is being [worked on](https://github.com/ipfs/go-ipfs/issues/6113) independently. We close the issue about *hanging* on startup.)
Some minor fixes pending but it should get a review at this point. (Sharness test also pending.) - Connected to https://github.com/ipfs/go-ipfs/issues/7183. - Closes https://github.com/ipfs/go-ipfs/issues/8100 - Closes #10762 (by allowing for...