Commit graph

5308 commits

Author SHA1 Message Date
chimp1984
d789282b35
Use System.getProperty("line.separator") instead of \n 2020-10-31 13:53:10 -05:00
chimp1984
0847ddd7bf
Update commit hash to ae365e2d 2020-10-31 13:48:50 -05:00
ghubstan
fcdfc687e4
Verify closedTradableManager.getTradableById return value is a Trade instance
This change requested at https://github.com/bisq-network/bisq/pull/4711#discussion_r515520278
2020-10-31 15:44:14 -03:00
chimp1984
3d24a204e4
Update commit hash to 764d0fa4 2020-10-31 13:30:07 -05:00
chimp1984
764d0fa47a
Add linebreak to filtered seeds 2020-10-31 13:29:45 -05:00
sqrrm
f3c62d35c2
Merge pull request #4711 from ghubstan/10-closetrade-impls
Implement api methods 'keepfunds', 'withdrawfunds'
2020-10-31 18:41:05 +01:00
chimp1984
72abd54d02
Update commit hash to b0f8b968 2020-10-31 12:30:07 -05:00
chimp1984
b0f8b96809
Add filtered seed nodes info 2020-10-31 12:29:33 -05:00
chimp1984
157f715d1b
Update commit hash to 77666a6d 2020-10-31 12:20:23 -05:00
chimp1984
77666a6d64
Add commitHash entry 2020-10-31 12:19:54 -05:00
ghubstan
c27d5a6da8
Use Bisq's timer in API's 'unlockwallet timeout(s)'
This change was requested in
961703ecea

This replaces and closes PR https://github.com/bisq-network/bisq/pull/4558
2020-10-31 13:32:14 -03:00
chimp1984
37170abfd5
Ignore deviation at startup (2 min) 2020-10-31 11:23:24 -05:00
chimp1984
baaa100c01
Reset NumAllConnectionsLostEvents once we sent it to inventory monitor 2020-10-31 11:23:24 -05:00
chimp1984
af3e7fc9fe
Update params 2020-10-31 11:23:24 -05:00
chimp1984
db35eb282a
Add check for repeated warn/alerts in past requests
Change data model
Reduce request interval to 2 min.
Rename data dir
2020-10-31 11:23:24 -05:00
chimp1984
44d9efd735
Replace the 2 deviation maps with one with DeviationInfo as value
DeviationInfo carries deviation and deviationSeverity
2020-10-31 11:23:24 -05:00
chimp1984
3a9b3c97e1
Extract method 2020-10-31 11:23:24 -05:00
chimp1984
69b399780d
Adjust warn/alert tiggers 2020-10-31 11:23:24 -05:00
chimp1984
4f4f2c457b
Move deviation calculation to InventoryMonitor and store it in RequestInfo
Add display of number of past alerts and warning and show with tooltip the
request number when it happened.
2020-10-31 11:23:23 -05:00
sqrrm
605f4b3015
Merge pull request #4726 from chimp1984/add-transferwise-payment-method
Add transferwise account
2020-10-31 13:20:41 +01:00
sqrrm
1e1d1ffb70
Merge pull request #4732 from chimp1984/add-more-logs-at-trade-data-validation-exception
Avoid null pointers at TradeDataValidation
2020-10-31 12:35:26 +01:00
chimp1984
f817018410
Add null checks, remove verbose logs from IllegalArgumentException branch 2020-10-30 20:01:01 -05:00
chimp1984
7fe5b80d39
Add more logs 2020-10-30 19:20:20 -05:00
ghubstan
f764e9feb0
Simplify TradeUtil#getPaymentMethodNameWithCountryCode
These changes were requested in review of PR
https://github.com/bisq-network/bisq/pull/4699
2020-10-30 11:15:39 -03:00
sqrrm
c4e2021e37
Merge pull request #4709 from ghubstan/9-closetrade-protos
Stub out api methods 'keepfunds', 'withdrawfunds'
2020-10-30 14:05:16 +01:00
sqrrm
3c56268149
Merge pull request #4701 from ghubstan/5-refactor-trade-utils
Add getRole(tradeId) to core api
2020-10-30 13:43:15 +01:00
sqrrm
ed14442992
Merge pull request #4699 from ghubstan/3-refactor-trade-utils
Refactor PendingTradesViewModel methods -> TradeUtil & OfferUtil
2020-10-30 11:11:15 +01:00
sqrrm
258d44ebb7
Merge pull request #4697 from ghubstan/2-refactor-trade-utils
Replace TradeUtils with singleton TradeUtil
2020-10-29 22:36:54 +01:00
sqrrm
3356c8f632
Merge pull request #4696 from ghubstan/1-add-grpc-trade-proto-fields
Add fields to grpc TradeInfo proto & wrapper
2020-10-29 22:31:26 +01:00
sqrrm
407fa3f28c
Merge pull request #4692 from ghubstan/blocking-fee-request
Block on tx-fee-request in core TakeOfferModel init
2020-10-29 22:18:51 +01:00
chimp1984
db3ac48758
Reformat to force codacy update 2020-10-29 13:04:51 -05:00
chimp1984
5639a5e474
Add TRANSFERWISE to TradeStatistics3.PaymentMethodMapper 2020-10-28 23:30:56 -05:00
chimp1984
1f45d492ef
Remove todos 2020-10-28 21:52:38 -05:00
chimp1984
ebce18c338
Add transferwise account 2020-10-28 21:35:47 -05:00
sqrrm
9a871373c2
Merge pull request #4681 from oscarguindzberg/removeAddressClassFromBsqClasses
Use LegacyAddress instead of Address for BSQ
2020-10-27 23:59:44 +01:00
sqrrm
917ab4ee32
Merge pull request #4689 from chimp1984/revert-dao-data-json-export-changes
Revert changes for json export of dao data
2020-10-27 23:58:35 +01:00
ghubstan
b38507c6e6
Implement api method 'canceloffer' 2020-10-27 15:31:57 -03:00
ghubstan
027a7d5cd3
Stub out canceloffer api method
The implementation will be added to CoreOffersService in the next PR.
2020-10-27 14:54:50 -03:00
Oscar Guindzberg
8370bc98d5
Use LegacyAddress instead of Address for BSQ 2020-10-27 13:56:20 -03:00
ghubstan
a3631a022f
Implement api methods 'keepfunds', 'withdrawfunds'
The CoreTradesService was refactored to work for newly added api methods:

