[bisq-network/bisq] Introduce gRPC API proof of concept (#3888)
Chris Beams
notifications at github.com
Mon Jan 20 12:35:01 UTC 2020
cbeams commented on this pull request.
> + result = tradeStatistics.toString();
+ break;
+ case "getOffers":
+ List<bisq.core.offer.Offer> offers = getOffers().stream()
+ .map(bisq.core.offer.Offer::fromProto)
+ .collect(Collectors.toList());
+ result = offers.toString();
+ break;
+ case "getPaymentAccounts":
+ List<PaymentAccount> paymentAccounts = getPaymentAccounts().stream()
+ .map(proto -> PaymentAccount.fromProto(proto, corePersistenceProtoResolver))
+ .collect(Collectors.toList());
+ result = paymentAccounts.toString();
+ break;
+ case "placeOffer":
+ // test input: placeOffer CNY BUY 750000000 true -0.2251 1000000 500000 0.12 5a972121-c30a-4b0e-b519-b17b63795d16
Fixed in d77ff101fbccda8ea3262fe41e53ded49d6b1bd6.
--
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/3888#discussion_r368524960
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200120/a5053bf9/attachment-0001.html>
More information about the bisq-github
mailing list