Commit Graph

18470 Commits

Author SHA1 Message Date
Alejandro García
ea6a5126f9
Merge pull request #7288 from alvasw/gradle_Fix_verification-metadata.xml_formatting
gradle: Fix verification-metadata.xml formatting
2024-11-12 06:32:54 +00:00
Alejandro García
9af707d4e4
Merge pull request #7287 from alvasw/core_Implement_WalletFactory
core: Implement WalletFactory
2024-11-12 06:31:18 +00:00
Alva Swanson
0f4836e30b
gradle: Fix verification-metadata.xml formatting 2024-11-10 22:11:00 +00:00
Alva Swanson
77c48d8dd8
core: Implement WalletFactory
The WalletFactory can create BTC and BSQ wallets.
2024-11-08 19:11:47 +00:00
Alejandro García
8d345000ee
Merge pull request #7285 from alvasw/BsqWalletV2_Implement_send_BSQ
BsqWalletV2: Implement send BSQ
2024-11-08 02:59:06 +00:00
Alejandro García
6886161b48
Merge pull request #7284 from alvasw/BtcWalletV2_Implement_addMiningFeesToBsqTx
BtcWalletV2: Implement addMiningFeesToBsqTx
2024-11-08 02:58:25 +00:00
Alejandro García
a59939d4a8
Merge pull request #7283 from alvasw/core_Implement_transaction_offset_signing
core: Implement transaction offset signing
2024-11-08 02:57:29 +00:00
Alejandro García
1f1c768313
Merge pull request #7282 from alvasw/add_bitcoind_submodule
Add bitcoind submodule
2024-11-08 02:53:31 +00:00
Alva Swanson
6722d9d691
BsqWalletV2: Implement send BSQ
The sendBsq method creates a BSQ transaction, signs the BSQ inputs, and
adds the requires BTC mining fees to the transcation.
2024-11-07 20:50:31 +00:00
Alva Swanson
fbebdb7d3c
BtcWalletV2: Implement addMiningFeesToBsqTx
The addMiningFeesToBsqTx method adds BTC mining fees to a given BSQ
transaction and tx fee amount.
2024-11-07 20:48:59 +00:00
Alva Swanson
687f247d06
core: Implement transaction offset signing
The BisqTransactionSigner signs the inputs of a transaction after the
given offset using the LocalOffsetTransactionSigner. The
LocalOffsetTransactionSigner is identical to BitcoinJ's
LocalTransactionSigner. The only difference is that the
LocalOffsetTransactionSigner accepts an offset in its constructor. All
inputs below this offset are skipped during signing.

This is needed for Bisq's BSQ implementation because the mining fees of
BSQ transactions come from Bisq's BTC wallet. BitcoinJ's
LocalTransactionSigner expects all inputs to be part of the same wallet.
2024-11-07 20:46:37 +00:00
Alva Swanson
bd55503611
Add bitcoind submodule
We use the same bitcoind regtest module in Bisq 1 and 2. To avoid
duplicate code I moved the bitcoind module to its own repository.
2024-11-06 20:49:46 +00:00
Alejandro García
4a65e40d5c
Merge pull request #7281 from alvasw/Socks5MultiDiscovery_Shutdown_peer_discovery_methods
Socks5MultiDiscovery: Shutdown peer discovery methods
2024-11-05 05:08:07 +00:00
Alejandro García
25009074ef
Merge pull request #7280 from alvasw/Socks5MultiDiscovery_Dont_create_useless_array
Socks5MultiDiscovery: Don't create useless array
2024-11-05 05:07:27 +00:00
Alejandro García
1baf67ef27
Merge pull request #7279 from alvasw/DnsLookupTor_Close_socket_after_usage
DnsLookupTor: Close socket after usage
2024-11-05 05:06:51 +00:00
Alejandro García
694bfeff96
Merge pull request #7278 from alvasw/Migrate_Socks5SeedOnionDiscovery_to_BitcoinCoreSeedListDiscovery
Migrate Socks5SeedOnionDiscovery to BitcoinCoreSeedListDiscovery
2024-11-05 05:06:05 +00:00
Alejandro García
5cdc1cad26
Merge pull request #7277 from alvasw/Implement_BitcoinCoreSeedListDiscovery_method
Implement BitcoinCoreSeedListDiscovery method
2024-11-05 05:05:09 +00:00
Alejandro García
1e7f4eabed
Merge pull request #7275 from bisq-network/dependabot/github_actions/actions/setup-java-4.5.0
build(deps): bump actions/setup-java from 4.4.0 to 4.5.0
2024-11-05 05:04:44 +00:00
Alejandro García
24d3dd76bb
Merge pull request #7274 from bisq-network/dependabot/github_actions/actions/checkout-4.2.2
build(deps): bump actions/checkout from 4.2.1 to 4.2.2
2024-11-05 05:04:01 +00:00
Alva Swanson
b8c46b1e42
Socks5MultiDiscovery: Shutdown peer discovery methods 2024-11-05 01:06:28 +00:00
Alva Swanson
bb3acb3fa9
Socks5MultiDiscovery: Don't create useless array
We create an array in the getPeers method and throw it away without
using it.
2024-11-05 01:03:45 +00:00
Alva Swanson
f92f4e8da0
DnsLookupTor: Close socket after usage 2024-11-05 01:02:25 +00:00
Alva Swanson
e1c7a0dc30
Migrate Socks5SeedOnionDiscovery to BitcoinCoreSeedListDiscovery
Our Socks5SeedOnionDiscovery contains deprecated Tor V2 onion addresses
that are not supported anymore. BitcoinCoreSeedListDiscovery contains
Tor V3 addresses that are shipped with Bitcoin Core.
2024-11-05 00:59:46 +00:00
Alva Swanson
c959f7b52c
Implement BitcoinCoreSeedListDiscovery method
- Update bitcoin core seed list to upstream version
- Use IpV4 and onion addresses from it

