src/explorer/index.js
function join (callback) {
  log('connected to sig-server')
  io.emit('ss-join', {
    peerId: config.peerId.toHex(),
    notify: true
  })
  io.on('we-update-finger', fingerTable.updateFinger(io))
  io.on('we-handshake', channel.accept(io))

  io.once('we-ready', callback)
}
function join (callback) {
  log('connected to sig-server')
  io.emit('ss-join', {
    peerId: config.peerId.toHex(),
    notify: true
  })
  io.on('we-update-finger', fingerTable.updateFinger(io))
  io.on('we-handshake', channel.accept(io))

  io.once('we-ready', callback)
}
function join ( callback ) { log ( 'connected to sig-server' ) io . emit ( 'ss-join' , { peerId : config . peerId . toHex ( ) , notify : true } ) io . on ( 'we-update-finger' , fingerTable . updateFinger ( io ) ) io . on ( 'we-handshake' , channel . accept ( io ) ) io . once ( 'we-ready' , callback ) }
join the peerTable of the sig-server
join the peerTable of the sig - server