Commit graph

13653 commits

Author SHA1 Message Date
ghubstan
64c2ac5169
Adjust grpc.proto to reverting 6aa385e494 2020-12-21 15:17:52 -03:00
ghubstan
bdde24a463
Ajust TradeInfo to reverting 6aa385e494 2020-12-21 15:10:43 -03:00
ghubstan
672eb79f95
Revert "Append nullable withdrawalTxId field to Trade proto message"
This reverts commit 6aa385e494.
2020-12-21 15:05:54 -03:00
ghubstan
d08dfb5f5f
Adjust create transferwise acct test
A new acct now has no default trade currencies.
Also fixed imports to not mix jupiter and junit asserts.
2020-12-21 17:18:01 +01:00
Christoph Atteneder
f66b8e33ce
Merge pull request #4989 from ghubstan/fix-apitest-createtransferwiseaccttest
Adjust create transferwise acct test
2020-12-21 17:17:47 +01:00
ghubstan
11ec853d91
Adjust create transferwise acct test
A new acct now has no default trade currencies.
Also fixed imports to not mix jupiter and junit asserts.
2020-12-21 11:58:52 -03:00
sqrrm
df1461c0d7
Merge pull request #4968 from ripcurlx/fix-dark-mode-private-notification-window
[v1.5.2] Fix private notification style issue in dark mode
2020-12-21 13:08:43 +01:00
Christoph Atteneder
d805b37a60
Merge pull request #4985 from chimp1984/improve-trade-fee-display
Improve trade fee display at create and take offer screens and popups
2020-12-21 11:23:07 +01:00
Christoph Atteneder
a344ae9310
Merge pull request #4977 from chimp1984/add-extra-note-for-amazon-gift-cards
[1.5.2] Add extra note for amazon gift cards
2020-12-21 11:22:13 +01:00
sqrrm
c801a57084
Merge pull request #4981 from chimp1984/fix-wrong-account-age-data-access
[1.5.2] Fix wrong account age data access
2020-12-21 10:14:10 +01:00
sqrrm
b9346883a6
Merge pull request #4975 from chimp1984/fix-isPubKeyValid-check
Improve CleanupMailboxMessages
2020-12-21 10:09:31 +01:00
Christoph Atteneder
fa46a1687b
Merge pull request #4987 from chimp1984/remove-popup
Remove redundant popup
2020-12-21 09:59:36 +01:00
chimp1984
20771e4ec6
Force travis rebuild 2020-12-20 20:09:24 -05:00
chimp1984
9f5cf3f705
Move BSQ price in USD at first row. 2020-12-20 19:57:30 -05:00
chimp1984
e59f480392
Improve popup text in case a local node is detected 2020-12-20 19:02:06 -05:00
chimp1984
d689a3974b
Fix param change in test 2020-12-20 19:01:10 -05:00
chimp1984
4050644677
Remove redundant popup 2020-12-20 18:54:32 -05:00
chimp1984
bf720737db
Improve trade fee display at create and take offer screens and popups 2020-12-20 18:01:19 -05:00
sqrrm
99184567b3
Merge pull request #4953 from chimp1984/cache-results-in-account-witness-domain
Cache results in account witness domain
2020-12-20 23:56:51 +01:00
sqrrm
402c8efb54
Merge pull request #4982 from sqrrm/copy-account-shortcut
Avoid standard shortcuts
2020-12-20 18:05:00 +01:00
sqrrm
48c912c8fe
Avoid standard shortcuts
Change shortcut to copy account info for witness signing
to ctrl+shift+c to avoid conflicts with standard OS shortcuts.
2020-12-20 16:50:12 +01:00
chimp1984
f5bb702d6b
Improve arbitratorSignOrphanWitness method 2020-12-20 10:32:50 -05:00
chimp1984
1462673e57
Use getSignedWitnessSet instead of
iterations over getSignedWitnessMapValues
2020-12-20 10:29:46 -05:00
chimp1984
aea904d24f
We do not need to lookup in getSignedWitnessMapValues
anymore as we maintain the signedWitnessSetByAccountAgeWitnessHash
at each add/remove operation.
2020-12-20 10:28:28 -05:00
chimp1984
b6a01d0ac7
Rename signedWitnessSetCache to signedWitnessSetByAccountAgeWitnessHash
Change comments (after understanding the domain usage better)
Maintain the set at add and remove methods
Use HashMap instead of ConcurrentHashMap as that class is only used
from UserThread and other fields are not threadsafe either.
2020-12-20 10:00:28 -05:00
chimp1984
35e2bf6383
Rename getSignedWitnessSetCache to signedWitnessSetCache 2020-12-20 09:34:00 -05:00
chimp1984
cccaa0a515
Update popup text 2020-12-20 09:31:29 -05:00
chimp1984
264a844274
We need to user accountAgeWitnessStorageService as
this supports the historical data store.
Using p2PService.getP2PDataStorage().getAppendOnlyDataStoreMap()
would not deliver all the data.
User stream API
2020-12-19 20:54:54 -05:00
sqrrm
442d65a730
Merge pull request #4973 from chimp1984/improve-logs
[1.5.2] Improve logs
2020-12-19 23:36:21 +01:00
sqrrm
c8c6633d16
Merge pull request #4974 from chimp1984/fix-nullpointer
[1.5.2] Fix nullpointer
2020-12-19 23:31:21 +01:00
sqrrm
245e736bc4
Merge pull request #4976 from chimp1984/remove-ngn-from-transferwise
[1.5.2] Remove NGN (Nigerian Naira) as their central bank blocked Transferwise
2020-12-19 23:30:38 +01:00
chimp1984
814c5d13ee
Change text at amazon gift card popup 2020-12-19 17:16:25 -05:00
chimp1984
69fcf9f255
Remove automatic setting of first currency from combobox 2020-12-19 17:15:49 -05:00
Jakub Loucký
ae21e709bb
Improve paragraph under "Wallet balances" 2020-12-19 23:11:16 +01:00
chimp1984
3cb3dc4c0c
Remove NGN (Nigerian Naira) as their central bank blocked Transferwise
See: https://twitter.com/cenbank/status/1339196770774093825