Our users are still protected because we connect to IpV4 addresses
through Tor. This improves connectivity because Bitcoin Core creates an
ephemeral onion service on each startup.
2024-11-05 00:54:37 +00:00
dependabot[bot]
49d9f705de
build(deps): bump actions/setup-java from 4.4.0 to 4.5.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4.4.0...v4.5.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-10-28 14:28:41 +00:00
dependabot[bot]
11a04170c5
build(deps): bump actions/checkout from 4.2.1 to 4.2.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 14:28:37 +00:00
HenrikJannsen
cbe3ead0d5
Merge pull request #7270 from bisq-network/dependabot/github_actions/actions/checkout-4.2.1
build(deps): bump actions/checkout from 4.2.0 to 4.2.1
2024-10-20 12:58:01 +07:00
HenrikJannsen
5139a97161
Merge pull request #7269 from cparke2/russian-translations
Added 500+ string translations to Russian language file
2024-10-20 12:57:37 +07:00
dependabot[bot]
04aea3b00c
build(deps): bump actions/checkout from 4.2.0 to 4.2.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 14:46:43 +00:00
Chris Parker
2556db7b37
Added 500+ string translations to Russian language file
Removed *non-printable characters* that were accidentally added
during word analysis of the translations file:
   ... (например, «С днем \u200b\u200bрождения, Сьюзен!») ...
