File tree 1 file changed +1
-1
lines changed
sources/blockchain/snippets
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ cat << 'EOF' >> ~/.profile
74
74
# Dusk specific commands
75
75
alias balance='rusk-wallet balance --spendable'
76
76
alias blocks='echo "Current: $(current)" ; echo "Latest : $(latest)"'
77
- alias chosen='i=1; zgrep "Block generated" /var/log/rusk.log* | while read -r line; do printf "%d: %s\\n" $i "$line"; i=$((i+1)); done'
77
+ alias chosen='i=1; zgrep "Block generated" /var/log/rusk.log* | while read -r line; do printf "\\e[30;1;43m %d \\e[0m %s\\n" $i "$line"; i=$((i+1)); done'
78
78
alias current='curl -s http://127.0.0.1:8080/02/Chain --data-raw '"'"'{"topic":"gql","data":"query{block(height:-1){header{height}}}"}'"'"' | jq .block.header.height'
79
79
alias latest='ruskquery block-height'
80
80
alias logs='tail -f /var/log/rusk.log'
You can’t perform that action at this time.
0 commit comments