Commit graph

7342 commits

Author SHA1 Message Date
HenrikJannsen
d51d03e0fa
Add convenience method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 19:46:30 +07:00
HenrikJannsen
73a1281771
Add uid to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 17:07:08 +07:00
HenrikJannsen
c70cc4a5d6
Apply ExcludeForHash annotation to Filter.
By that the newly added fields will not alter the byte array used for the hash and the signature, thus it will not cause issues with removing an old filter which did not inculde those new fields.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 15:02:05 +07:00
HenrikJannsen
5661409bbc
Refactor: Replace toProtoMessage().toByteArray() calls to serialize() or serializeForHash() methods.
Currenty serializeForHash just calls serialize. This will be change in later commits
2024-06-08 13:15:42 +07:00
Alejandro García
ed649e64b4
Merge pull request #7149 from HenrikJannsen/add-new-fields-to-filter
Add new fields to filter
2024-06-07 22:59:28 +00:00
Alejandro García
de67faacef
Merge pull request #7148 from HenrikJannsen/remove-inactive-btc-node
Remove inactive btc2.vante.me btc node
2024-06-07 22:57:06 +00:00
HenrikJannsen
15a68ec70c
Fix tests
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:57:51 +07:00
HenrikJannsen
9b85dc928d
Improve logs
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:53:36 +07:00
HenrikJannsen
ddf073a6ff
Add filterProvidedBtcNodes and filterProvidedSeedNodes fields to Config.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 18:14:51 +07:00
HenrikJannsen
01355fdc54
Add addedBtcNodes and addedSeedNodes fields to Filter.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 18:11:23 +07:00
HenrikJannsen
192b4a0338
Remove inactive btc2.vante.me btc node
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 16:17:17 +07:00
Alejandro García
5d8e36215f
Merge pull request #7143 from HenrikJannsen/add-luis3672-mediator
Add luis3672 to DisputeAgentLookupMap
2024-06-06 20:37:35 +00:00
HenrikJannsen
1e8362950c
Add luis3672 to DisputeAgentLookupMap
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-06 07:44:20 +07:00
RunBTC
8f8762969c
Merge branch 'master' into add-nodes 2024-06-03 04:37:18 +00:00
runbtc
99b2adf7bb
Remove trailing commas 2024-06-02 21:32:04 -07:00
RunBTC
63f414df80
Merge branch 'master' into add-nodes 2024-05-31 07:51:24 +00:00
runbtc
5cd6f84fdb
Add nodes 2024-05-31 00:16:12 -07:00
Devin Bileck
fae29ee092
Remove emzy monero explorer 2024-05-30 13:17:00 -07:00
Devin Bileck
2938c4603f
Remove emzy btc nodes 2024-05-30 13:11:59 -07:00
Devin Bileck
a4cf4387a6
Remove emzy price node 2024-05-30 13:10:35 -07:00
Devin Bileck
7a99d8f4a0
Remove emzy seed nodes 2024-05-29 22:51:37 -07:00
Alejandro García
2185bcba49
Merge pull request #7120 from HenrikJannsen/remove-survey-link-at-trade-feedback
Remove survey link and related text at trade complete feedback
2024-05-29 15:46:08 +00:00
HenrikJannsen
8c07c11668
Fix tests
Don't use 20 BTC amount as we limit to 2 BTC
Remove 30 BTC amounts
2024-05-26 18:30:08 +07:00
HenrikJannsen
3b7f72e3ef
Remove survey link and related text at trade complete feedback
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 18:24:22 +07:00
HenrikJannsen
bb191fa9bb
Improve code for adding exceedingOffers to invalidOffers
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 17:38:04 +07:00
HenrikJannsen
58a531d6aa
Refactor: Rename
Fix type
Add comment

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 17:32:39 +07:00
HenrikJannsen
344304034d
Remove exceptional handling of SiaFund (SF)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 16:32:51 +07:00
HenrikJannsen
0d3aaacc38
Adjust trade limits of paymnet methods using custom trade limits by the factor of which the DAO param has changed.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 16:31:43 +07:00
HenrikJannsen
45a03db5cd
Add predicate to offer filter to check if offer amount exceeds trade limit.
Filter offers at OfferBookViewModel when the DaoState changes.
Check for offers amount exceeds trade limit at OpenOfferManager and add it to invalidOffers.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 16:02:11 +07:00
HenrikJannsen
29994d373f
Add new seed nodes provided by jester4042
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-21 13:38:34 +07:00
Gabriel Bernard
db04961300
Merge pull request #7101 from bisq-network/release/v1.9.15
Release/v1.9.15
2024-05-12 17:17:41 +00:00
Alejandro García
b89bb3dbde
Merge pull request #7097 from HenrikJannsen/add-check-that-price-is-not-0
Add check that price is not 0.
2024-05-09 19:01:07 +00:00
Alejandro García
f62d8d72ca
Merge pull request #7096 from HenrikJannsen/remove-seed-nodes-of-404State
Remove seed nodes of 404State
2024-05-09 19:00:20 +00:00
Alejandro García
6cef856b57
Merge pull request #7094 from HenrikJannsen/improve-button-text
Improve button text
2024-05-09 18:58:46 +00:00
Alejandro García
0b85e0615d
Merge pull request #7092 from stejbac/speed-up-vote-result-view-load
Speed up Vote Result display, cycle list item selection & JSON export
2024-05-09 18:57:53 +00:00
Alejandro García
0a5a0f316d
Merge pull request #7090 from HenrikJannsen/Improve-export-account-reputation-process-for-Bisq-2
Improve export account reputation process for bisq 2
2024-05-09 18:56:48 +00:00
Alejandro García
dc859e2c2b
Merge pull request #7082 from stejbac/speed-up-bond-repo-update-and-remove-raw-types
Speed up bond repository update and remove some raw types
2024-05-09 18:54:56 +00:00
HenrikJannsen
892db99dcb
Add check that price is not 0.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-08 17:13:33 +07:00
HenrikJannsen
c5f9eb2d9a
Remove seed nodes of 404State
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-08 16:55:25 +07:00
HenrikJannsen
1500837126
Improve button text
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-08 14:26:11 +07:00
Steven Barclay
3a70213d1b
Add new tx-by-id cache to speed up BsqWalletService.isWalletTransaction
Reduce a hotspot searching the BSQ wallet for the user's votes, upon
selecting a list item of the Vote Result view, by optimising the method
'BsqWalletService.isWalletTransaction(String)'. Do this by adding a
lazily initialised Map field, 'walletTransactionsById', kept in sync
with the existing 'walletTransactions' List field, similar to the tx-by-
id cache removed from the base class in the previous commit, so that a
linear scan of that list can be avoided. Don't bother to make the cache
thread safe, however, since 'isWalletTransaction' is only called from
the user thread and wasn't thread safe to begin with -- access to
'walletTransactions' isn't synchronised, and it is updated only on the
user thread, after a 100 ms delay upon any changes to the BSQ wallet.

