[bisq-network/bisq] Add api trade simulation scripts (#5093)
Stan
notifications at github.com
Wed Jan 20 15:54:42 CET 2021
@ghubstan commented on this pull request.
> +registerdisputeagents() {
+ # Silently register dev dispute agents. It's easy to forget.
+ REG_KEY="6ac43ea1df2a290c1c8391736aa42e4339c5cb4f110ff0257a13b63211977b7a"
+ CMD="${CLI_BASE} --port=${ARBITRATOR_PORT} registerdisputeagent --dispute-agent-type=mediator --registration-key=${REG_KEY}"
+ SILENT=$($CMD)
+ 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})
Fixed in commit cb96f27f1.
--
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_r561022070
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210120/ef3ec714/attachment.htm>
More information about the bisq-github
mailing list