[bisq-network/bisq] Add tx broadcast to mempool explorer api (#4943)

chimp1984 notifications at github.com
Mon Dec 14 01:45:48 CET 2020


Send raw tx to mempool space explorer nodes.
Use https://mempool.space/api 

Posting the tx still does not work for unknown reasons...

Based on https://github.com/bisq-network/bisq/pull/4942
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor: extract variable (no functional change)
  * Refactor: Move config of httpClient to static method (we will
  * Refactor: Move getConfiguredHttpClient to Util class and make it generic
  * Use Lombok setter and getters
  * Update toString method
  * Remove requestWithGETNoProxy methods from interface (not used outside)
  * Refactor: Extract method getSocks5Proxy
  * Refactor getSocks5Proxy method: Return early, make flow more clear
  * Rearrange: move method down
  * Add HttpMethod enum
  * Add baseUrl as param, extract variable
  * Improve logging
  * Rename httpclient (make it more distinct to Bisq Httpclient)
  * Add post method. Add doRequest method
  * Refactor: Rename 'requestWithGET' to 'get'
  * - Add hasPendingRequest() getter and block repeated requests
  * Check if we have a pending request and return if thats the case
  * Use dedicated HttpClient for fee requests
  * Fix incorrect checkArgument
  * Improve logs
  * Use @Singleton annotation instead of definition in module
  * Rename PriceNodeHttpClient to PriceHttpClient
  * Improve thread name
  * Improve log
  * Add TX_BROADCAST_SERVICES_CLEAR_NET and
  * Merge branch 'refactor-http-client' into add-tx-broadcast-to-mempool-explorer-api
  * Add MemPoolSpaceTxBroadcaster

-- File Changes --

    M core/src/main/java/bisq/core/app/BisqSetup.java (7)
    M core/src/main/java/bisq/core/btc/BitcoinModule.java (3)
    M core/src/main/java/bisq/core/btc/wallet/TxBroadcaster.java (7)
    A core/src/main/java/bisq/core/btc/wallet/http/MemPoolSpaceTxBroadcaster.java (129)
    A core/src/main/java/bisq/core/btc/wallet/http/TxBroadcastHttpClient.java (32)
    M core/src/main/java/bisq/core/notifications/MobileNotificationService.java (7)
    R core/src/main/java/bisq/core/provider/FeeHttpClient.java (6)
    A core/src/main/java/bisq/core/provider/PriceHttpClient.java (34)
    M core/src/main/java/bisq/core/provider/fee/FeeProvider.java (12)
    M core/src/main/java/bisq/core/provider/fee/FeeRequest.java (2)
    M core/src/main/java/bisq/core/provider/fee/FeeService.java (5)
    M core/src/main/java/bisq/core/provider/price/PriceFeedService.java (17)
    M core/src/main/java/bisq/core/provider/price/PriceProvider.java (2)
    M core/src/main/java/bisq/core/provider/price/PriceRequest.java (2)
    M core/src/main/java/bisq/core/trade/txproof/xmr/XmrTxProofRequest.java (26)
    M core/src/main/java/bisq/core/user/Preferences.java (21)
    M p2p/src/main/java/bisq/network/http/HttpClient.java (14)
    M p2p/src/main/java/bisq/network/http/HttpClientImpl.java (220)
    A p2p/src/main/java/bisq/network/http/HttpClientUtil.java (37)
    A p2p/src/main/java/bisq/network/http/HttpMethod.java (23)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4943.patch
https://github.com/bisq-network/bisq/pull/4943.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/4943
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201213/c643f550/attachment.htm>


More information about the bisq-github mailing list