Compare commits

..
17 Commits
Author SHA1 Message Date
Chris Troutner 7a620892d7 Merge pull request #57 from Permissionless-Software-Foundation/ct-unstable
Updating helia-coord
2024-07-21 15:54:31 -07:00
Chris Troutner 4a1524629c Merge remote-tracking branch 'upstream/master' into ct-unstable 2024-05-21 20:33:37 -07:00
Chris Troutner f7aaba71d1 Merge pull request #153 from Permissionless-Software-Foundation/ct-unstable
fix(helia-coord): Updating to v1.5.8
2024-05-04 09:38:28 -07:00
Chris Troutner 418a2e2ad2 fix(helia-coord): Updating to v1.5.8 2024-05-04 09:37:10 -07:00
Chris Troutner 74248ea0c7 Merge pull request #56 from Permissionless-Software-Foundation/ct-unstable
Improvements from production testing
2024-04-28 20:40:25 -07:00
Chris Troutner 70a69e98bb fix(pollForBchServices()): filtering for only wallet-services, not consumers 2024-04-28 16:53:34 -07:00
Chris Troutner 8cffd7fae3 Merge remote-tracking branch 'upstream/master' into ct-unstable 2024-04-27 13:22:07 -07:00
Chris Troutner a1023e8224 Merge pull request #152 from Permissionless-Software-Foundation/ct-unstable
fix(Docker): Setting memory limit at 4GB
2024-04-27 13:20:20 -07:00
Chris Troutner a32ed63d47 fix(Docker): Setting memory limit at 4GB 2024-04-27 13:17:57 -07:00
Chris Troutner 934fb46ffc Merge pull request #151 from Permissionless-Software-Foundation/ct-unstable
fix(Docker): Removing Volume statement
2024-04-26 14:40:41 -07:00
Chris Troutner b27136d03b fix(Docker): Removing Volume statement 2024-04-26 14:39:18 -07:00
Chris Troutner 9837d6a7fb Merge remote-tracking branch 'upstream/master' into ct-unstable 2024-04-13 07:15:57 -07:00
Chris Troutner 60a3d67c0b Merge pull request #150 from Permissionless-Software-Foundation/ct-unstable
fix(config): web2Api can be set with env var
2024-04-13 07:11:20 -07:00
Chris Troutner a03c5d8c91 fix(config): web2Api can be set with env var 2024-04-13 07:09:45 -07:00
Chris Troutner 0e7afb5f51 Merge remote-tracking branch 'upstream/master' into ct-unstable 2024-04-13 07:07:44 -07:00
Chris Troutner bcc90da49b Merge pull request #149 from Permissionless-Software-Foundation/ct-unstable
fix(config): Adding web2Api property to jsonLd config
2024-04-13 07:04:02 -07:00
Chris Troutner b473a3803c fix(config): Adding web2Api property to jsonLd config 2024-04-13 07:02:32 -07:00
8 changed files with 19 additions and 14 deletions
+4 -1
View File
@@ -119,7 +119,10 @@ export default {
'@type': 'Organization',
name: 'Permissionless Software Foundation',
url: 'https://PSFoundation.cash'
}
},
// If this node has an IP4 address or domain name used to provide a REST API.
web2Api: process.env.WEB2_API ? process.env.WEB2_API : null
},
// IPFS Ports
+7 -7
View File
@@ -26,7 +26,7 @@
"datastore-fs": "9.1.6",
"glob": "7.1.6",
"helia": "2.1.0",
"helia-coord": "1.5.7",
"helia-coord": "1.5.8",
"jsonrpc-lite": "2.2.0",
"jsonwebtoken": "8.5.1",
"jwt-bch-lib": "1.3.0",
@@ -11355,9 +11355,9 @@
}
},
"node_modules/helia-coord": {
"version": "1.5.7",
"resolved": "https://registry.npmjs.org/helia-coord/-/helia-coord-1.5.7.tgz",
"integrity": "sha512-S3untLIDr4A15bUw+dUmLHfqSNmJ9wjqENPzdqHjEP9HSUs7w+CtVNrvY3MSXTD+/nwTtUX5V4NiTdMXdWlBAA==",
"version": "1.5.8",
"resolved": "https://registry.npmjs.org/helia-coord/-/helia-coord-1.5.8.tgz",
"integrity": "sha512-azbipIf5TOn8qCloLx+qPJ/lt+MEJzJt1lHJB1DAlv5mmeqyNpfjXRJ3iJ0f794si0qx8Vhr7nd6pe/5Hfstjw==",
"dependencies": {
"@chris.troutner/retry-queue": "1.0.8",
"bch-encrypt-lib": "2.1.1",
@@ -33929,9 +33929,9 @@
}
},
"helia-coord": {
"version": "1.5.7",
"resolved": "https://registry.npmjs.org/helia-coord/-/helia-coord-1.5.7.tgz",
"integrity": "sha512-S3untLIDr4A15bUw+dUmLHfqSNmJ9wjqENPzdqHjEP9HSUs7w+CtVNrvY3MSXTD+/nwTtUX5V4NiTdMXdWlBAA==",
"version": "1.5.8",
"resolved": "https://registry.npmjs.org/helia-coord/-/helia-coord-1.5.8.tgz",
"integrity": "sha512-azbipIf5TOn8qCloLx+qPJ/lt+MEJzJt1lHJB1DAlv5mmeqyNpfjXRJ3iJ0f794si0qx8Vhr7nd6pe/5Hfstjw==",
"requires": {
"@chris.troutner/retry-queue": "1.0.8",
"bch-encrypt-lib": "2.1.1",
+1 -1
View File
@@ -41,7 +41,7 @@
"datastore-fs": "9.1.6",
"glob": "7.1.6",
"helia": "2.1.0",
"helia-coord": "1.5.7",
"helia-coord": "1.5.8",
"jsonrpc-lite": "2.2.0",
"jsonwebtoken": "8.5.1",
"jwt-bch-lib": "1.3.0",
-2
View File
@@ -66,8 +66,6 @@ RUN npm install
# Generate the API docs
RUN npm run docs
VOLUME /home/safeuser/keys
# Expose the port the API will be served on.
#EXPOSE 5010
+1 -1
View File
@@ -22,7 +22,7 @@ services:
options:
max-size: '10m'
max-file: '10'
#mem_limit: 500mb
mem_limit: 4000mb
links:
- mongo-bch-consumer
ports:
+1 -1
View File
@@ -20,7 +20,7 @@ import config from '../../../config/index.js'
// The minimum version of ipfs-bch-wallet-service that this wallet can work with.
const MIN_BCH_WALLET_VERSION = '1.11.11'
const WALLET_PROTOCOL = 'bch-wallet'
const WALLET_PROTOCOL = 'bch-wallet-service'
const MIN_P2WDB_VERSION = '1.4.0'
const P2WDB_PROTOCOL = 'p2wdb'
const MIN_FILE_PIN_VERSION = '1.0.0'
+4
View File
@@ -96,6 +96,10 @@ class IpfsUseCases {
const metadata = await ipfsFiles.getFileMetadata({ cid })
console.log('getCidMetadata() metadata: ', metadata)
if (metadata.success === false) {
throw new Error(metadata.message)
}
const filename = metadata.fileMetadata.filename
return filename
+1 -1
View File
@@ -47,7 +47,7 @@ const peerData = [
'@type': 'WebAPI',
name: 'trout-bch-wallet-service-dev',
version: '1.11.12',
protocol: 'bch-wallet',
protocol: 'bch-wallet-service',
description:
'IPFS service providing BCH blockchain access needed by a wallet.',
documentation: 'https://ipfs-bch-wallet-service.fullstack.cash/',