Skip to content

Commit

Permalink
Adding support for neo-cli v2.9.3 (#147)
Browse files Browse the repository at this point in the history
* support neocli 2.9.3

* change SimplePlugin version
  • Loading branch information
nunojusto committed Jan 6, 2019
1 parent 9edfc3a commit b6b6da6
Show file tree
Hide file tree
Showing 14 changed files with 100 additions and 168 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ SEED_SERVER=neo-cli-privatenet-1
HOST_NAME=localhost

# neo-cli version
# Other supported versions: 2.9.0, 2.8.0, 2.7.6.1
NODE1_NEO_CLI_VERSION=2.8.0
# Other supported versions: 2.9.3, 2.9.2, 2.9.0, 2.8.0, 2.7.6.1
NODE1_NEO_CLI_VERSION=2.9.0
NODE2_NEO_CLI_VERSION=2.7.6.1
NODE3_NEO_CLI_VERSION=2.8.0
NODE4_NEO_CLI_VERSION=2.9.0
NODE4_NEO_CLI_VERSION=2.9.3

# neo-cli bootstrap chain
# Supported versions are: _genesis, _4kBlocks
Expand Down
2 changes: 1 addition & 1 deletion privnet/change_neo-cli_node_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker exec -it $CONTAINER bash -c 'apt-get install wget unzip -y'
docker exec -it $CONTAINER bash -c 'mv /opt/node/neo-cli/ /opt/node/neo-cli_old'
docker exec -it $CONTAINER bash -c "wget -O /opt/neo-cli.zip https://github.com/neo-project/neo-cli/releases/download/v$NEO_CLI_VERSION/neo-cli-linux-x64.zip || echo \"Error downloading neo-cli\" && exit"
docker exec -it $CONTAINER bash -c 'unzip -q -d /opt/node /opt/neo-cli.zip'
docker exec -it $CONTAINER bash -c "wget -O /opt/SimplePolicy.zip https://github.com/neo-project/neo-plugins/releases/download/v2.9.0/SimplePolicy.zip || echo \"Error downloading neo-plugins\" && exit"
docker exec -it $CONTAINER bash -c "wget -O /opt/SimplePolicy.zip https://github.com/neo-project/neo-plugins/releases/download/v2.9.3/SimplePolicy.zip || echo \"Error downloading neo-plugins\" && exit"
docker exec -it $CONTAINER bash -c 'unzip -q -d /opt/node/neo-cli /opt/SimplePolicy.zip'
docker exec -it $CONTAINER bash -c 'rm -fr /opt/node/neo-cli/Index_0000DDB1'
docker exec -it $CONTAINER bash -c 'rm -fr /opt/node/neo-cli/Chain_0000DDB1'
Expand Down
24 changes: 0 additions & 24 deletions privnet/configs/v2.7.6.1/config-windows.json

This file was deleted.

23 changes: 0 additions & 23 deletions privnet/configs/v2.7.6.1/config1.json

This file was deleted.

23 changes: 0 additions & 23 deletions privnet/configs/v2.7.6.1/config2.json

This file was deleted.

23 changes: 0 additions & 23 deletions privnet/configs/v2.7.6.1/config3.json

This file was deleted.

23 changes: 0 additions & 23 deletions privnet/configs/v2.7.6.1/config4.json

This file was deleted.

24 changes: 0 additions & 24 deletions privnet/configs/v2.8.0/config-windows.json

This file was deleted.

24 changes: 0 additions & 24 deletions privnet/configs/v2.9.0/config-windows.json

This file was deleted.

24 changes: 24 additions & 0 deletions privnet/configs/v2.9.3/config1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"ApplicationConfiguration": {
"Paths": {
"Chain": "Chain_{0}",
"Index": "Index_{0}"
},
"P2P": {
"Port": 20333,
"WsPort": 10333
},
"RPC": {
"BindAddress": "0.0.0.0",
"Port": 30333,
"SslCert": "",
"SslCertPassword": ""
},
"UnlockWallet": {
"Path": "",
"Password": "",
"StartConsensus": false,
"IsActive": false
}
}
}
24 changes: 24 additions & 0 deletions privnet/configs/v2.9.3/config2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"ApplicationConfiguration": {
"Paths": {
"Chain": "Chain_{0}",
"Index": "Index_{0}"
},
"P2P": {
"Port": 20334,
"WsPort": 10334
},
"RPC": {
"BindAddress": "0.0.0.0",
"Port": 30334,
"SslCert": "",
"SslCertPassword": ""
},
"UnlockWallet": {
"Path": "",
"Password": "",
"StartConsensus": false,
"IsActive": false
}
}
}
24 changes: 24 additions & 0 deletions privnet/configs/v2.9.3/config3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"ApplicationConfiguration": {
"Paths": {
"Chain": "Chain_{0}",
"Index": "Index_{0}"
},
"P2P": {
"Port": 20335,
"WsPort": 10335
},
"RPC": {
"BindAddress": "0.0.0.0",
"Port": 30335,
"SslCert": "",
"SslCertPassword": ""
},
"UnlockWallet": {
"Path": "",
"Password": "",
"StartConsensus": false,
"IsActive": false
}
}
}
24 changes: 24 additions & 0 deletions privnet/configs/v2.9.3/config4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"ApplicationConfiguration": {
"Paths": {
"Chain": "Chain_{0}",
"Index": "Index_{0}"
},
"P2P": {
"Port": 20336,
"WsPort": 10336
},
"RPC": {
"BindAddress": "0.0.0.0",
"Port": 30336,
"SslCert": "",
"SslCertPassword": ""
},
"UnlockWallet": {
"Path": "",
"Password": "",
"StartConsensus": false,
"IsActive": false
}
}
}
File renamed without changes.

0 comments on commit b6b6da6

Please sign in to comment.