Open staltz opened 3 years ago
I'm not even sure how ssb-server works, because it does not load ssb-master as the first plugin: https://github.com/ssbc/ssb-server/blob/7ca237c4d20025a27ec361973eeb3c19f5a3456b/bin.js#L50
I just remembered that christian realized this and other ordering dependencies, too and went to the length of randomizing the plugin order:
https://github.com/fraction/flotilla/blob/bed27f19610c5d6838b3c25642a2b1ef48a8cfee/index.js#L6-L37
@cblgh saw some race conditions (that showed up as pull-reader shs timeouts) when
ssb-db
was loaded beforessb-master
. This plugin should warn or panic when it's loaded as anything other than the first plugin.cc @arj03 @cryptix