Commit graph

14625 commits

Author SHA1 Message Date
Christoph Atteneder
c615d5dbf9
Merge pull request #5109 from stejbac/implement-segwit-for-bsq-wallet
Wallet changes for Segwit BSQ implementation
2021-04-27 20:58:51 +02:00
Steven Barclay
9760526aaa
Factor out shared segwit keychain setup to WalletsManager
Move consecutive maybeAddSegwitKeychain(..) calls for the BTC & BSQ
wallets from BisqSetup to WalletsManager, as the latter class is used
for operations which should be applied to both wallets and this moves
the logic closer to the wallet domain.

Also migrate a BSQ address validator in one of the test mock classes
from Base58AddressValidator to BitcoinAddressValidator (missed earlier).
2021-04-27 11:45:00 +01:00
Steven Barclay
5f1e32a226
Perform segwit BSQ wallet migration upon startup
Uncomment & enable the m/44'/142'/1' native segwit BSQ account path and
add code to migrate the user's BSQ wallet to segwit upon startup, along
the same lines as the existing BTC wallet segwit migration logic. That
is, set P2WPKH as the default output type, add a native segwit key chain
(set to active) to the BSQ wallet and back up the old 'bisq_BSQ.wallet'
file to 'pre_segwit_bisq_BSQ.wallet.backup'.

Also filter out legacy addresses coming from the original keychain from
BsqWalletService.get(Unused|Change)Address.
2021-04-27 11:26:13 +01:00
sqrrm
036d5fa977
Merge pull request #5439 from ripcurlx/release/v1.6.3
Update data stores for v1.6.3
2021-04-27 12:21:17 +02:00
Steven Barclay
3470429746
Allow use of bech32 BSQ addresses
Remove the restriction to base58 (P2SH & P2PKH) addresses when parsing,
formatting & validating BSQ addresses, by replacing o.b.c.LegacyAddress
with its superclass o.b.c.Address throughout. Also remove restriction to
LegacyAddress in BsqTxListItem and BsqTransfer(Service|Model).

The bech32 BSQ addresses follow the same format as the old base58 BSQ
addresses, namely 'B' + <btc-address>.
2021-04-27 11:08:10 +01:00
Steven Barclay
ce73fb85f3
Code cleanup: Simplify Optional stream processing
Use flatMap(Optional::stream) instead of filter(..isPresent).map(..get)
and avoid a redundantly nested Optional in OpReturnType.

