Commit Graph

18448 Commits

Author SHA1 Message Date
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
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
Chris Parker
8e32546f02
"Transfer Same Bank" & "Transfer Specific Banks" case-insentitive
Offers match these payment method types only if bank names entered
in the maker and taker accounts are the same. However, if the maker
entered, for example, "BANK OF AMERICA" as bank name in their Bisq
account but the taker entered "Bank of America", the offer account
mismatches without this fix to make the match case-insensitive.
2024-09-23 12:26:13 -04:00
Chris Parker
0bc6e632ec
Add new payment method "Faster Payments System (SBP)" for Russian Ruble
Discovered missing displayStrings that were not included in the previous
commit, and added them.
2024-09-22 19:42:16 -04:00
Chris Parker
a0f24fe5d5
Add new payment method "Faster Payments System (SBP)" for Russian Ruble
Added new displayStrings into other language files as a placeholder for
future translation, minor revision to order of payment method fields
in source code (cosmetic, no impact on functionality)
2024-09-22 18:55:04 -04:00
Chris Parker
a136f79bd1
Add new payment method "Faster Payments System (SBP)" for Russian Ruble
This is the standard P2P payment method in Russia to perform funds transfers and
payments between Russian bank accounts in Russian Rubles. There is no chargeback
risk. Recipient bank account is located using telephone number and bank name,
and sender receives recipients first name, middle name, and initial of last name
to confirm the phone number entered is correct before sending. Adding this new
payment method has been discussed at length on the GitHub 'growth' channel at:
   https://github.com/bisq-network/growth/issues/288
2024-09-22 18:05:19 -04:00
Chris Parker
595044f4cc
Code Review followup: Use Optional<> and create a new Map for length
Created new class PhoneNumberRequiredLengths.java with a Map lookup for the
requiredlength of phone numbers in select countries that are well-known to
have uniform fixed-length phone number throughout. Country codes missing
will continue to use just the previous length-range algorithms.  Lookup
into this Map is integrated into PhoneNumberValidator.java, no longer
needed an overloaded constructor to provide this functionality.
[New .java file was accidentally omitted from previous commit]
2024-09-22 04:48:57 -04:00
Chris Parker
824997d337
Code Review followup: Use Optional<> and create a new Map for length
Created new class PhoneNumberRequiredLengths.java with a Map lookup for the
requiredlength of phone numbers in select countries that are well-known to
have uniform fixed-length phone number throughout. Country codes missing
will continue to use just the previous length-range algorithms.  Lookup
into this Map is integrated into PhoneNumberValidator.java, no longer
needed an overloaded constructor to provide this functionality.
2024-09-22 04:30:31 -04:00
Chris Parker
26fb559380
Language strings file cleanup; added missing, applied rename
The Bisq policy for displayStrings is stated in the comments
at the beginning of the primary (English) file that all string
keys should be present in all language files, even though
fallthrough would otherwise result. In reviewing how well
the language files actually comply with this rule, just 5
strings out 2,670 did not comply; these changes correct that
and restore all language files to have all strings.
2024-09-22 01:10:55 -04:00
Chris Parker
1f3cd6765f
Added missing resource string, added unittest, fixed minor bug
Original commit omitted the new display string used by this new
feature. Additionally, added two unittests to verify the code
changes in this pull request work and do not break existing
functionality.
2024-09-21 14:43:47 -04:00
Chris Parker
9dc338b87a
New option in PhoneNumberValidator to enforce exact number of digits
Until now, national phone numbers worldwide just had to be between
5-12 digits long to pass validation. However, many countries have a
specific number of of digits in all their phone numbers which is
very well known (EX: all USA numbers are 10 digits long). So this
change adds an optional parameter to specify how many digits must
be in the phone number for it to validate. Uncommited changes will
also use this new capability, provided this pull request is adopted.
2024-09-19 07:14:01 -04:00
Chris Parker
c5ffb5c337
Sort foreign alphabet payment methods above the untranslated ones.
By default, JAVA sorts foreign characters below English characters.
However, the payment methods that are translated are also more
likely to be used by someone native to that language, so it makes
better sense to sort as two separate sets and put the foreign
language ones on top. This commit does that for payment methods.
2024-09-19 03:11:42 -04:00
HenrikJannsen
c8c9251f2b
Merge pull request #7248 from devinbileck/update-seednode-bm-oracle-keys
Update seednode burningman oracle keys
2024-09-17 18:41:11 +07:00
HenrikJannsen
4633012398
Merge pull request #7240 from bisq-network/dependabot/github_actions/actions/setup-java-4.3.0
build(deps): bump actions/setup-java from 4.2.2 to 4.3.0
2024-09-17 18:40:21 +07:00
HenrikJannsen
d4568df398
Merge pull request #7245 from suddenwhipvapor/master
Add suddenwhipvapor onion xmr explorer
2024-09-17 18:36:49 +07:00
HenrikJannsen
74bec5351c
Merge pull request #7246 from cparke2/fix-bsq-block-explorer-url
URL was broken with the /bisq path and just redirecting to mempool front page
2024-09-17 18:36:24 +07:00
Devin Bileck
331bb61db0
Update seednode burningman oracle keys
Remove keys for removed seednodes and add keys for
newer seednodes.
2024-09-16 23:24:16 -07:00
Chris Parker
07655dba16
Default URL was broken and redirecting to mempool front page.
The fix is to simply not use /bisq in the URL.
2024-09-16 21:16:55 -04:00
suddenwhipvapor
7a0f33cb4e
Add suddenwhipvapor onion xmr explorer 2024-09-15 16:00:12 +00:00
HenrikJannsen
66f9648eb7
Merge pull request #7242 from stejbac/fix-low-r-signing-key-decryption-bug
Fix broken low-R signing with a password encrypted wallet
2024-09-13 10:57:17 +07:00
Steven Barclay
0bec4824bf
Fix broken low-R signing with a password encrypted wallet
Prevent 'KeyIsEncryptedException' from being thrown when signing with a
'LowRSigningKey'-wrapped, encrypted HD key, due to breakage of the
apparent invariant that the 'keyCrypter' field of 'ECKey' should be null
whenever the key isn't encrypted.

When signing with a wrapped, encrypted HD key, the original key is
decrypted and then re-wrapped as a 'LowRSigningKey' instance. This was
blindly copying the 'keyCrypter' property of the decrypted key. But
'DeterministicKey::getKeyCrypter' returns non-null if its parent does,
even if the actual field is null, and the decrypted HD key has the same
parent as the encrypted original. Thus, blindly copying the property
(rather than the field) breaks the above invariant.

Fixes issue #7241 with blind voting, caused by the earlier PR #7238
which introduced low-R nonce grinding.
2024-09-13 08:59:49 +08:00
dependabot[bot]
3f13192069
build(deps): bump actions/setup-java from 4.2.2 to 4.3.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4.2.2...v4.3.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-09 14:42:59 +00:00
Alejandro García
c116022fcb
Merge pull request #7239 from HenrikJannsen/Add-missing-isBmFullNode-option-to-seed-node-setup-docs
Add missing `isBmFullNode` parameter
2024-09-08 21:25:23 +00:00
Alejandro García
7dab669cfb
Merge pull request #7238 from stejbac/grind-for-low-r-signatures
Produce exclusively low-R signatures from wallet keys
2024-09-08 21:24:53 +00:00