You are reading content from Scuttlebutt
User has chosen not to be hosted publicly
User has not chosen to be hosted publicly
@Christian Bundy %Far1Rz3fvKasmSAyDa1KFX42doeWJr6/XbNPfN7N0p0=.sha256

@glyph

SSB-Server is actually two completely separate modules:

  • An SSB service that runs in the background.
  • An instance of [MuxRPCLI] for command-line MuxRPC calls.

Most of the calls you do are going to be like gossip.connect or replicate.request, because the SSB-Gossip and SSB-Replicate plugins place all of their behavior in an object. Unfortunately we aren't consistent and SSB-DB just puts all of its methods at the top-level, which is why we have createHistoryStream instead of db.createHistoryStream.

That version you're seeing is actually a method from SSB-DB, so it's actually returning SSB-DB's version.

Another confusing thing though:

ssb version

Show version numbers (sync)

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Using SSB-CLI (alternative to MuxRPCLI) I can see the usage info, which shows me a --version flag. The really weird part:

$ ssb version --version
1.6.0

wat

@Christian Bundy %NndDJcSrTIWh4oGgbq8s/b+CFfXJ6WH5sHmQe3Ox1HY=.sha256

lmao I forgot that --version was a global flag that returned the SSB-CLI version number. I need coffee.

User has chosen not to be hosted publicly
@Christian Bundy %nj7ei5gKjScyDLCp31DGlN1J5mp1Ys/k4dcfV1h8WIo=.sha256

@emile

You've saved my life, thank you. What do I owe you?

@cel %dHXzUJCVRGog/WBCD0UuLkanY3Im/jDLgt9YaYOA/nw=.sha256

It's a bug, introduced in commit 275666a468097d004f7cabaf29d2167150a92bd6

User has chosen not to be hosted publicly
Join Scuttlebutt now