Commit graph

18567 commits

Author SHA1 Message Date
Alva Swanson
33eced1117
Move ARS blue rate popup code to new class 2025-01-01 20:13:00 +00:00
Alva Swanson
fb39babbac
Show ARS Blue Rate popup during payment account creation
At the moment, we show the ARS Blue Rate popup when the user saves a
single currency payment account (PR #7122). This misses many payment
accounts that support ARS. The new behaviour is to show the ARS Blue
Rate popup when ARS is selected during account generation (either
pre-selected or later selected by the user).

Payment accounts supporting ARS:
- CashByMail
- CashDeposit
- F2F
- MoneyGram
- National bank
- OKPayAccount (deprecated)
- Same bank
- Specific bank
- Transferwise
- Uphold
- Western Union
2024-12-27 17:52:55 +00:00
Alejandro García
f079e26e09
Merge pull request #7335 from bisq-network/dependabot/github_actions/actions/setup-java-4.6.0
Bump actions/setup-java from 4.5.0 to 4.6.0
2024-12-27 06:11:44 +00:00
Alejandro García
aa521c7e88
Merge pull request #7326 from myuubunny/master
Fix typo in Argentinian Peso (ARS) message
2024-12-27 06:11:10 +00:00
Alejandro García
0dde5eac72
Merge pull request #7330 from alvasw/test_HistoricalDataStoreService.getMapSinceVersion
Write tests for HistoricalDataStoreService.getMapSinceVersion(...)
2024-12-27 06:03:38 +00:00
Alejandro García
cfacafdb2d
Merge pull request #7329 from alvasw/api_getoffers_show_all_offers_by_default
getoffers (api): Return all offers by default
2024-12-27 06:03:18 +00:00
Alejandro García
533d6a3c86
Merge pull request #7327 from suddenwhipvapor/master
Add instruction to select JDK version at build time
2024-12-27 06:02:55 +00:00
Alejandro García
908a56c9c5
Merge pull request #7325 from runbtc/update-seednode-script
Update seednode install script to generate ECDSA key for BM oracle node
2024-12-27 06:01:52 +00:00
dependabot[bot]
146dc3708e
Bump actions/setup-java from 4.5.0 to 4.6.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 14:14:54 +00:00
Alejandro García
3be9ede129
Merge pull request #7324 from bisq-network/release/v1.9.18
Release/v1.9.18
2024-12-23 05:20:32 +00:00
Alejandro García
6db1c9e21b
Merge branch 'master' into release/v1.9.18 2024-12-23 05:13:02 +00:00
Alva Swanson
bd95df95a4
Write tests for HistoricalDataStoreService.getMapSinceVersion(...) 2024-12-21 00:11:08 +00:00
Alva Swanson
0ba23b5a50
api: Include my offers in getoffers 2024-12-20 23:59:48 +00:00
Alva Swanson
c3fbc859f1
getoffers: Include offers that can't be taken
The getoffers api doesn't return any offers until the user has created
his payment accounts. Afterward the api will only return offers that the
user can take. This behavior is confusing and frustrating for new
developers. The new behavior is to show all offers for a given market
(direction, currency).
2024-12-20 23:59:47 +00:00
Alva Swanson
462144eb8f
api: Remove getoffers' --all option 2024-12-20 23:59:42 +00:00
suddenwhipvapor
91715f166f
Add instruction to select JDK version at build time 2024-12-19 16:45:33 +00:00
myuu
eb836d4122
Fix typo in Argentinian Peso (ARS) message 2024-12-17 14:19:46 -03:00
runbtc
3a36854b3b
Update seednode install script to generate ECDSA key for BM oracle node 2024-12-12 16:04:51 -08:00
Alejandro García
3b2b4856aa
Revert to SNAPSHOT version 2024-12-10 08:02:25 +00:00
Alejandro García
3e526c7497
Merge pull request #7318 from runbtc/increase-tmpfs-size
Increase tmpfs size for dumping Bisq blockchain data
2024-12-10 07:57:28 +00:00
Alejandro García
8ae9a39672
Merge pull request #7323 from alvasw/BitcoinjBsqTests_Create_per_test_BSQ_wallet
BitcoinjBsqTests: Create per test BSQ wallet
2024-12-10 07:56:59 +00:00
Alejandro García
e4b618d718
Merge pull request #7322 from alvasw/RegtestWalletAppKit_Implement_createNewBsqWallet_method
RegtestWalletAppKit: Implement createNewBsqWallet method
2024-12-10 07:56:28 +00:00
Alejandro García
6e7f80b2bc
Merge pull request #7321 from alvasw/Add_send_more_BSQ_than_in_wallet_test
Add send more BSQ than in wallet test
2024-12-10 07:55:56 +00:00
Alejandro García
3ba9188243
Merge pull request #7320 from alvasw/Add_send_BSQ_from_empty_wallet_test
Add send BSQ from empty wallet test
2024-12-10 07:55:06 +00:00
Alejandro García
a05f9c5656
Merge pull request #7319 from alvasw/BitcoinjRegtestSetup_Implement_wallet_funding
BitcoinjRegtestSetup: Implement wallet funding
2024-12-10 07:54:08 +00:00
Alejandro García
09a775b8fd
Merge pull request #7295 from alvasw/BsqWalletV2Test_Add_invalid_and_dust_send_tests
BsqWalletV2Test: Add invalid and dust send tests
2024-12-10 07:52:54 +00:00
Alva Swanson
f098ece85e
BitcoinjBsqTests: Create per test BSQ wallet
At the moment, some tests are sharing the same BSQ wallets. This change
creates a separate wallet for indenpendent tests to improve the tests's
reliability.
2024-12-09 10:32:38 +00:00
Alva Swanson
53467f953a
RegtestWalletAppKit: Implement createNewBsqWallet method
The createNewBsqWallet method creates a new BitcoinJ wallet and
registers it with BitcoinJ's BlockChain and PeerGroup.
2024-12-09 10:29:33 +00:00
Alva Swanson
b78f3abb29
Add send more BSQ than in wallet test 2024-12-09 10:26:59 +00:00
Alva Swanson
848694ad86
Add send BSQ from empty wallet test 2024-12-09 10:24:22 +00:00
Alva Swanson
5ac81f9945
BitcoinjRegtestSetup: Implement wallet funding
The fundWallet method sends the given amount to the BitcoinJ wallet from
the Bitcoin Core miner wallet, mines one block, and waits until the
BitcoinJ wallet updates its wallet balance.
2024-12-09 10:15:33 +00:00
Alva Swanson
1aa4a3d048
BsqWalletV2Test: Add invalid and dust send tests
The tests try to send 0 BSQ and the current dust amount in BSQ.
2024-12-09 09:58:40 +00:00
runbtc
bfbb41958d
Increase tmpfs size for dumping Bisq blockchain data
Currently, it requires about 5.2G of space.
Therefore, increase it to allow for future growth.
However, hopefully this becomes irrelevant soon
with the changes in bisq-network/mempool#13.
2024-12-08 10:59:25 -08:00
Alejandro García
b3f44d2b4c
Use BtcNodes from master branch 2024-11-22 18:43:29 +00:00
Alejandro García
59e13fdb73
Add v1.9.18 to historical resources list 2024-11-22 18:21:23 +00:00
Alejandro García
0af78f3fc0
Merge pull request #7314 from alejandrogarcia83/update-data-stores-for-v1.9.18
Update data stores for v1.9.18
2024-11-21 20:27:32 +00:00
Alejandro García
55ec429bcb
Update data stores for v1.9.18 2024-11-21 19:50:39 +00:00
Alejandro García
c31a55b385
Bump version number for v1.9.18 2024-11-21 19:42:04 +00:00
Alva Swanson
29406cdf0a
FederatedBtcNodeProvider: Compare banned node address and port 2024-11-21 19:38:47 +00:00
Alva Swanson
a49bbd36e6
BtcNodeProvider: Fix BTC node banning
The FederatedBtcNodeProvider compared the list of banned nodes with each
BtcNode's hostname instead of checking a BtcNode's hostname, ip address,
and onion address.
2024-11-21 19:38:35 +00:00
Alva Swanson
bb66c827b9
NodeAddress: Fix broken IPV6 parsing
Bisq accepts IPV6 node addresses but the NodeAddress can't parse them.
2024-11-21 19:38:22 +00:00
Alva Swanson
8fc4181cd7
BtcNodes: Fix hostname parsing
The fromFullAddress method parsed hostnames as IPV4 addresses instead as
hostnames.
2024-11-21 19:38:10 +00:00
Alva Swanson
a0ff6073ac
Add FederatedBtcNodeProviderTest.onlyHardcodedNodes test 2024-11-21 19:36:54 +00:00
Alva Swanson
7a683ce52e
Pass filterProvidedBtcNodes and bannedBtcNodes to FederatedBtcNodeProvider 2024-11-21 19:36:41 +00:00
Alva Swanson
8be563f71e
Pass list of nodes instead of BtcNodes class to FederatedBtcNodeProvider 2024-11-21 19:36:41 +00:00
Alva Swanson
43b07c2838
Move federated BTC node selection to FederatedBtcNodeProvider 2024-11-21 19:36:23 +00:00
Alva Swanson
22aa759a0a
BtcNode: Make port field final 2024-11-21 19:36:12 +00:00
Alva Swanson
cbea843144
Fix duplicates in BtcNode list
When the user uses our federated BTC nodes, we merge the hard-coded
nodes with the ones provided by the filter. The hard-coded node's
operator field is set to the node's operator and operator field of the
nodes from the filter is set to "Provided by filter". When the same BTC
node is in the hard-coded list and the filter, Bisq adds both to the
merged list because the operator field is different.

This change explicitly marks the onionAddress, hostName, address, and
port field to be used in the hashCode and equals implementation.
2024-11-21 19:35:51 +00:00
Alva Swanson
a8b4ef8194
BtcNetworkConfig: Shuffle Bitcoin Core peers
We try to connect to the first 7 Bitcoin Core nodes always in the same
order. Only if connections to these nodes fail we look further into the
list. This change shuffles the node addresses before passing them to
BitcoinJ thus removing the bias from the first 7 prioritized nodes.
2024-11-21 19:35:38 +00:00
Alva Swanson
41912f9417
BtcNetworkConfig: Don't create unused array 2024-11-21 19:35:38 +00:00