hyperspace icon indicating copy to clipboard operation
hyperspace copied to clipboard

hyperspace cores are not announced: hyperspace/server.js is not calling db.putNetworkConfiguration() anywhere

Open KrishnaPG opened this issue 4 years ago • 0 comments

In the server.js the networker.configure() method (required for announce) is dependent on db.listNetworkConfigurations() (see below):

https://github.com/hypercore-protocol/hyperspace/blob/26d6d36f3d3f9d6ca1269994af5a2ddf9096c583/server.js#L120-L125

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.

KrishnaPG avatar Dec 22 '21 03:12 KrishnaPG