diff --git a/run.sh b/run.sh index c4ae4fbb..b7d3306d 100755 --- a/run.sh +++ b/run.sh @@ -6,6 +6,13 @@ if [ "$USER" = "root" ]; then exit fi +# No qortal.jar but we have a Maven built one? +# Be helpful and copy across to correct location +if [ ! -e qortal.jar -a -f target/qortal*.jar ]; then + echo "Copying Maven-built Qortal JAR to correct pathname" + cp target/qortal*.jar qortal.jar +fi + # Limits Java JVM stack size and maximum heap usage. # Comment out for bigger systems, e.g. non-routers JVM_MEMORY_ARGS="-Xss256k -Xmx128m" diff --git a/src/main/resources/blockchain.json b/src/main/resources/blockchain.json index 37a6ce6b..a1fec67a 100644 --- a/src/main/resources/blockchain.json +++ b/src/main/resources/blockchain.json @@ -57,7 +57,7 @@ }, "genesisInfo": { "version": 4, - "timestamp": "1580720000000", + "timestamp": "1580820000000", "transactions": [ { "type": "ISSUE_ASSET", "owner": "QUwGVHPPxJNJ2dq95abQNe79EyBN2K26zM", "assetName": "QORT", "description": "QORTAL coin", "quantity": 0, "isDivisible": true, "reference": "28u54WRcMfGujtQMZ9dNKFXVqucY7XfPihXAqPFsnx853NPUwfDJy1sMH5boCkahFgjUNYqc5fkduxdBhQTKgUsC", "data": "{}" }, { "type": "ISSUE_ASSET", "owner": "QUwGVHPPxJNJ2dq95abQNe79EyBN2K26zM", "assetName": "Legacy-QORA", "description": "Representative legacy QORA", "quantity": 0, "isDivisible": true, "data": "{}", "isUnspendable": true }, diff --git a/stop.sh b/stop.sh new file mode 100755 index 00000000..c34cd12f --- /dev/null +++ b/stop.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +echo 'Calling GET /admin/stop on local Qortal node' +if curl --url http://localhost:12391/admin/stop 1>/dev/null 2>&1; then + echo "Qortal node responded and should be shutting down" + exit 0 +else + echo "No response from Qortal node - not running?" + exit 1 +fi