[bisq-network/bisq] Refactor API & add registerdisputeagent method to CLI (#4539)

Stan notifications at github.com
Fri Sep 18 14:40:49 UTC 2020


This commit contains most of the changes suggested by @chimp1984 in his api-suggestions branch.  See https://github.com/bisq-network/bisq/commit/961703ecea62df62946ab001ec28205662688ccd

A new `registerdisputeagent` method was also added to `CliMain`, finishing the work to support registration of mediators and refund agents on arbitration daemons running in regtest mode.  This method cannot be used to register dispute agents on mainnet;  users will see an error msg if they try.  (The change was added to this PR to avoid likely `CliMain` file conflicts.)

This PR replaces [4526](https://github.com/bisq-network/bisq/pull/4526).
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4539

-- Commit Summary --

  * Refactor API & add registerdisputeagent method to CLI

-- File Changes --

    M apitest/scripts/mainnet-test.sh (14)
    M cli/src/main/java/bisq/cli/CliMain.java (57)
    M core/src/main/java/bisq/core/api/CoreApi.java (10)
    M core/src/main/java/bisq/core/api/CoreDisputeAgentsService.java (2)
    M core/src/main/java/bisq/core/api/CoreOffersService.java (46)
    M core/src/main/java/bisq/core/api/CorePaymentAccountsService.java (86)
    M core/src/main/java/bisq/core/api/CoreWalletsService.java (36)
    M core/src/main/java/bisq/core/btc/wallet/WalletService.java (3)
    M core/src/main/java/bisq/core/user/User.java (10)
    M daemon/src/main/java/bisq/daemon/app/BisqDaemonMain.java (23)
    A daemon/src/main/java/bisq/daemon/grpc/GrpcGetTradeStatisticsService.java (37)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcOffersService.java (2)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcPaymentAccountsService.java (10)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcServer.java (52)
    A daemon/src/main/java/bisq/daemon/grpc/GrpcVersionService.java (28)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcWalletsService.java (19)
    M daemon/src/main/java/bisq/daemon/grpc/PasswordAuthInterceptor.java (11)
    M proto/src/main/proto/grpc.proto (14)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4539.patch
https://github.com/bisq-network/bisq/pull/4539.diff

-- 
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/4539
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200918/6ce4c676/attachment.html>


More information about the bisq-github mailing list