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

Add possibility to pass config options to local node and down to init() #109

Closed
wants to merge 27 commits into from
Closed

Conversation

haadcode
Copy link
Member

This PR will change the local() api so that options object can be passed to it.

Copy link
Member

@victorb victorb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes seem good, but tests are failing because of a hash mismatch. Can you confirm that it's unrelated to your changes?

@haadcode
Copy link
Member Author

Fixed the tests. Ready to merge @victorbjelkholm or @diasdavid?

@dignifiedquire
Copy link
Member

@haadcode please rebase onto master

jbenet and others added 22 commits November 11, 2016 17:43
- bug1: local var for the closure (this.subprocess set to null)
- bug2: order problem: should set .on('close') handler before .kill()
- now waits for "Daemon is ready"
- also tracks Gateway address
- checks failures on startup, and returns an error if so
  - this was a serious bug-- would not detect errors.
- fails correctly, without leaving the process hanging
bugfixes and improvements (ipfs daemon flags)
This also stops the crash when stopping a daemon.
fix: do not crash on stopDaemon & upgrade to 0.4.3
update go-ipfs-dep to v0.4.3-2
@haadcode
Copy link
Member Author

I'm just gonna make a new, clean PR. Too much stuff in between has happened making it super hard to follow what actually changed here.

New PR here: #123

@haadcode
Copy link
Member Author

Closing this PR.

@haadcode haadcode closed this Nov 11, 2016
@haadcode haadcode removed their assignment Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants