Commit graph

5454 commits

Author SHA1 Message Date
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
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
chimp1984
814c5d13ee
Change text at amazon gift card popup 2020-12-19 17:16:25 -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
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
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
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
chimp1984
1ca527447e
Change warnings of banned filter to info level 2020-12-19 14:49:55 -05:00
chimp1984
7e77991cb5
Only log if we removed an offer from a trade not if deactivated 2020-12-19 14:49:36 -05:00
chimp1984
d65471e976
Remove dev log 2020-12-19 14:34:49 -05:00
chimp1984
9d4d116508
Change log level.
For 1.3.9 filter we expect a error log but dont want to show it as warning
2020-12-19 14:34:09 -05: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
sqrrm
e2c8e4dff6
Merge pull request #4965 from ripcurlx/update-data-stores-for-v1.5.2
[v1.5.2] Update data stores for v1.5.2
2020-12-18 23:09:04 +01:00
Christoph Atteneder
7c0d02ad09
Make it easier to translate trade roles 2020-12-18 20:48:42 +01:00
Christoph Atteneder
9a54ccc077
Make it easier to translate trade roles 2020-12-18 17:06:56 +01:00
Christoph Atteneder
2ba15a97ac
Update bitcoinj checkpoints for v1.5.2 2020-12-17 15:47:36 +01:00
jmacxx
9cb9ed20e4
Privacy improvements for manual payout
Redesign the UI
Add import/export of payout settings
Add ability to import from mediation ticket
Mediator does not need private key
User can sign using own wallet or private key
Validation of input fields
Calculate the tx fee based on inputs
Display of the generated txid & hex so it can be checked
2020-12-17 15:33:21 +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
Christoph Atteneder
c5c93b213d
Merge pull request #4962 from oscarguindzberg/bloomFilterFix2
Use bitcoinj 0.15.8.bisq.13 (commit dcf8af0)
2020-12-16 21:45:49 +01:00
m52go
b94d06c33f
Remove m52go btc node ip 2020-12-16 19:30:56 +01:00
Oscar Guindzberg
a161376da3
Use bitcoinj 0.15.8.bisq.13 (commit dcf8af0) 2020-12-16 14:57:41 -03: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
chimp1984
83e620d462
Fix missing param in test 2020-12-16 10:08:55 -05:00
chimp1984
1049b7da77
Remove delay for publishing
This version is intended to be deployed to a power user to actually
try it out live as testing it with real conditions is very difficult.
2020-12-16 09:04:36 -05:00
chimp1984
24f53e0c01
Add flush method.
Call flush at openOfferManager shutdown.
Remove unused method.

Force broadcaster to send out immediately, otherwise we could
have a 2 sec delay until the bundled messages sent out.
2020-12-16 09:01:12 -05:00
chimp1984
8e71575afd
Add else case for check for offer is in source list and deActivate state
Invert the if branch so the normal case is first
Add comment
2020-12-16 08:24:48 -05:00
Christoph Atteneder
ac6102c4e0
Update translations for v1.5.2 2020-12-16 14:22:11 +01: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