Commit Graph

5342 Commits

Author SHA1 Message Date
chimp1984
2b047976af
Add lookup map for support agents keybase user names by onion address
Add it to dispute (client) views
2020-12-25 13:27:14 -05:00
sqrrm
7d7f1b09e7
Merge pull request #4966 from ghubstan/10-callrate-interceptor
Prevent excessive api calls
2020-12-23 16:19:29 +01:00
Christoph Atteneder
4e707a59fe
Merge pull request #4980 from Jakub-CZ/improve-msg-in-wallet-info
Improve paragraph under "Wallet balances"
2020-12-22 09:32:54 +01:00
Christoph Atteneder
142d14b58f
Merge pull request #4991 from m52go/walletinfo-path-wording
Improve path text on wallet info screen
2020-12-22 09:32:12 +01:00
Christoph Atteneder
73fdb9f6ec
Merge pull request #4984 from chimp1984/improve-localnode-popup-text
Improve popup text in case a local node is detected
2020-12-22 09:31:28 +01:00
chimp1984
823980c678
Improve text 2020-12-21 16:26:26 -05:00
sqrrm
c5218c66c3
Merge pull request #4971 from chimp1984/use-resource-file-instead-of-resync-from-genesis
Avoid resync from genesis in case of dao state issues
2020-12-21 22:00:42 +01:00
m52go
409b092c1f
Edit path text on wallet info screen 2020-12-21 15:21:05 -05:00
Jakub Loucký
a6f13223d1
Remove dangling line break 2020-12-21 21:06:14 +01:00
Jakub Loucký
9aeb775443
Apply suggestions from code review
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2020-12-21 21:03:28 +01:00
ghubstan
27efc5f3c2
Merge branch '09-refactor-grpc-error-handling' into 10-callrate-interceptor
Adjust to reverting to reverting 6aa385e, and fix test file conflict.
2020-12-21 15:44:34 -03:00
ghubstan
8ee3a1599c
Merge branch '08-gettransaction' into 09-refactor-grpc-error-handling
Adjust to reverting 6aa385e.
2020-12-21 15:35:15 -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
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
sqrrm
b9346883a6
Merge pull request #4975 from chimp1984/fix-isPubKeyValid-check
Improve CleanupMailboxMessages
2020-12-21 10:09:31 +01: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
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
Jakub Loucký
ae21e709bb
Improve paragraph under "Wallet balances" 2020-12-19 23:11:16 +01: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
ghubstan
bb8d2ae7c4
Inject Config into CoreApi 2020-12-19 15:50:00 -03:00
chimp1984
af9f2a9643
In case a reset of the dao state was triggered we delete
now all dao store files and request a shut down of the app.

After a restart the resource files are used. This avoids cases where a resync from
genesis got triggered (observed on seed nodes, not on desktop apps).

Seed nodes and headless apps get shut down automatically.
In case of the desktop app we show a warn popup with shutdown
button and no close button, so we enforce a shutdown to avoid
complications in case the user would continue.
2020-12-18 20:29:47 -05:00
Christoph Atteneder
9a54ccc077
Make it easier to translate trade roles 2020-12-18 17:06:56 +01:00
Christoph Atteneder
ceecb404d2
Merge pull request #4899 from jmacxx/4061_privacy_improvement
Privacy improvements for manual payout
2020-12-17 15:32:44 +01:00
m52go
4e4cb42f6a
Remove m52go btc node ip 2020-12-16 12:50:46 -05:00
ghubstan
1cd47fd0aa
Merge branch 'master' into 09-refactor-grpc-error-handling 2020-12-16 13:45:29 -03:00
Christoph Atteneder
0789180bb0
Merge pull request #4957 from sqrrm/sign-single-account
Sign single account
2020-12-16 14:07:34 +01:00
sqrrm
4cdd94ac28
Merge pull request #4955 from chimp1984/cache-frequent-method-calls
Cache results of isFiatCurrency and isCryptoCurrency
2020-12-16 12:11:58 +01:00
chimp1984
59cfb2d3a9
Do not use tx broadcast to mempool nodes if a local btc nodes is used
See discussion at: https://github.com/bisq-network/bisq/pull/4943#issuecomment-745615764
2020-12-15 20:04:38 -05:00
chimp1984
f2273e663d
Use ConcurrentHashMap for cache.
As the normal maps are not using a ConcurrentHashMap it is
likely unnecessary as well that I am not aware of a
multi-threaded access.
But as it does not show any difference in performance
it is likely the bit more safe option.
2020-12-15 19:15:40 -05:00
chimp1984
425bfa3bf7
Fix failing test (remove did operate on map
directly and we did not remove the item from the cache)

- Add getSignedWitnessMapValues method for access to signedWitnessMap values
- Remove Getter for signedWitnessMap
- Add removeSignedWitness method (used in test only)
- Use addToMap in test instead of direct access to map
- Remove getSignedWitnessSetCache entry matching
signedWitness.getHashAsByteArray() as well.
See comment. @sqrrm: Can you cross check?
2020-12-15 19:15:40 -05:00
chimp1984
359dc3759d
Add getSignedWitnessSetCache
The getSignedWitnessSet is called very often and is a bit
expensive. We cache the result in that map but we
remove the cache entry if we get a matching SignedWitness
added to the signedWitnessMap.
2020-12-15 19:15:40 -05:00
chimp1984
1314fd61a5
Add accountAgeWitnessCache
The accountAgeWitnessMap is very large (70k items) and
access is a bit expensive. We usually only access less
than 100 items, those who have offers online. So we
use a cache for a fast lookup and only if
not found there we use the accountAgeWitnessMap and
put then the new item into our cache.
2020-12-15 19:15:40 -05:00
chimp1984
ecad724046
Add null checks, improve comment 2020-12-15 19:08:37 -05:00
sqrrm
f61e62c7c0
Merge pull request #4956 from chimp1984/sort-paymentmethods-by-name
Sort payment methods by display string not by id.
2020-12-16 00:17:26 +01:00
sqrrm
9b8073b94a
Merge pull request #4954 from chimp1984/various-small-improvements
Various small improvements
2020-12-15 23:04:15 +01:00
sqrrm
bc60db39ae
Merge pull request #4943 from chimp1984/add-tx-broadcast-to-mempool-explorer-api
Add tx broadcast to mempool explorer api
2020-12-15 22:57:37 +01:00
sqrrm
26024bd6ec
Refactor: rename methods, move return statement 2020-12-15 19:35:49 +01:00
sqrrm
e0f4dc22e7
Fix formatting 2020-12-15 19:27:13 +01:00
sqrrm
4c33f9c999
Sign imported AccountAgeWitness,PubKey
Change the specific sign window to sign an imported account in the form
of accountAgeWitnessString,pubKeyString. The SignSpecificWitness never
worked due to missing pubKey data and this is a way to import the missing data.
2020-12-15 16:08:06 +01:00
ghubstan
a341173412
Merge branch 'master' into 09-scratch 2020-12-15 11:13:37 -03:00