Also replace some unnecessary stream().forEach(..) invocations on lists
in BtcWalletService, as forEach is already part of the List interface.
2021-04-27 10:39:30 +01:00
Christoph Atteneder
05cc96ec68
Merge pull request #5434 from BtcContributor/updatetechdocs
Update technical documentations to help onboarding new developers
2021-04-27 09:38:23 +02:00
Maxim Belkin
ffa39f51fa
Update Java installation scripts 2021-04-26 16:40:37 -05:00
BtcContributor
734faad8aa
Merge branch 'master' into updatetechdocs 2021-04-26 15:47:32 +02:00
Christoph Atteneder
7eb3380156
Fix prompt text clipping in text area 2021-04-26 11:24:20 +02:00
jmacxx
889ac863f6
v1.6.3 wording changes recommended by btc_contributor and pazza 2021-04-26 11:24:02 +02:00
Christoph Atteneder
be86c0d4e2
Fix prompt text clipping in text area 2021-04-26 11:20:07 +02:00
BtcContributor
49daa9ca12
Add TestPad link and fix Codacy issue 2021-04-26 11:14:20 +02:00
Christoph Atteneder
b5d772bc48
Update data stores for v1.6.3 2021-04-26 11:11:29 +02:00
Christoph Atteneder
69c7817340
Merge pull request #5438 from jmacxx/wording_changes_v163
v1.6.3 wording changes / clarification
2021-04-26 10:20:13 +02:00
jmacxx
94ebbc4ff3
v1.6.3 wording changes recommended by btc_contributor and pazza 2021-04-25 23:05:32 -05:00
Christoph Atteneder
33d0f1139f
Merge pull request #5436 from BtcContributor/fixclitest
Fix cli test that blocks building on Windows
2021-04-23 20:48:58 +02:00
Christoph Atteneder
208689b533
Merge pull request #5432 from BtcContributor/java11
Update docs references to Java 11
2021-04-23 20:48:27 +02:00
BtcContributor
b8adba8148
Improve wording 2021-04-23 15:52:16 +02:00
BtcContributor
5ad62ec4f8
Add command to skip tests when building the project 2021-04-23 11:29:59 +02:00
BtcContributor
a39da12ef6
Fix cli test that blocks building on Windows 2021-04-23 11:16:22 +02:00
BtcContributor
290b7dd6d6
Update link to OpenJDK archive 2021-04-23 10:31:11 +02:00
BtcContributor
6eed20283f
Add missing 'Example' word 2021-04-22 18:53:29 +02:00
BtcContributor
1a2307d613
Update technical documentations to help new developers 2021-04-22 18:49:41 +02:00
BtcContributor
84084b5d75
Update scripts to JDK 11 2021-04-22 17:16:00 +02:00
Christoph Atteneder
0f9f43c9ba
Update bitcoinj checkpoints for v1.6.3 2021-04-22 11:38:11 +02:00
BtcContributor
8a06705bdf
Update references to Java 11 2021-04-22 11:33:57 +02:00
Christoph Atteneder
f6b244ec78
Update translations for v1.6.3 2021-04-22 10:42:58 +02:00
Christoph Atteneder
2c5e785a1e
Bump version number for v1.6.3 2021-04-22 10:36:37 +02:00
sqrrm
469448a218
Merge pull request #5431 from ripcurlx/upgrade-javafax-14
Upgrade Java to v11 and JavaFX to v15
2021-04-22 10:18:42 +02:00
Christoph Atteneder
412d485c05
Fix intentions caused by autoformat before commit 2021-04-22 10:12:04 +02:00
Christoph Atteneder
42e049c8f8
Fix remaining formatting issues 2021-04-22 10:01:24 +02:00
Christoph Atteneder
1f44ffbe4d
Fix "missing new line after list item complaint" 2021-04-22 09:52:22 +02:00
Christoph Atteneder
1ae8fc01b3
Autoformat markdown file 2021-04-22 09:36:51 +02:00
Christoph Atteneder
de76bd051b
Merge pull request #5427 from jmacxx/fix_issue_5334
Show a SPV resync suggestion if trade remains unconfirmed for 3 hours or more
2021-04-22 09:21:21 +02:00
Christoph Atteneder
c17b46fc2d
Merge pull request #5423 from jmacxx/dupOffer_2
Functionality to duplicate an offer
2021-04-22 09:16:33 +02:00
Christoph Atteneder
0852bce122
Merge pull request #5426 from wiz/wiz/20210421-increase-mempool-fee-estimation-to-high-priority
Pricenode: Increase mempool fee suggestion from medium to high priority
2021-04-22 09:15:08 +02:00
jmacxx
3c3dca0053
show a SPV msg if trade deposit remains unconfirmed for 3 hours or more 2021-04-21 20:00:01 -05:00
jmacxx
a5d5eafddf
@m52go edits and popup informing new feature 2021-04-21 15:54:16 -05:00
wiz
087e160f6b
Pricenode: Increase mempool fee suggestion from medium to high priority 2021-04-21 20:13:41 +09:00
Christoph Atteneder
568900b79d
Merge pull request #5425 from BtcContributor/revolutusername
Allow Revolut username to be minimum 3 characters
2021-04-21 10:52:34 +02:00
Christoph Atteneder
8957685073
Update release process documentation 2021-04-21 10:45:55 +02:00
BtcContributor
25b6685491
Allow Revolut username to be minimum 3 characters 2021-04-21 10:33:06 +02:00
Christoph Atteneder
bbe6c703ad
clean up formatting 2021-04-21 09:52:54 +02:00
Christoph Atteneder
5dc8abdbe7
Update Java SDK 2021-04-21 09:38:10 +02:00
Christoph Atteneder
2463e28330
Remove old build files 2021-04-21 09:23:32 +02:00
Christoph Atteneder
57adbdc367
Merge pull request #5424 from jmacxx/cashbymail_enhance_terms2
Size popup proportional to amount of text shown
2021-04-21 09:10:09 +02:00
jmacxx
ca989751a6
Size GenericMessageWindow proportional to amount of text shown 2021-04-20 17:35:24 -05:00
jmacxx
7f73df5dfd
Functionality to duplicate an offer 2021-04-20 16:22:49 -05:00
Christoph Atteneder
41fa3a9063
Only bundle Raspberry Pi on macOS 2021-04-20 15:26:12 +02:00