In the server.js the networker.configure() method (required for announce) is dependent on db.listNetworkConfigurations() (see below):
|
async _rejoin () { |
|
if (this.noAnnounce) return |
|
const networkConfigurations = await this.db.listNetworkConfigurations() |
|
for (const config of networkConfigurations) { |
|
if (!config.announce) continue |
|
const joinProm = this.networker.configure(config.discoveryKey, { |
However, no where in the server.js file the db.putNetworkConfiguration() is called, which means the db.listNetworkConfigurations() always returns empty, thus the cores are not announced.
In the
server.jsthenetworker.configure()method (required for announce) is dependent ondb.listNetworkConfigurations()(see below):hyperspace/server.js
Lines 120 to 125 in 26d6d36
However, no where in the
server.jsfile thedb.putNetworkConfiguration()is called, which means thedb.listNetworkConfigurations()always returns empty, thus the cores are not announced.