Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

protect daemon calls if explorer is built #850

Closed
wants to merge 1 commit into from

Conversation

DavidVorick
Copy link
Member

This is a dirty hack that protects the daemon calls from being exposed if there is an explorer, that allows the API to be exposed to the web without needing to worry about someone hitting the /daemon/stop button.

The protection is only in place when there is no wallet.

This is a dirty hack that protects the daemon calls from being exposed if there is an explorer, that allows the API to be exposed to the web without needing to worry about someone hitting the `/daemon/stop` button.

The protection is only in place when there is no wallet.
@lukechampine
Copy link
Member

What about the gateway? Don't want to allow people to remove all the gateway's peers, or add their own malicious nodes

@lukechampine
Copy link
Member

I threw together a proof-of-concept for a separate explorer binary. Took <30min. I think it's worth considering.

@DavidVorick
Copy link
Member Author

Might be worth doing. I'm still in favor of the two binaries being combined, I feel weird about having two daemons.

But maybe it's merited. They do different enough things are are used in sufficiently different concepts.

@DavidVorick DavidVorick deleted the DavidVorick-patch-1 branch November 24, 2015 17:56
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.

None yet

2 participants