Manifest is a list of functions supported by sbot. If you don't have an ~/.ssb/config file you can create it yourself and restart patchwork to use it.
Someone should verify if updating the ~/.ssb/config file actually changes the hops in patchwork.
Patchwork displays it's config when it boots (from terminal).
If this doesn't work, I'll happily accept a pull request to make it so!
Hey @Matt McKegg, would a radio group in the settings view exposing the hops configuration from 0 to 3 (or other number) be a useful thing?
Could be, however I'm not very keen on supporting 3 hops as an option. I don't want to encourage it.
Other problem is that you would need to restart patchwork for the change to take effect.
If people know what they're doing and are happy to modify config files, then fine with me. But hop config is going to be a lot lot less useful once out-of-order messages is implemented and 3 hops will just make things slower and less efficient.
you have to restart patchwork/ssb to get new config. manifest.json
is not user editable - it's about the methods that are callable over RPC / the sbot
command. async
means that sbot friends.hops
internally takes a callback and returns a single value (or error)
@Matt McKegg makes sense to me. Better to devote time to better features.
@Karl (Laptop) in answer to your question - that manifest file is related to the hops config, but it's not the thing which set it.
Drilling in to find that config file on an installer version of Patchwork will require you to know where and how you system installed applications (mac/ linux). In mac I think applications are just folders and you might be able to see things ....
tl;dr anything is possible. What do you to achieve exactly?
@marina this is excellent.
I'm going to post links in the new-people
channel, because I'm sure it will be valuable.
I'm interested in there being a reliable web copy of the longer piece (ssb viewer is ok, but would prefer something like Medium for people who are brand new to the ideas). Could you post it on Medium or similar so I can link this work in to the original blogpost?
@musicmatze Just to clearify: I can change the ~/.ssb/config with an editor to get less hops? Would be neat for my next big journey where I won't have internet all the time and if I have then only mobile - would be expensive to have a 3 in there, a 1 would be better for me
Yes, this is correct.