Oscar Guindzberg
3717323444
bitcoinj 0.15: PeerAddress: Use InetSocketAddress constructor instead of InetAddress+port.
2020-09-18 18:29:32 -03:00
Oscar Guindzberg
4348f663ca
bitcoinj 0.15: PeerAddress: don't set addr when already using hostname.
2020-09-18 18:29:32 -03:00
Oscar Guindzberg
8e45633dd8
bitcoinj 0.15: Use PeerAddress constructor with NetworkParameters parameter.
2020-09-18 18:29:31 -03:00
Oscar Guindzberg
e57c3010e3
bitcoinj 0.15: Replace Utils.closeUnchecked() to Closeables.closeQuietly() to match WalletAppKit.
2020-09-18 18:29:31 -03:00
Oscar Guindzberg
7e57bdb416
bitcoinj 0.15: Deal with methods throwing SignatureDecodeException.
2020-09-18 18:29:31 -03:00
Oscar Guindzberg
87481cdbf5
bitcoinj 0.15: Replace usage of bitcoinj's removed methods with new ones.
2020-09-18 18:29:30 -03:00
Oscar Guindzberg
26b20f0af7
bitcoinj 0.15: replace ECKey.toAddress() with LegacyAddress.fromKey().
2020-09-18 18:29:30 -03:00
Oscar Guindzberg
7356b64f59
bitcoinj 0.15: Use LegacyAddress.fromBase58() instead of Address.fromBase58().
2020-09-18 18:29:30 -03:00
Oscar Guindzberg
46f2ba6ee0
bitcoinj 0.15: WalletEventListener was replaced by more granular listeners.
2020-09-18 18:29:29 -03:00
Oscar Guindzberg
f0735a3b0c
bitcoinj 0.15: ScriptException moved to another package.
2020-09-18 18:29:29 -03:00
Oscar Guindzberg
da8ab931aa
bitcoinj 0.15: NetworkParameters.acceptableAddressCodes was removed.
2020-09-18 18:29:28 -03:00
Oscar Guindzberg
d4ac45da21
bitcoinj 0.15: bitcoinj moved from spongycastle to bouncycastle.
2020-09-18 18:29:28 -03:00
Oscar Guindzberg
850ae9a6aa
bitcoinj 0.15: Use new Wallet.toString() with includeLookAhead boolean param.
2020-09-18 18:29:28 -03:00
Oscar Guindzberg
423ffa84e1
bitcoinj 0.15: Futures.addCallback() in guava 28 requires an executor.
2020-09-18 18:29:27 -03:00
Oscar Guindzberg
9f767377e8
bitcoinj 0.15: Update modified dependencies hashes.
2020-09-18 18:29:27 -03:00
Oscar Guindzberg
3aea094538
bitcoinj 0.15: bitcoinj exclude dependency bcprov-jdk15on because already included by bisq.
2020-09-18 18:29:27 -03:00
Oscar Guindzberg
41556f25df
bitcoinj 0.15: Update depencencies to match bitcoinj versions
2020-09-18 18:29:26 -03:00
Oscar Guindzberg
e9a8be372a
Use bitcoinj 0.15.8 (commit 86c7094)
2020-09-18 18:29:24 -03:00
ghubstan
da78465fe4
Make grpc boilerplate classes pkg protected
2020-09-18 11:46:29 -03:00
ghubstan
e2bd89f39a
Refactor API & add registerdisputeagent method to CLI
...
This commit contains most of the changes suggested by @chimp1984 in
his api-suggestions branch. See
961703ecea
A new 'registerdisputeagent' method was also added to MainCli, 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.
2020-09-18 11:33:16 -03:00
ghubstan
f8213f2066
Give core api a simple way to verify init status
...
This change adds a new StatusCheck class, for use by Core*Service
instances needing to verify the server is ready to perform trading
related functions.
Currently implements one method, verifyCanTrade(), that throws an
IllegalStateException with a CLI friendly error message if any of
the following checks fail:
- the p2p network is bootstrapped
- the block chain sync is complete
- the minimum # of peers are connected
- the wallet is available
- the wallet balance is available (not null)
2020-09-17 13:32:15 -03:00
chimp1984
48a14ee8a7
Merge branch 'master_upstream' into fix-trade-protocol-issues
2020-09-16 20:45:17 -05:00
sqrrm
b22ab6a1fa
Merge pull request #4531 from bisq-network/release/v1.3.9
...
Release/v1.3.9
2020-09-16 17:01:48 +02:00
Christoph Atteneder
81df879881
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.3.9
...
# Conflicts:
# build.gradle
# desktop/package/linux/Dockerfile
# desktop/package/linux/package.sh
# desktop/package/linux/release.sh
# desktop/package/macosx/create_app.sh
# desktop/package/macosx/finalize.sh
# desktop/package/macosx/insert_snapshot_version.sh
# desktop/package/windows/package.bat
# desktop/package/windows/release.bat
# relay/src/main/resources/version.txt
2020-09-16 16:52:54 +02:00
Christoph Atteneder
95dd561d91
Revert to SNAPSHOT version
2020-09-16 16:49:48 +02:00
sqrrm
6cf10c43a6
Merge pull request #4525 from ghubstan/2-refactor-apitest-grpcstubs
...
Refactor apitest for api calls to any daemon type
2020-09-16 16:42:19 +02:00
sqrrm
b812a261cf
Merge pull request #4524 from ghubstan/1-register-regest-dispute-agents
...
Add core support for registration of regtest dispute agents via API
2020-09-16 16:33:18 +02:00
ghubstan
57423f4fdb
Refactor to fix dispute agent mgr usage
2020-09-16 11:14:30 -03:00
Christoph Atteneder
06ac7a7605
Bump version number for v1.3.9
2020-09-16 15:58:58 +02:00
chimp1984
f6cb7c6696
Ensure the division is not by 0 and add try catch to MovingAverage
2020-09-16 15:56:19 +02:00
chimp1984
601de7890d
Add try/catch at setSuggestedSecurityDeposit code
2020-09-16 15:56:13 +02:00
Christoph Atteneder
8cb4b5016c
Merge pull request #4529 from chimp1984/make-moving-average-code-more-safe
...
Make moving average code more safe
2020-09-16 15:51:14 +02:00
sqrrm
e8c2974f14
Merge pull request #4515 from m52go/refresh-strings-1
...
Refresh strings, 1/n
2020-09-16 14:46:06 +02:00
sqrrm
b2d6d81d5d
Merge pull request #4528 from bisq-network/release/v1.3.8
...
Merge v1.3.8
2020-09-15 14:56:20 +02:00
Christoph Atteneder
98b03937d8
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.3.8
...
# Conflicts:
# core/src/main/java/bisq/core/support/dispute/agent/MultipleHolderNameDetection.java
# core/src/main/java/bisq/core/trade/txproof/xmr/XmrTxProofService.java
2020-09-15 13:24:06 +02:00
Christoph Atteneder
5f957f0a64
Revert to SNAPSHOT version
2020-09-15 09:26:08 +02:00
chimp1984
70d98d9554
Ensure the division is not by 0 and add try catch to MovingAverage
2020-09-14 16:06:52 -05:00
chimp1984
71d57298b0
Add try/catch at setSuggestedSecurityDeposit code
2020-09-14 16:05:47 -05:00
ghubstan
3f0394f722
Bump version to 1.3.8
2020-09-14 12:14:37 -03:00
ghubstan
8384dd8004
Add api dispute agent registration test case
...
This test case checks that mediators and refund agents can be
registered over grpc, but not on mainnet.
2020-09-14 12:13:36 -03:00
ghubstan
148a0f1200
Refactor test cases to use arbitrary grpc stubs
...
Most test cases send requests to the alicedaemon, but new test cases
will need to be able to send requests to arbitration and bob daemons.
2020-09-14 12:09:04 -03:00
ghubstan
899bea8df5
Replace "localhost" strings with InetAddress.getLoopbackAddress calls
2020-09-14 11:53:02 -03:00
ghubstan
304047eaca
Create GrpcDisputeAgentsService stub
2020-09-14 11:40:22 -03:00
ghubstan
3386b43e52
Add GrpcDisputeAgentsService to GrpcServer
2020-09-14 11:39:36 -03:00
ghubstan
bbf4f09181
Add core impl for registering dispute agents
...
This change supports registering mediators and refund agents on
daemons running on regest or testnet chains. Registering
arbitrators is not supported.
2020-09-14 11:04:10 -03:00
ghubstan
15b6044587
Add dispute agents service proto def to grpc.proto
2020-09-14 10:44:19 -03:00
ghubstan
359037a3ba
Move version service proto def to bottom of grpc.proto
2020-09-14 10:43:31 -03:00
sqrrm
7e08fdf6c2
Merge pull request #4523 from ripcurlx/datastore-updates-for-v1.3.8
...
Update data stores for v1.3.8 (second attempt)
2020-09-14 10:38:20 +02:00
Christoph Atteneder
efcca92688
Update data stores for v1.3.8 (second attempt)
2020-09-14 10:16:42 +02:00
Christoph Atteneder
f8a69411f2
Update data stores for v1.3.8 (second attempt)
2020-09-14 10:09:38 +02:00