[bisq-network/bisq] Add registerdisputeagent method to CLI (#4526)

Stan notifications at github.com
Mon Sep 14 15:55:05 UTC 2020


This change finishes the work to support registration of mediators and refund agents on arbitration daemons running on regtest. 
 This method cannot be used to register dispute agents on mainnet;  users will see an error msg if they try.

Some minor formatting changes are included in this change.

This PR should be reviewed & merged after [4525](https://github.com/bisq-network/bisq/pull/4525).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move version service proto def to bottom of grpc.proto
  * Add dispute agents service proto def to grpc.proto
  * Add core impl for registering dispute agents
  * Add GrpcDisputeAgentsService to GrpcServer
  * Create GrpcDisputeAgentsService stub
  * Replace "localhost" strings with InetAddress.getLoopbackAddress calls
  * Refactor test cases to use arbitrary grpc stubs
  * Add api dispute agent registration test case
  * Bump version to 1.3.8
  * Add registerdisputeagent method to CLI

-- File Changes --

    M apitest/scripts/mainnet-test.sh (4)
    M apitest/src/main/java/bisq/apitest/config/ApiTestConfig.java (4)
    M apitest/src/test/java/bisq/apitest/ApiTestCase.java (27)
    M apitest/src/test/java/bisq/apitest/method/GetBalanceTest.java (4)
    M apitest/src/test/java/bisq/apitest/method/GetVersionTest.java (3)
    M apitest/src/test/java/bisq/apitest/method/MethodTest.java (27)
    A apitest/src/test/java/bisq/apitest/method/RegisterDisputeAgentsTest.java (108)
    M apitest/src/test/java/bisq/apitest/method/WalletProtectionTest.java (51)
    M apitest/src/test/java/bisq/apitest/scenario/FundWalletScenarioTest.java (8)
    M cli/src/main/java/bisq/cli/CliMain.java (29)
    M cli/src/main/java/bisq/cli/GrpcStubs.java (3)
    M core/src/main/java/bisq/core/api/CoreApi.java (14)
    A core/src/main/java/bisq/core/api/CoreDisputeAgentsService.java (145)
    A daemon/src/main/java/bisq/daemon/grpc/GrpcDisputeAgentsService.java (45)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcServer.java (2)
    M proto/src/main/proto/grpc.proto (30)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4526.patch
https://github.com/bisq-network/bisq/pull/4526.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/4526
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200914/74fea1dc/attachment-0001.html>


More information about the bisq-github mailing list