Skip to content

Commit

Permalink
Add RPC timing to zcash-rpc-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Sep 29, 2022
1 parent 75a6797 commit 09a38c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zebra-utils/zcash-rpc-diff
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@ echo "$@"
echo

echo "Querying $ZEBRAD $ZEBRAD_NET chain at height >=$ZEBRAD_HEIGHT..."
$ZCASH_CLI -rpcport="$ZEBRAD_RPC_PORT" "$@" > "$ZEBRAD_RESPONSE"
time $ZCASH_CLI -rpcport="$ZEBRAD_RPC_PORT" "$@" > "$ZEBRAD_RESPONSE"
echo

echo "Querying $ZCASHD $ZCASHD_NET chain at height >=$ZCASHD_HEIGHT..."
$ZCASH_CLI "$@" > "$ZCASHD_RESPONSE"
time $ZCASH_CLI "$@" > "$ZCASHD_RESPONSE"
echo

echo

Expand Down

0 comments on commit 09a38c5

Please sign in to comment.