INNER CODE UNIT · JavaScript

function

rainfu/xcoin · xcoin.js:152

    function (err, client) {
      if (err) {
        console.error("WARNING: MongoDB Connection Error: ", err);
        console.error(
          "WARNING: without MongoDB some features (such as backfilling/simulation) may be disabled."
        );
        console.error("Attempted authentication string: " + connectionString);
        if (cb) cb(null, xcoin);
        return;
      }
      var db = client.db(conf.db.mongo.db);
      _.set(conf, "db.mongo", db);
      if (cb) cb(null, xcoin);
    }
  );
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…