[bisq-network/bisq] Add api trade simulation scripts (#5093)

Stan notifications at github.com
Wed Jan 20 15:32:11 CET 2021


@ghubstan commented on this pull request.



> +    commandalert $? "Could not register dev/test mediator."
+    CMD="${CLI_BASE} --port=${ARBITRATOR_PORT} registerdisputeagent --dispute-agent-type=refundagent --registration-key=${REG_KEY}"
+    SILENT=$($CMD)
+    commandalert $? "Could not register dev/test refundagent."
+    # Do something with $SILENT to keep codacy happy.
+    echo "$SILENT"  > /dev/null
+}
+
+getbtcoreaddress() {
+    CMD="bitcoin-cli -regtest  -rpcport=19443 -rpcuser=apitest -rpcpassword=apitest getnewaddress"
+    NEW_ADDRESS=$(${CMD})
+    echo "${NEW_ADDRESS}"
+}
+
+genbtcblocks() {
+	NUM_BLOCKS=$1

Fixed in commit 6c322d4aae1b273ce81242816d55efc1a1f47ff8.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5093#discussion_r561004035
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210120/8507d54d/attachment.htm>


More information about the bisq-github mailing list