While apparently harmless and invisible, these do not belong
and a needle in the haystack later, so removing them now.
2024-10-12 19:26:32 -04:00
HenrikJannsen
6c7bf29409
Merge pull request #7268 from cparke2/russian-translations
Added 500+ string translations to Russian language file
2024-10-12 15:16:37 +07:00
Chris Parker
885f16e15d
Added 500+ string translations to Russian language file
Code Review follow-up - Remove substition replacements for strings which
do not have any substition parameters, as these are causing confusion as
to whether apostrophes are required.
2024-10-12 00:01:15 -04:00
Chris Parker
90644c3514
Added 500+ string translations to Russian language file
Code Review follow-up - fix incorrect instances of "''"
vs. "'" when substitutions ("{0}", etc.) are present or
absent.
2024-10-11 12:30:23 -04:00
HenrikJannsen
f10aa5e36d
Merge pull request #7263 from bisq-network/dependabot/github_actions/actions/checkout-4.2.0
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
2024-10-11 14:55:31 +07:00
HenrikJannsen
b8e393971c
Merge pull request #7262 from bisq-network/dependabot/github_actions/actions/setup-java-4.4.0
build(deps): bump actions/setup-java from 4.3.0 to 4.4.0
2024-10-11 14:55:20 +07:00
Chris Parker
5908d16720
Added 500+ string translations to Russian language file
Minor typographical correction: Added back a blank line to preserve
line number matching during code review. No change to strings.
2024-10-11 03:02:34 -04:00
Chris Parker
ecb09a4bef
Added 500+ string translations to Russian language file
Previously, about 1,585 out of 2,676 strings (59.23%) were
translated into Russian, the rest remained in English.
This meant a native Russian speaker with limited English
ability might have great difficulty using Bisq application
and might not understand or notice the way the system
works and the many important pop-ups that can appear.
Now there are about 2,103 strings in Russian (78.59%) and
most of the messages the end user normally would see are
displayed in Russian, making the application very usable.
2024-10-11 02:36:54 -04:00
HenrikJannsen
22c6f16c9b
Merge pull request #7265 from cparke2/create-sbp-payment-method
Create payment method "Faster Payments System (SBP)" for Russian Ruble
2024-10-03 16:56:15 +07:00
Chris Parker
2ed9abf000
Create payment method "Faster Payments System (SBP)" for Russian Ruble
Removed all caps of "RUSSIA" in new account pop-up and renamed existing
payment method "Faster Payments" which is a similarly named payment
method to "Faster Payment System (UK)", as required follow-up to
to pull request https://github.com/bisq-network/bisq/pull/7255 and
discussed in issue https://github.com/bisq-network/growth/issues/288
2024-10-02 21:37:10 -04:00
dependabot[bot]
c02a6a9b90
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.7...v4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 14:22:46 +00:00
dependabot[bot]
d738863d81
build(deps): bump actions/setup-java from 4.3.0 to 4.4.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4.3.0...v4.4.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-09-30 14:22:44 +00:00
HenrikJannsen
f37344bdc6
Merge pull request #7252 from cparke2/phone-number-validator-required-length-option
New option in PhoneNumberValidator to enforce exact number of digits
2024-09-27 16:07:50 +07:00
HenrikJannsen
122faa5c03
Merge pull request #7259 from cparke2/offer-view-currency-blank-bug
Fix randomly blank currency box upon opening the Offer screen
2024-09-27 16:06:26 +07:00
HenrikJannsen
b4c6963407
Merge pull request #7255 from cparke2/create-sbp-payment-method
Create payment method "Faster Payments System (SBP)" for Russian Ruble
2024-09-26 19:43:48 +07:00
HenrikJannsen
2f665fcb2c
Merge pull request #7253 from cparke2/cleanup-displayStrings-inconsistencies
Language strings file cleanup; added missing, applied rename
2024-09-26 19:37:22 +07:00
HenrikJannsen
b9188bd72a
Merge pull request #7257 from cparke2/same-bank-case-insensitive-match
"Transfer Same Bank" & "Transfer Specific Banks" match case-insentitivity
2024-09-26 19:34:00 +07:00
HenrikJannsen
68f5625518
Merge pull request #7258 from cparke2/same-bank-blank-bic
Improve exception msg and handling when 'Same Bank' BIC/SWIFT blank
2024-09-26 19:22:46 +07:00
HenrikJannsen
1480fe2021
Merge pull request #7251 from cparke2/sort-nonlatin-payment-methods-top
Sort foreign alphabet payment methods above the untranslated ones.
2024-09-26 18:35:18 +07:00
Chris Parker
abe3329071
Fix randomly blank currency box upon opening the Offer screen
When clicking Create Buy/Sell Offer, or Edit/Duplicate/Clone an existing
offer, randomly the initial display of "Currency" associated with the
initially selected payment method was displayed as blank. This seems to
have been caused by scheduling the selection of the initial payment
method combobox selection to happen on a different thread rather than
immediately selecting it (apparently, sometimes the secondard event to
select the currency gets lost).
2024-09-25 19:49:24 -04:00
Chris Parker
7aa61fb6b0
Improve exception msg and handling when 'Same Bank' BIC/SWIFT blank
Users in most countries (see BankUtil.useValidation() ) can create a "Transfer Same Bank"
account with no BIC/SWIFT code. However, to create an offer using this account, it must
have a bankId or JAVA will throw a 'null pointer exception', and the app. will become
unhealthy and hang trying on exit. This fix adds a validation check for the condition and
throws a more "friendly" exception which explains the problem and keeps the app. healthy.
2024-09-24 05:12:52 -04:00