From 082f7c7cfb0dd679b780a4f18438c7de64b9cdf9 Mon Sep 17 00:00:00 2001 From: HAO ZHAI Date: Fri, 26 Aug 2022 11:03:03 +1200 Subject: [PATCH 1/2] Update README.md --- packages/node/README.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/packages/node/README.md b/packages/node/README.md index b93dc2b8ce..10660b82b8 100644 --- a/packages/node/README.md +++ b/packages/node/README.md @@ -17,13 +17,21 @@ $> subql-node Options: --help Show help [boolean] --version Show version number [boolean] - -f, --subquery Local path of the subquery project [string] - --subquery-name Name of the subquery project [string] + -f, --subquery Local path or IPFS cid of the subquery project + [string] [required] [default: "/Users/hz/Projects/Subquery/Test/js-test"] + --subquery-name Name of the subquery project [deprecated] [string] -c, --config Specify configuration file [string] - --local Use local mode [boolean] + --local Use local mode [deprecated] [boolean] --force-clean Force clean the database, dropping project schemas and tables [boolean] + --db-schema Db schema name of the project [string] + --unsafe Allows usage of any built-in module within the + sandbox [boolean] + --subscription Enable subscription by create notification triggers + [boolean] [default: false] --batch-size Batch size of blocks to fetch in one round [number] + --scale-batch-size scale batch size based on memory usage + [boolean] [default: false] --timeout Timeout for indexer sandbox to execute the mapping functions [number] --debug Show debug information to console output. will @@ -41,14 +49,20 @@ Options: --migrate Migrate db schema (for management tables only) [boolean] [default: false] --timestamp-field Enable/disable created_at and updated_at in schema - [boolean] [default: true] + [boolean] [default: false] -d, --network-dictionary Specify the dictionary api for this network [string] + --dictionary-timeout Max timeout for dictionary query [number] -m, --mmr-path Local path of the merkle mountain range (.mmr) file [string] --proof-of-index Enable/disable proof of index [boolean] [default: false] - -p, --port The port the service will bind to - [number] [default: 3000] + --ipfs IPFS gateway endpoint [string] + -p, --port The port the service will bind to [number] + --disable-historical Disable storing historical state entities + [boolean] [default: true] + --reindex Reindex to specified block height [number] + -w, --workers Number of worker threads to use for fetching and + processing blocks. Disabled by default. [number] ``` ## License From a6680ba7d296c1d78bd54ce109d8a35082aa6f9a Mon Sep 17 00:00:00 2001 From: HAO ZHAI Date: Fri, 26 Aug 2022 11:13:31 +1200 Subject: [PATCH 2/2] Update packages/node/README.md --- packages/node/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node/README.md b/packages/node/README.md index 10660b82b8..348f131d8a 100644 --- a/packages/node/README.md +++ b/packages/node/README.md @@ -18,7 +18,7 @@ Options: --help Show help [boolean] --version Show version number [boolean] -f, --subquery Local path or IPFS cid of the subquery project - [string] [required] [default: "/Users/hz/Projects/Subquery/Test/js-test"] + [string] [required] [default: process.cwd()] --subquery-name Name of the subquery project [deprecated] [string] -c, --config Specify configuration file [string] --local Use local mode [deprecated] [boolean]