forked from Qortal/qortal
Improved run.sh, additional stop.sh and bumped genesis block timestamp in blockchain.json
This commit is contained in:
parent
07d4d6f11d
commit
1cb2935cad
7
run.sh
7
run.sh
@ -6,6 +6,13 @@ if [ "$USER" = "root" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
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.
|
# Limits Java JVM stack size and maximum heap usage.
|
||||||
# Comment out for bigger systems, e.g. non-routers
|
# Comment out for bigger systems, e.g. non-routers
|
||||||
JVM_MEMORY_ARGS="-Xss256k -Xmx128m"
|
JVM_MEMORY_ARGS="-Xss256k -Xmx128m"
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
},
|
},
|
||||||
"genesisInfo": {
|
"genesisInfo": {
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"timestamp": "1580720000000",
|
"timestamp": "1580820000000",
|
||||||
"transactions": [
|
"transactions": [
|
||||||
{ "type": "ISSUE_ASSET", "owner": "QUwGVHPPxJNJ2dq95abQNe79EyBN2K26zM", "assetName": "QORT", "description": "QORTAL coin", "quantity": 0, "isDivisible": true, "reference": "28u54WRcMfGujtQMZ9dNKFXVqucY7XfPihXAqPFsnx853NPUwfDJy1sMH5boCkahFgjUNYqc5fkduxdBhQTKgUsC", "data": "{}" },
|
{ "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 },
|
{ "type": "ISSUE_ASSET", "owner": "QUwGVHPPxJNJ2dq95abQNe79EyBN2K26zM", "assetName": "Legacy-QORA", "description": "Representative legacy QORA", "quantity": 0, "isDivisible": true, "data": "{}", "isUnspendable": true },
|
||||||
|
10
stop.sh
Executable file
10
stop.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user