Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

WIP - Bootstrap feature #45

Merged
merged 8 commits into from
Jan 11, 2016
Merged

WIP - Bootstrap feature #45

merged 8 commits into from
Jan 11, 2016

Conversation

daviddias
Copy link
Member

  • ipfs bootstrap list - Show peers in the bootstrap list
    • core
      • impl
      • tests
    • api
      • impl
      • tests
    • cli
      • impl
      • tests
  • ipfs bootstrap add []... - Add peers to the bootstrap list
    • core
      • impl
      • tests
    • api
      • impl
      • tests
    • cli
      • impl
      • tests
  • ipfs bootstrap rm []... - Removes peers from the bootstrap list
    • core
      • impl
      • tests
    • api
      • impl
      • tests
    • cli
      • impl
      • tests
  • refresh repo for each usage

@daviddias daviddias changed the title WIP WIP - Bootstrap feature Jan 9, 2016
@daviddias daviddias mentioned this pull request Jan 11, 2016
18 tasks
@daviddias
Copy link
Member Author

Going to defer the HTTP API endpoints on #46

daviddias added a commit that referenced this pull request Jan 11, 2016
@daviddias daviddias merged commit d5af577 into master Jan 11, 2016
@daviddias daviddias deleted the feat/bootstrap branch January 11, 2016 12:42
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
If you have a shard like:

```
F1
  A0
    C8myfile
```

And you add a file that causes `C8myfile` to become a subshard, previously
you would end up with this:

```
F1
  A0
    C8
      C8
        B3myfile
        82newfile
```

This PR ensures you get the correct structure:

```
F1
  A0
    C8
      B3myfile
      82newfile
```

When we update a shard, we re-create a portion of the shard in order to
update the existing structure, this avoids loading the entire shard which
could be expensive.  Previously we weren't descending into the newly
created sub-shard to add the correct portion to the existing shard.

Fixes ipfs#45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants