git ssb

2+

cel / scuttlebot.io



Tree: 55fa9f19815af5b0cf3144df0d5bc787bd4de820

Files: 55fa9f19815af5b0cf3144df0d5bc787bd4de820 / tmpl / docs / message-types / pub.md

420 bytesRaw

Pub

Pub-messages announce the ID, address, and port of public Pub users. They are automatically published by Scuttlebot after successfully using an invite to a Pub.

When Scuttlebot sees a pub-message, it will add the link/host/port triple to its peers table, and connect to the peer in the future to sync messages.

{
  type: 'pub',
  address: {
    key: FeedLink,
    host: String,
    port: Number
  }
}

Built with git-ssb-web