Updated to ipfs-coord v5

This commit is contained in:
Chris Troutner
2021-08-08 11:12:25 -07:00
parent 06631a81ad
commit 2d4bbd9ab0
4 changed files with 3239 additions and 160 deletions
-1
View File
@@ -1 +0,0 @@
This is where the mongodb docker container stores its db files.
+3238 -148
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -28,7 +28,7 @@
"bcryptjs": "^2.4.3",
"glob": "^7.1.6",
"ipfs": "0.54.4",
"ipfs-coord": "../ipfs-coord/",
"ipfs-coord": "^5.0.0",
"jsonrpc-lite": "^2.2.0",
"jsonwebtoken": "^8.5.1",
"jwt-bch-lib": "^1.3.0",
-10
View File
@@ -56,16 +56,6 @@ class IpfsAdapter {
// Set the 'server' profile so the node does not scan private networks.
await this.ipfs.config.profiles.apply('server')
// const nodeConfig = await this.ipfs.config.getAll()
// console.log(
// `IPFS node configuration: ${JSON.stringify(nodeConfig, null, 2)}`
// )
// Stop the IPFS node if we're running tests.
// if (this.config.env === 'test') {
// await this.ipfs.stop()
// }
// Signal that this adapter is ready.
this.isReady = true