I tested it with setting that currency, doing offers and trades,
then remove it and continue the trades.
Offers with NGN cannot be taken anymore.
2020-12-19 16:55:34 -05:00
chimp1984
4e108380b8
Check if message matches trade before checking pubKey
Use stream filters instead of checks in method.
Change log level from error to warn.
2020-12-19 16:16:05 -05:00
ghubstan
a3eb4ed59a
Remove unused import 2020-12-19 17:37:24 -03:00
chimp1984
d24d05d08d
Fix nullpointer
A Nullpointer can happen if app get shut down very early.
2020-12-19 15:37:02 -05:00
ghubstan
abc39402b5
Test CallRateMeteringInterceptor 2020-12-19 17:31:02 -03:00
chimp1984
c6b619688a
Change log level
We iterate over all trades and messages, so it is expected that
the msg which are not assigned to that trade fails.
We need to change the handleDecryptedMessageWithPubKey to check
first if the msg and trade matches, but that will be done in a dedicated PR.
2020-12-19 15:30:57 -05:00
ghubstan
fabd7c8776
Refactor testcase superclasses to support rate metering configs 2020-12-19 17:08:53 -03:00
chimp1984
a9f9e989a4
Use OS seperators so it works also on windows 2020-12-19 15:08:01 -05:00
chimp1984
1e0dcfbcbc
Change log level to debug to reduce verbosity 2020-12-19 15:07:26 -05:00
chimp1984
cb130fcd8f
Change log level to warn in case the phase is not matching as that is mostly an expected case. 2020-12-19 15:06:48 -05:00
chimp1984
661ec42c56
Add more info to log that this can be an expected case.
As its generic here we cannot influence log level
2020-12-19 15:06:23 -05:00
ghubstan
d5657e9760
Install call rate metering config file before startup
Copy the config file at --callRateMeteringConfigPath to each daemon's
appDataDir, where it will be detected at server startup.
2020-12-19 17:04:40 -03:00
ghubstan
56a5c7938d
Add ApiTestConfig option --callRateMeteringConfigPath
Points to a call rate metering interceptor configuration file.

Test cases can build a config file, and the test harness will
install it into a daemon's appDataDir before startup.
The installed config file will be used to configure gRPC
service rate metering interceptors.
2020-12-19 16:54:44 -03:00
chimp1984
19ef0a2b40
Remove log 2020-12-19 14:51:11 -05:00
chimp1984
852ac144f3
Only log if we have banned nodes and soften language as its not really banned, but rather deactivated/revoked node 2020-12-19 14:50:44 -05:00
chimp1984
2b53db2e21
Show all Capabilities 2020-12-19 14:50:08 -05:00