[bisq-network/bisq] Add apitest rolling offer simulation script (#5129)

Stan notifications at github.com
Wed Feb 3 16:09:02 CET 2021


@ghubstan commented on this pull request.



> +    printbreak
+    sleeptraced 3
+
+    # Show Alice's new offer.
+    printdate "ALICE $ALICE_ROLE:  Looking at her new $DIRECTION $CURRENCY_CODE offer."
+    CMD="$CLI_BASE --port=$ALICE_PORT getmyoffer --offer-id=$OFFER_ID"
+    printdate "ALICE CLI: $CMD"
+    OFFER=$($CMD)
+    exitoncommandalert $?
+    echo "$OFFER"
+    printbreak
+    sleeptraced 3
+
+    # Generate some btc blocks.
+    printdate "Generating btc blocks after publishing Alice's offer."
+    genbtcblocks 3 2

These simulation scripts are intended to demonstration how the CLI is used to create offers and perform trades.  

A test case that automate one side of a trade, and require manual CLI use from the other side, has been written, but not checked in.  We should talk about the requirements of that test case before I return to work on it and submit it in a new PR.

-- 
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/5129#discussion_r569491295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210203/79f89a99/attachment.htm>


More information about the bisq-github mailing list