Closed dominictarr closed 5 years ago
Check the readme, some of these are documented (pub and logging are)
Is dunbar still used? I checked the graphmitter code and I dont think it is. EDIT: nm, jus saw your response
oh, so pub: false
should set lan only mode! looking at the code that was removed. no one has complained about that though, so I guess no one was using it.
But just the fact that we had config and we didn't know what it did shows we are doing something wrong.
I agree, config has been a bit haphazard.
I'd like for us to create a config "oracle" like I did in ssb-web-server: https://github.com/ssbc/ssb-web-server/blob/master/config.js
That gives us a nice tool to validate config, and the getters let us do computed config
careful buddy! better not call it that, we might get sued!
LarryEllisonLawsuitFactory()
Hello, I wanted to ask about the scope of ssb-config. There seem to be some absent fields in the readme, like keys and appname
keys
isn't really a config option (it's not loaded by this library, but I think sbot and ssb-client attach it to the config on loading...) appname really should be described in the readme though.
i'm confused with config.local. it seems to be replace by config.gossip.local. no?!?
correct. it's gossip.local
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
there are a number of configuration options that apply to core scuttlebutt these should be documented. as requested by @dust in this patchwork post: %rDXQexDAKASv4MB41TPW+koLqqE7uIiLGXwE7hdUjkE=.sha256
quick notes:
I don't know what
pub
does, and don't know what the possible values are forlogging
@pfraze ?maybe config for plugins should not be maintained in this module? ... plugin defaults should be set in the plugin. probably documented there too? I guess we have core plugins, so we could aggregate all the docs for those.