Commit graph

10918 commits

Author SHA1 Message Date
sqrrm
790db8c731
Add option to allow faulty delay payout tx
Add more logging during unfail process
2020-04-12 16:12:43 +02:00
sqrrm
be3158427e
Allow completion of trades with amount mismatch delayed tx 2020-04-12 13:03:09 +02:00
sqrrm
f6b7762d26
Init unfailed trade when moved to pending trades 2020-04-11 18:02:18 +02:00
sqrrm
486f254773
Don't unfail if deposit or delayedpayout txs are missing 2020-04-10 16:42:02 +02:00
sqrrm
817819dc51
Reattach addresses when unfailing trade 2020-04-10 16:42:02 +02:00
sqrrm
bd8e30c708
Add shortcut to move failed trade to pending trades 2020-04-10 16:42:02 +02:00
Christoph Atteneder
34734c6fe4
Merge pull request #4122 from stejbac/make-UserThread-runAfter-thread-safe
Make UserThread::run* methods thread safe
2020-04-10 15:55:03 +02:00
sqrrm
062dc6ef76
Merge pull request #4053 from freimair/too-long-mempool-chain
Limit number of unconfirmed offers
2020-04-10 15:23:29 +02:00
sqrrm
09141eba92
Add signed witness filter (#4124)
* Add signed witness filter

- Add a filter to pubkeys used in AccountAgeWitness signing
- Fix inverted arbitrator signing of initial account age witnesses from
disputes
- Add test to verify that signed witness filter works
- Add test to verify that the arbitrator signing was fixed

* Fix codacy complaints

* Prevent NullPointerException during toggle group initialization

* Add scrollbar to filter window

* Format test class

Co-authored-by: Christoph Atteneder <christoph.atteneder@gmail.com>
2020-04-10 15:14:01 +02:00
Christoph Atteneder
aeda234ef1
Merge pull request #4154 from freimair/prevent_misuse_of_dev_cmdline_option
Limit abuse of `--useLocalhostForP2P` option
2020-04-10 12:08:32 +02:00
Florian Reimair
609b8b066d
Limit abuse of useLocalhostForP2P option
Until now, the --useLocalhostForP2P option could be used even for
BTC_MAINNET. That is bad and caused mediation cases.
2020-04-09 18:05:51 +02:00
sqrrm
e4d975ebf4
Merge pull request #4147 from bisq-network/release/v1.3.1
Release/v1.3.1
2020-04-09 11:15:21 +02:00
Christoph Atteneder
4b826eb2a9
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.3.1
# 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-04-08 23:03:19 +02:00
Christoph Atteneder
224b140c46
Revert to SNAPSHOT version 2020-04-08 22:59:10 +02:00
chimp1984
79e4572f64
Fix issues when buyer has dao deactivated 2020-04-08 21:52:30 +02:00
chimp1984
b145616038
Allow daoActivated to be set to false for non mainnet networks 2020-04-08 21:52:18 +02:00
chimp1984
495b9b58b3
Fix inverted check, add more error logs 2020-04-08 21:52:07 +02:00
chimp1984
005a87b553
Fix issue with tx connected output being null
The moment we are validating the tx is not committed and therefore the
connected tx output is not wired up and thus null.

Refactor and consolidate the validation code to the static class and
improve error handling.
2020-04-08 21:51:52 +02:00
sqrrm
eb0834a1df
Merge pull request #4143 from chimp1984/fix-issue-with-connected-txoutput
Fix issue with connected txoutput
2020-04-08 21:17:33 +02:00
chimp1984
526bd0091a
Fix issues when buyer has dao deactivated 2020-04-08 13:29:04 -05:00
chimp1984
86d9e8c89e
Allow daoActivated to be set to false for non mainnet networks 2020-04-08 13:28:44 -05:00
Christoph Atteneder
51ffd9d95c
Bump version number for v1.3.1 2020-04-08 20:04:13 +02:00
chimp1984
fd04909c79
Fix inverted check, add more error logs 2020-04-08 12:24:37 -05:00
chimp1984
38dcb27140
Fix issue with tx connected output being null
The moment we are validating the tx is not committed and therefore the
connected tx output is not wired up and thus null.

Refactor and consolidate the validation code to the static class and
improve error handling.
2020-04-08 12:10:06 -05:00
Christoph Atteneder
6ae9608966
Remove duplicate restart/connection information 2020-04-08 14:10:59 +02:00
sqrrm
97b1a10ae8
Fix value of delayedpayouttx for ranged trades 2020-04-08 14:05:44 +02:00
chimp1984
1c5fc600f4
Add check for donation address at pending trades 2020-04-08 14:05:30 +02:00
chimp1984
96e42954c9
Add more checks for delayed payout tx
Merge Conflict in TradeWalletService
2020-04-08 14:05:18 +02:00
chimp1984
500ccfbbaf
Rename class 2020-04-08 14:03:05 +02:00
chimp1984
efe04c668c
Add DonationAddressValidation static class 2020-04-08 14:02:53 +02:00
chimp1984
3a3f69aafa
Rename class 2020-04-08 14:02:42 +02:00
chimp1984
c18c55f6b0
Add BuyerVerifiesDonationAddress task
Buyer was not verifying if the donation address is either the default
DAO param address or the recent one changed by DAO voting. We do not
support past DAO param addresses to avoid that past addresses receive
funds.
2020-04-08 14:00:48 +02:00
Christoph Atteneder
00b2171a43
Merge pull request #4140 from sqrrm/fix-range-delayedpayout
Fix range delayedpayout
2020-04-08 13:24:34 +02:00
sqrrm
0e6c4239b5
Fix value of delayedpayouttx for ranged trades 2020-04-08 11:22:36 +02:00
chimp1984
4f28205478
Add check for donation address at pending trades 2020-04-07 23:23:58 -05:00
chimp1984
8cf6d42309
Add more checks for delayed payout tx 2020-04-07 23:04:57 -05:00
chimp1984
99f542bc4b
Rename class 2020-04-07 22:16:32 -05:00
chimp1984
856863ee70
Add DonationAddressValidation static class 2020-04-07 22:16:02 -05:00
chimp1984
8a604ea60c
Rename class 2020-04-07 22:13:24 -05:00
Christoph Atteneder
9a09c3daa1
Merge pull request #4134 from chimp1984/add-donation-address-verification-to-buyer
Add BuyerVerifiesDonationAddress task
2020-04-08 01:37:15 +02:00
Christoph Atteneder
538e6fc906
Update data stores for v1.3.0 2020-04-08 01:00:17 +02:00
sqrrm
59d094bb1c
Merge pull request #4130 from ripcurlx/update-data-stores-for-v1.3.0
Update data stores for v1.3.0
2020-04-08 00:59:03 +02:00
Christoph Atteneder
d05e9f74b0
Update data stores for v1.3.0 2020-04-07 21:47:58 +02:00
chimp1984
956cb65a6c
Add BuyerVerifiesDonationAddress task
Buyer was not verifying if the donation address is either the default
DAO param address or the recent one changed by DAO voting. We do not
support past DAO param addresses to avoid that past addresses receive
funds.
2020-04-07 13:15:25 -05:00
Christoph Atteneder
bb75f59b86
Bump version number for v1.3.0 2020-04-07 19:38:16 +02:00
Christoph Atteneder
fbfe8dc842
Merge pull request #4108 from ghubstan/rslv-grpcauth-gson-dep-conflicts
Resolve grpc-auth and gson dependency conflicts
2020-04-06 12:25:59 +02:00
Steven Barclay
a71f1e7e3f
Make UserThread::runAfter* methods thread safe
The runAfter* methods delegate to UITimer::run(Later|Periodically) in
the case of the desktop application. These use the JavaFX TimeLine API
(via bisq.common.reactfx.FXTimer) to schedule future events. However,
this API isn't thread safe and isn't meant to be called outside the FX
application thread. This causes occasional misfirings and out-of-order
scheduling when UserThread::runAfter is called outside the user thread.

Make the UITimer::run* methods safe to call from any thread by checking
we are in the application thread and delegating to UserThread::execute
otherwise. This also improves consistency between the contracts of the
runAfter* and execute methods. As the former has many call sites, this
is safer than trying to track down all the non-thread-safe uses.

(The Timer used in the headless app already appears to be thread-safe.)

This fixes #4055 (Bisq sometimes fails to prompt user for password to
unlock wallet), caused by out-of-order scheduling of the execute and
runAfter tasks in the WalletConfig.onSetupCompleted anonymous class
method in bisq.core.btc.setup.WalletsSetup.initialize.

Also prevent an exception caused by non-thread-safe calls into JavaFX
during the shutdown of OpenOfferManager, which was uncovered by the
above, by adding a missing UserThread::execute call.
2020-04-06 13:52:33 +08:00
sqrrm
c54a5acbb0
Merge pull request #4094 from jmacxx/fix_dust_trading
Prevent dust outputs from being created during the trade process
2020-04-03 18:30:10 +02:00
sqrrm
d0a8890c09
Merge pull request #4093 from jmacxx/fix_dust_wallet
Prevent dust outputs from being created during withdraw from wallet
2020-04-03 15:56:05 +02:00
Christoph Atteneder
f4257bfce7
Merge pull request #4116 from ghubstan/add-guava-dep-to-seednode
Add guava dependency to seednode
2020-04-02 18:56:52 +02:00