mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
perf(directories): Moving IPFS and OribitDB data to a .ipfsdata directory
This commit is contained in:
@@ -64,6 +64,7 @@ database/
|
||||
system-user-*.json
|
||||
orbitdb
|
||||
ipfsdata
|
||||
.ipfsdata
|
||||
ipfs-service-provider.sh
|
||||
|
||||
!README.md
|
||||
|
||||
Generated
+56
-3237
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -27,8 +27,8 @@
|
||||
"axios": "^0.21.1",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"glob": "^7.1.6",
|
||||
"ipfs": "^0.54.4",
|
||||
"ipfs-coord": "^3.2.0",
|
||||
"ipfs": "0.54.4",
|
||||
"ipfs-coord": "../ipfs-coord/",
|
||||
"jsonrpc-lite": "^2.2.0",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"jwt-bch-lib": "^1.3.0",
|
||||
|
||||
@@ -50,7 +50,7 @@ class IpfsCoordAdapter {
|
||||
})
|
||||
|
||||
// Wait for the ipfs-coord library to signal that it is ready.
|
||||
await this.ipfsCoord.isReady()
|
||||
await this.ipfsCoord.start()
|
||||
|
||||
// Signal that this adapter is ready.
|
||||
this.isReady = true
|
||||
|
||||
@@ -25,7 +25,7 @@ class IpfsAdapter {
|
||||
try {
|
||||
// Ipfs Options
|
||||
const ipfsOptions = {
|
||||
repo: './ipfsdata',
|
||||
repo: './.ipfsdata/ipfs',
|
||||
start: true,
|
||||
config: {
|
||||
relay: {
|
||||
|
||||
Reference in New Issue
Block a user