Also remove the unused methods 'getUnverifiedBsqTransactions()' and
'getBsqWalletTransactions()' from the class.
2024-05-06 00:04:38 +02:00
Steven Barclay
d803a67d0d
Remove unnecessary tx-by-id cache from WalletService
This was added in an earlier commit (57b2b4b8) to speed up the Trade
History view, via the method 'getConfidenceFotTxId(String)', by
replacing a linear scan of the live wallet txs with a lookup into a
lazily initialised map. However, the delegating 'WalletService' method
'getTransaction(Sha256Hash)' already serves this purpose, with
'o.b.w.Wallet' itself maintaining a map of all the wallet txs. Use that
method instead, taking care to exclude dead txs from the lookups, to
exactly preserve the current behaviour.

Also do some minor cleanup of the class, mainly to remove IDE warnings.
2024-05-05 22:37:32 +02:00
HenrikJannsen
13f124566c
Apply patch from @jmacxx (https://github.com/bisq-network/bisq/issues/7066#issuecomment-2087336098)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-02 16:04:20 +07:00
Alejandro García
add2f983f2
Merge pull request #7050 from devinbileck/scan-qr-code
Restore QR code scanner feature for mobile notification pairing
2024-04-30 03:13:31 +00:00
Steven Barclay
3a97953152
Fix cubic time bug in BondedRolesRepository.update()
Alleviate a cubic time bug during the update of the bonded roles
repository, reducing it to quadratic running time. On Mainnet, this
gives a roughly ten-fold speedup and should allow better scaling in the
event that many new bonded roles are added.

Replace calls to 'BondedRolesRepository.findBondedAssetByHash' with a
lookup into a lazily initialised map of bonded assets (Roles) by hash
(reset at the start of each call to 'BondRepository.update()' to prevent
stale caching). This avoids rescanning the roles list for every pair of
roles and lockup tx outputs, thus reducing the number of steps (to
highest order) from:

  #roles * #roles * #lockup-tx-outputs

to:

  #roles * #lockup-tx-outputs

(The logs show 2 or 3 calls to 'BondedRepository.update()' every time a
new block arrives, and while this was only taking around a second or so
on Mainnet, it could potentially grow to something problematic with
cubic scaling in the number of bonded roles.)
2024-04-19 23:49:48 +02:00
Devin Bileck
0f373cee43
Restore QR code scanner feature for mobile notification pairing
This restores the functionality that was removed in b5beea58. However,
this implementation utilizes the JavaCV library rather than the
webcam-capture library as discussed in #4940. As a result, this should
now provide macOS support.
2024-04-01 21:52:40 -07:00
HenrikJannsen
bf6128306f
Increase maxItems from 3000 to 15000.
3000 items are about 180.325 kB.

For nodes not being online for longer the repeated requests consumes quite some time.
With 15k we can expect a 1 MB payload which is still acceptable.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-04-01 11:50:08 +07:00
Alejandro García
8b381bfb45
Merge pull request #7064 from jmacxx/postpone_bm_activation_date
Give more time before activating BM capping algo change (#2)
2024-03-27 09:15:12 +00:00
Alejandro García
0e50d241ee
Merge pull request #7057 from jmacxx/rename_role_community_admin
Rename Keybase admin to Community admin
2024-03-27 09:12:52 +00:00
Alejandro García
85e7f495b5
Merge pull request #7036 from jmacxx/api_confirm_payment_xmr
Add API for payment started with XMR auto conf params
2024-03-27 09:10:00 +00:00