client download path changed
This commit is contained in:
parent
f5cf64efc9
commit
11f4113474
@ -121,7 +121,7 @@ git checkout release-cdn
|
||||
# Build Ceremonyclient qClient
|
||||
echo "⏳Building qCiient"
|
||||
sleep 1 # Add a 1-second delay
|
||||
cd ~/ceremonyclient/client
|
||||
cd ~/ceremonyclient/node
|
||||
GOEXPERIMENT=arenas go build -o qclient main.go
|
||||
|
||||
# Step 5:Determine the ExecStart line based on the architecture
|
||||
|
||||
@ -211,7 +211,7 @@ BASE_URL="https://releases.quilibrium.com/qclient-release"
|
||||
FILES=$(curl -s $BASE_URL | grep -oE "qclient-[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?-${OS_ARCH}(\.dgst)?(\.sig\.[0-9]+)?")
|
||||
|
||||
# Change to the download directory
|
||||
cd ~/ceremonyclient/client
|
||||
cd ~/ceremonyclient/node
|
||||
|
||||
# Download each file
|
||||
for file in $FILES; do
|
||||
|
||||
@ -28,19 +28,9 @@ alias nstart="service ceremonyclient start"
|
||||
alias nrestart="service ceremonyclient restart"
|
||||
alias nstop="service ceremonyclient stop"
|
||||
alias benchmark='increment=$(journalctl -u ceremonyclient -ocat -n 100 | grep increment | awk -F'\[:,\}\]' '\''{for(i=1;i<=NF;i++){if($i~"increment"){gsub(/[ "]/,"",$i); print $(i+1)}}}'\'' | tail -n 1) && difficulty=$(expr 200000 - $increment / 4) && cpus=$(nproc) && score=$(echo "scale=2; ($cpus*$cpus*1000)/$difficulty" | bc) && echo "" && echo "CPU(s): $cpus" && echo "Increment: $increment" && echo "Difficulty: $difficulty" && echo "Score: $score"'
|
||||
alias qbalance="cd ~/ceremonyclient/client && ./qclient-2.0.2.3-linux-amd64 token balance --config ../node/.config/ && cd ~"
|
||||
alias mincrement="journalctl -u ceremonyclient.service -f --no-hostname -o cat -g "publishing proof batch" -n 1000"
|
||||
alias qbalance="cd ~/ceremonyclient/node && ./qclient-2.0.2.3-linux-amd64 token balance"
|
||||
alias qtoken="cd ~/ceremonyclient/node && ./qclient-2.0.2.3-linux-amd64 token coins"
|
||||
alias qmint="cd ~/ceremonyclient/node && ./qclient-2.0.2.3-linux-amd64 token mint all"
|
||||
alias mincrement="journalctl -u ceremonyclient.service -f --no-hostname -o cat -g 'publishing proof batch'-n 1000"
|
||||
alias qnode="cd ~/ceremonyclient/node"
|
||||
alias client="cd ~/ceremonyclient/client"
|
||||
|
||||
|
||||
|
||||
# Shortcuts for Docker
|
||||
alias dpeer-count='cd ~/ceremonyclient/ && docker compose exec node grpcurl -plaintext -max-msg-sz 150000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerManifests | grep peerId | wc -l'
|
||||
alias dnode-info='cd ~/ceremonyclient/ && docker compose exec node node -node-info && cd ~'
|
||||
alias ddb-console='cd ~/ceremonyclient/ && - docker compose exec node node --db-console && cd ~'
|
||||
alias dbalance='cd ~/ceremonyclient/ && docker compose exec node node -balance && cd ~'
|
||||
alias dlog='cd ~/ceremonyclient/ && docker compose logs -f -n, --tail 100 && cd ~'
|
||||
alias dstart='cd ~/ceremonyclient/ && docker compose up -d && cd ~'
|
||||
alias drestart='cd ~/ceremonyclient/ && docker compose down && docker compose up -d && cd ~'
|
||||
alias dstop='cd ~/ceremonyclient/ && docker compose down && cd ~'
|
||||
alias client="cd ~/ceremonyclient/node"
|
||||
@ -164,7 +164,7 @@ BASE_URL="https://releases.quilibrium.com/qclient-release"
|
||||
FILES=$(curl -s $BASE_URL | grep -oE "qclient-[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?-${OS_ARCH}(\.dgst)?(\.sig\.[0-9]+)?")
|
||||
|
||||
# Change to the download directory
|
||||
cd ~/ceremonyclient/client
|
||||
cd ~/ceremonyclient/node
|
||||
|
||||
# Download each file
|
||||
for file in $FILES; do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user