- keepfunds -- close trade, keep funds in bisq wallet

- withdrawfunds -- close trade, withdraw funds to external btc wallet

A getKey accessor was added to CoreWalletsService (needed by withdrawfunds impl).
2020-10-26 20:44:39 -03:00
ghubstan
a8decafc2f
Stub out api methods 'keepfunds', 'withdrawfunds'
This PR adds trade closing method stubs to keep funds in the
Bisq wallet or send them to an external BTC wallet.

- Add grpc protos
- Add new methods to GrpcTradesService, CoreApi
- Stub out implementations in CoreTradesService
- Add methods to CLI
2020-10-26 17:43:08 -03:00
chimp1984
8bfe9b82c8
Remove outliers when calculating BSQ rate
Add percentage for upper and lower threshold for outlier detection.
2020-10-25 18:34:22 -05:00
ghubstan
161dbade0d
Add getRole(tradeId) to core api
API users will need to see their role as maker/taker when looking at trade details.

- Add getRole(trade) to TradeUtil.
- Add getTradeRole(tradeId) to CoreApi, CoreTradesService.
- Add role field to TradeInfo proto and its wrapper class.
2020-10-25 16:22:20 -03:00
sqrrm
17745e3bee
Clean up riskFactor methods 2020-10-25 18:55:04 +01:00
sqrrm
b64c816047
Refactor getTradeLimit 2020-10-25 18:47:07 +01:00
sqrrm
56c8cd1507
Remove unused old activation date 2020-10-25 18:47:07 +01:00
ghubstan
bbd7a31c88
Remove unused import 2020-10-25 11:38:03 -03:00
ghubstan
95bcb1ef9c
Refactor PendingTradesDataModel methods -> TradeUtil
Scope of this refactoring is small;  more can be done, but the short
term goal is to share trade util logic with core api.

- Removed unused method getCurrencyCode()
- Made minor style changes
- Removed duplicated code block
2020-10-25 11:27:30 -03:00
ghubstan
24ba9215cd
Refactor PendingTradesViewModel methods -> TradeUtil & OfferUtil 2020-10-25 10:41:19 -03:00
ghubstan
ccd3c99f2e
Fix comment typos 2020-10-24 17:45:01 -03:00