-
Notifications
You must be signed in to change notification settings - Fork 62
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
Conversation
There was a problem hiding this 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?
Fixed the tests. Ready to merge @victorbjelkholm or @diasdavid? |
@haadcode please rebase onto master |
- 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
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 |
Closing this PR. |
This PR will change the local() api so that options object can be passed to it.