Commit graph

13350 commits

Author SHA1 Message Date
chimp1984
1ddde42e17
Keep Date as transient field to avoid recreating a
Data object at each getDate call.

Add JsonExclude to Offer.currencyCode

getDate get called very often and we have > 80k objects.
2020-12-15 01:02:49 -05:00
chimp1984
9fc4f61bf6
Cache currencyCode
Extract variable

getCurrencyCode get called very often (Comparatos) so we cache result.
2020-12-15 00:59:05 -05:00
chimp1984
02d163f5dc
Only log in case the operation took longer than 100 ms 2020-12-15 00:56:06 -05:00
chimp1984
5112b1a54b
Cache results of isFiatCurrency and isCryptoCurrency
They are called very often and accumulate cpu time as
shown in profilers.
2020-12-15 00:54:26 -05:00
chimp1984
d7a95fed03
Pass trade if available and use peers keyring 2020-12-15 00:40:45 -05:00
sqrrm
0e7dd21745
Merge pull request #4916 from chimp1984/fix-access-from-wrong-thread-at-wallet-restore
Property fields must not be set from non JavaFX threads.
2020-12-14 23:56:14 +01:00
chimp1984
5c68ad0b47
Sort payment methods by display string not by id.
Apply sorting in drop down boxes.
2020-12-14 14:42:15 -05:00
Christoph Atteneder
7d12b94c6a
Merge pull request #4933 from chimp1984/add-num-items-to-tables
Improve funds and portfolio screens
2020-12-14 19:48:55 +01:00
Christoph Atteneder
6ae33fe5f2
Merge pull request #4935 from chimp1984/add-wallet-info-view
Add wallet info view
2020-12-14 19:48:23 +01:00
Christoph Atteneder
092ae3da33
Merge pull request #4947 from chimp1984/fix-bug-with-maker-fee-tx-at-create-offer
Fix bug with maker fee tx at create offer
2020-12-14 19:47:06 +01:00
chimp1984
cb289845b6
Add reference to bitcoin RPC error codes 2020-12-14 13:08:12 -05:00
chimp1984
33cf657d1d
Clone txBroadcastServices so we do not manipulate source list 2020-12-14 13:02:15 -05:00
chimp1984
478e1224e8
Use MemPoolSpaceTxBroadcaster for withdrawing
funds and for empty wallet call.
2020-12-14 12:52:32 -05:00
chimp1984
f26e76c908
Only check for code 2020-12-14 12:30:37 -05:00
chimp1984
6dc64fb128
Don't show maker fee tx field at create offer window 2020-12-14 12:29:31 -05:00
chimp1984
b9b4690671
Add null checks for txId 2020-12-14 12:28:08 -05:00
chimp1984
910441125e
Return if not mainnet 2020-12-14 12:11:24 -05:00
chimp1984
f0eefe7943
Add MemPoolSpaceTxBroadcaster 2020-12-14 11:35:24 -05:00
chimp1984
7f73fa10af
Add support for data post 2020-12-14 11:24:49 -05:00
chimp1984
664ebc13b5
Add constructor with responseCode 2020-12-14 11:24:07 -05:00
chimp1984
7d06bf3803
Add mempool nodes to Preferences 2020-12-14 11:23:51 -05:00
chimp1984
149b52859a
Add wallet info view with balance, xpub keys,
hd paths and button to open wallet details
2020-12-14 08:25:46 -05:00
Christoph Atteneder
810c0da0f9
Merge pull request #4930 from chimp1984/use-historical-data-store-for-account-age
Use HistoricalDataStoreService for AccountAgeWitnessStorageService
2020-12-14 11:28:18 +01:00
Christoph Atteneder
b8cec17f8e
Merge pull request #4944 from chimp1984/rename-tw-account-currency-selection
Improve TransferWise account
2020-12-14 11:26:50 +01:00
Christoph Atteneder
e848e8b7b3
Only enable toggle all button if offers are available 2020-12-14 11:14:37 +01:00
Christoph Atteneder
2bad7fc73a
Merge pull request #4942 from chimp1984/refactor-http-client
Refactor http client
2020-12-14 10:39:18 +01:00
chimp1984
88f26f9324
Do not autofill all currencies by default but keep all unselected. 2020-12-13 23:50:28 -05:00
chimp1984
484a6be379
Rename 'Supported currencies' to
'Currencies for receiving funds'
2020-12-13 23:49:57 -05:00
chimp1984
ad2a329e08
Improve log 2020-12-13 17:26:09 -05:00
chimp1984
06ce1b6787
Improve thread name 2020-12-13 17:25:49 -05:00
chimp1984
f7790a6b50
Rename PriceNodeHttpClient to PriceHttpClient 2020-12-13 17:19:39 -05:00
chimp1984
3d8d445994
Use @Singleton annotation instead of definition in module 2020-12-13 17:19:02 -05:00
chimp1984
5d664e915e
Improve logs 2020-12-13 17:18:36 -05:00
chimp1984
3b0ad356b4
Fix incorrect checkArgument 2020-12-13 17:18:07 -05:00
chimp1984
5be2ea5830
Use dedicated HttpClient for fee requests
We used the same HttpClient for fee and price requests, which cause
problems when one request got completed and closed the connection
at finalize.
2020-12-13 17:17:52 -05:00
chimp1984
561639f046
Check if we have a pending request and return if thats the case 2020-12-13 17:04:24 -05:00
chimp1984
d61a07f6bb
- Add hasPendingRequest() getter and block repeated requests
while hasPendingRequest is true
- Throw exception if we get a request before previous request is
terminated (happens with priceFee at startup, on regtest as
startup is fast, but can happen also on mainnet)
- Improve shutDown
- Improve finally clause
2020-12-13 17:03:45 -05:00
chimp1984
9496691f76
Refactor: Rename 'requestWithGET' to 'get' 2020-12-13 15:23:36 -05:00
chimp1984
de2ba82b3d
Add post method. Add doRequest method 2020-12-13 15:20:26 -05:00
chimp1984
3cf97c706a
Rename httpclient (make it more distinct to Bisq Httpclient) 2020-12-13 15:14:07 -05:00
chimp1984
5a1a9006e2
Improve logging 2020-12-13 15:13:45 -05:00
chimp1984
b9d72b5185
Add baseUrl as param, extract variable 2020-12-13 15:04:27 -05:00
chimp1984
b480f26f81
Add HttpMethod enum
Use HttpMethod as param
Add getHttpUriRequest method
2020-12-13 15:00:48 -05:00
chimp1984
138019ed25
Rearrange: move method down 2020-12-13 14:54:47 -05:00
chimp1984
7f85fd9b7d
Refactor getSocks5Proxy method: Return early, make flow more clear 2020-12-13 14:54:28 -05:00
chimp1984
3a2e4f1d69
Refactor: Extract method getSocks5Proxy 2020-12-13 14:52:06 -05:00
chimp1984
77f46a0a5e
Remove requestWithGETNoProxy methods from interface (not used outside) 2020-12-13 14:50:53 -05:00
chimp1984
4c81c442ee
Update toString method 2020-12-13 14:49:38 -05:00
chimp1984
8122cab77a
Use Lombok setter and getters 2020-12-13 14:48:58 -05:00
chimp1984
4d8a327567
Add enable/diable all toggle button to open offers
Add search field to openoffer and failed trades
Improve search
2020-12-11 00:21:47 -05:00