Commit graph

13262 commits

Author SHA1 Message Date
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
cd2357
e55594d1e3
Fix FeeReceiverSelectorTest
Split test into sub-tests in order to avoid mockito UnnecessaryStubbingExceptions. These exceptions occurred because of 3 ambiguous uses of "when().thenReturn()" in the same test. These calls were ambiguous, because the when() argument was identical and mockito did not check the thenReturn() arguments, which would have differentiated the calls. Splitting this test method into 4 test methods achieved this call differentiation.
2020-09-16 11:35:33 +02:00
cd2357
7a73fea622
Fix UnnecessaryStubbingException in test
Remove duplicate call to a stubbed method. This caused an
UnnecessaryStubbingException with Mockito's strict validation settings.
2020-09-16 09:24:29 +02:00
cd2357
2bc85d7553
Upgrade to Mockito 3.3.0
Use Mockito 3.3.0, which fixes some bugs that caused valid tests to fail
in the Java 14 environment.
2020-09-16 09:16:22 +02:00
cd2357
e6920c179c
Upgrade to Lombok 1.18.12
Use Lombok v1.18.12, which adds support for Java 14.
2020-09-16 09:15:13 +02:00
cd2357
77134a97b7
Upgrade to Gradle 6.3
Use Gradle 6.3, which adds support for Java 14.
2020-09-16 09:15:13 +02:00
cd2357
1109bafae0
Upgrade buildserver config to OpenJDK 14
Use java 14 to build the necessary artifacts. This is the most recent
version which brings support for JavaFX 14, as well as a newer packager
tool to build native applications.
2020-09-16 09:15:13 +02:00
cd2357
2ce807c9c8
Upgrade JavaFX to v14
Update the gradle dependency to JavaFX 14.

This brings to Bisq the latest JavaFX fixes and improvements, especially
 in the areas of UI performance, memory management and security.

JavaFX can be upgraded independently of the JDK used to build the
application, so this change is modular and does not affect other parts
of the build process.

Related / likely related to: #350 #2135 #2509 #3128 #3307 #3308 #3343
#3430 #3657 #3677 #3683 #3686 #3786 #3787 #3892 #3917 #3918 #3936
2020-09-16 09:15:13 +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
chimp1984
156559cb9a
Increase timeouts 2020-09-14 09:53:52 +02:00
sqrrm
5911667b03
Merge pull request #4521 from chimp1984/increase-timeouts
Increase timeouts
2020-09-14 09:47:18 +02:00
chimp1984
76267afabf
Increase timeouts 2020-09-13 17:12:25 -05:00
chimp1984
352e661bac
update devmode price 2020-09-13 15:35:39 -05:00
chimp1984
19021ebcd7
Use 1 sec timeout for bsq trade fee txs 2020-09-13 15:35:06 -05:00
chimp1984
f9f981fb65
Improve state handling 2020-09-13 15:34:20 -05:00
chimp1984
296506fb47
Update ascii logo 2020-09-13 14:50:16 -05:00
chimp1984
06703f97c2
Add bisq ascii logo at start 2020-09-13 14:17:25 -05:00
chimp1984
dea56d0903
Increase timouts 2020-09-13 13:41:47 -05:00
chimp1984
e770684397
Add log to see better bisq start in log files 2020-09-13 13:23:07 -05:00
chimp1984
349bd13c0d
Set always uid from tradeMessage
Seems in the past there was partial support for uid but now all trade messages have uid.
2020-09-13 13:06:22 -05:00
cd2357
8d793e9a83
Show info popup if Bisq started under Qubes OS
Show popup informing the user about the OS-specific setup guide.
2020-09-13 13:23:12 +02:00
chimp1984
966b22a69d
Fix line breaks 2020-09-12 20:24:32 -05:00
chimp1984
de4fb17a19
Improve summary notes 2020-09-12 20:18:04 -05:00
chimp1984
0c46e7dd52
Add more data to summary msg 2020-09-12 16:19:42 -05:00
chimp1984
48066ae124
Remove setting of pubKey as it is not needed 2020-09-12 00:49:27 -05:00
chimp1984
559028e500
Remove unused var 2020-09-12 00:46:52 -05:00
chimp1984
7ac6e715d3
Dispute agent sign summary. Add tool for verification 2020-09-12 00:35:58 -05:00
chimp1984
05e1039423
Call validatePayoutTx only after trades are initialized 2020-09-11 20:28:23 -05:00
chimp1984
08fb596629
Call validatePayoutTx only after trades are initialized 2020-09-11 20:25:48 -05:00
chimp1984
677211badf
Allow close dispute for refund agent without payout 2020-09-11 20:24:31 -05:00
chimp1984
d82631f52c
Fix some issues found during testing
Refactorings
2020-09-11 19:41:08 -05:00
chimp1984
c48abbf575
Improve address validation code 2020-09-11 17:37:03 -05:00
chimp1984
2b0433870c
Dont allow opening refudn agent dispute if delayed payout tx is invalid. 2020-09-11 17:00:24 -05:00