You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -X POST https://hooks.slack.com/services/$SLACK_WEBHOOK_TOKEN \
59
+
-H "Content-Type: application/json" \
60
+
-d '{"username": "ain-blockchain",
61
+
"channel": "blockchain-testnet-deploy",
62
+
"text": "New PR has just been merged(${{ github.ref }}, ${{ github.sha }}).\nCurrent version: '"$VERSION"', compatible with min('"$MIN_VERSION"'), max('"$MAX_VERSION"')",
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Official Javascript implementation of AI Network Blockchain.
7
7
8
8
Tracker server is required by new peers who wish to join the AIN network. Each peer is sent the ipaddress of 2 other nodes in the network. These nodes then gossip information through the network of all transactions and blocks.
9
9
10
-
NOTE: Tracker Server must be started first before starting any blockchain node instances
10
+
NOTE: Tracker Server must be started first before starting any blockchain node instances.
11
11
12
12
### Running without Docker
13
13
@@ -33,7 +33,10 @@ You can override default port numbering system by setting `PORT` and `P2P_PORT`
33
33
Set <NUMBER_OF_SHARDS> to 0 if you only want to run a parent chain, or set it to the specific number of shard chains you want to run in addition to the parent chain.
34
34
```
35
35
gcloud init
36
-
sh deploy_blockchain_gcp.sh {dev|spring|summer} <YOUR_GCP_USER_NAME> <NUMBER_OF_SHARDS>
36
+
# For one-off deploy
37
+
sh deploy_blockchain_gcp.sh {dev|spring|summer} <YOUR_GCP_USER_NAME> <NUMBER_OF_SHARDS> [--setup]
38
+
# For incremental deploy
39
+
sh deploy_blockchain_incremental_gcp.sh {dev|staging|spring|summer} <YOUR_GCP_USER_NAME> <NUMBER_OF_SHARDS> [--setup]
You can override default port numbering system by setting `PORT` and `P2P_PORT` environment variables.
102
105
Before starting node jobs, remove existing blockchain files and logs if necessary:
@@ -107,7 +110,7 @@ The default minimum size of the validator whitelist is 3. Change MIN_NUM_VALIDAT
107
110
the genesis-configs/base/genesis.json to change this value. You may also need to modify the GENESIS_WHITELIST and GENESIS_VALIDATORS accordingly.
108
111
The genesis configs directory used is `genesis-configs/base` by default and it can be altered using `GENESIS_CONFIGS_DIR` env variable. For example, afan shard cluster can use the following command line:
Set <NUMBER_OF_SHARDS> to 0 if you only want to run a parent chain, or set it to the specific number of shard chains you want to run in addition to the parent chain.
117
120
```
118
121
gcloud init
119
-
sh deploy_blockchain_gcp.sh {dev|spring|summer} <YOUR_GCP_USER_NAME> <NUMBER_OF_SHARDS>
122
+
# For one-off deploy
123
+
sh deploy_blockchain_gcp.sh {dev|spring|summer} <YOUR_GCP_USER_NAME> <NUMBER_OF_SHARDS> [--setup]
124
+
# For incremental deploy
125
+
sh deploy_blockchain_incremental_gcp.sh {dev|staging|spring|summer} <YOUR_GCP_USER_NAME> <NUMBER_OF_SHARDS> [--setup]
0 commit comments