Sean Gilligan
e9980e73fa
wallettemplate: rename package wallettemplate.utils to org.bitcoinj.walletfx.utils
...
This is a step towards (a renewed effort at) separating the wallettemplate
into a JavaFX wallet library and a template application.
2021-09-18 19:03:17 +02:00
Sean Gilligan
62f5097933
build.gradle: Update JavaFX to 17.0.0.1.
2021-09-17 17:33:53 +02:00
Sean Gilligan
65e9d9523b
build.gradle: Update ZXing to 3.4.1.
2021-09-17 11:57:24 +02:00
Sean Gilligan
6da10f8641
build.gradle: Update SLF4J to 1.7.32.
2021-09-17 11:51:11 +02:00
Sean Gilligan
1e5fa2ed0c
wallettemplate: upgrade JavaFX to version 15
...
JavaFX 15 is now released and is the now the latest supported
version. It supports JDK 11 and later — same as the previous release.
Release notes are here:
https://github.com/openjdk/jfx/blob/jfx15/doc-files/release-notes-15.md#release-notes-for-javafx-15
2020-09-08 15:43:22 -07:00
Andreas Schildbach
a966cd38a1
Apply "Lambda can be replaced with method reference" refactoring.
2020-09-07 21:15:51 +02:00
Andreas Schildbach
e7b00b65f9
Apply "Statement lambda can be replaced with expression lambda" refactoring.
2020-09-07 21:13:14 +02:00
Andreas Schildbach
c08a4d97d3
Apply "Anonymous type can be replaced with lambda" refactoring.
2020-09-07 21:13:14 +02:00
Andreas Schildbach
4847a9df27
Apply "Explicit generic type can be replaced with <>" refactoring.
2020-09-07 21:10:44 +02:00
Sean Gilligan
b4d3372198
build.gradle: Update ZXing (only in wallettemplate) to 3.4.0.
...
Release notes:
https://github.com/zxing/zxing/releases/tag/zxing-3.4.0
2020-04-23 08:54:29 +02:00
Sean Gilligan
0d3a767cd4
build.gradle: Update JavaFX to 14.0.1.
...
This is a bug fix release:
https://github.com/openjdk/jfx/blob/jfx14/doc-files/release-notes-14.0.1.md#release-notes-for-javafx-1401
2020-04-23 08:51:08 +02:00
Sean Gilligan
47a2335a73
Update JavaFX to 14, JavaFX Plugin to 0.0.8.
2020-03-19 10:59:08 +01:00
Sean Gilligan
e4c6b98536
Make Guava an api
dependency using java-library
...
Use the Gradle java-library plugin to make Guava an `api`
dependency since Guava types are used in the bitcoinj public API.
This allows us to remove explicit dependencies on
Guava in the other modules.
2020-02-29 15:28:09 -08:00
Andreas Schildbach
0112e3ccbe
Update slf4j to 1.7.30.
2020-01-23 01:16:58 +01:00
Andreas Schildbach
68538e57af
Update Guava to 28.2-android.
2020-01-23 01:09:35 +01:00
Andreas Schildbach
ded215e69e
Update slf4j to 1.7.29.
2019-11-21 12:35:13 +01:00
Andreas Schildbach
f396327246
Update Guava to 28.1-android.
2019-10-21 12:15:53 +02:00
Sean Gilligan
03d7d7369f
Update slf4j to 1.7.28.
...
1.7.28 fixes an error in 1.7.27 that could affect some users of JPMS modules.
2019-08-27 12:16:59 +02:00
Sean Gilligan
1394f91d61
Update slf4j to 1.7.27.
2019-08-08 09:43:56 +02:00
Andreas Schildbach
726c7291ac
Wallet: Remove global coinSelector and allowSpendingUnconfirmedTransactions().
...
Coin selection is a per SendRequest, per createSend() or per getBalance() call affair.
Having it wallet-global can lead to race conditions, as sometimes experienced in the
WalletTest unit tests.
2019-07-26 20:30:27 +02:00
Andreas Schildbach
cee5264ab9
build.gradle: Specify javadoc encodings.
2019-07-26 17:14:37 +02:00
Sean Gilligan
951d18b9a7
Update slf4j to 1.7.26.
2019-07-26 10:43:57 +02:00
Sean Gilligan
3c5744a6cb
AppDataDirectory: Move from wallettemplate/.utils to core/.utils
...
This allows usage in both wallettemplate and tools and replaces
similar code in BlockFileLoader.java in core.
Requires minor back-port of Path.of() functionality from JDK11.
2019-06-20 10:09:21 +02:00
Sean Gilligan
d446951ceb
AppDataDirectory: Use lower-case appName for data dir on Windows/Linux/Unix.
2019-06-19 21:27:01 +02:00
Andreas Schildbach
ab2fb2f9cf
KeyChainGroup: New CurrentKeyChangeEventListener that fires when a current key and/or address changes.
...
This also changes wallet-template to make use of the new listener for updating its current address in the UI.
2019-05-19 08:23:39 +02:00
Sean Gilligan
46195cd24e
wallet-template: Put wallet data files in app data directory.
...
Previously WalletTemplate would store the .spvchain and .wallet files
in the app’s current working directory which could vary depending upon
how the app was launched.
This PR stores the app’s data files in the “app data directory” which
is always named “WalletTemplate” (APP_NAME) and located in the standard
location for application data directories on the current OS platform.
For macOS: `~/Library/Application Support/WalletTemplate`
For Linux/unix: `~/.WalletTemplate`
For Windows: ${APPDATA}/WalletTemplate (where APPDATA is a standard
Windows environment variable)
Changes:
* Added AppDataDirectory class to return current dir Path
* Modified Main to use appDataDirectory rather than “.”
2019-04-29 10:29:45 +02:00
Sean Gilligan
88dd0028cd
ClickableBitcoinAddress: Break out QRCodeImages utility class for QR Code FX image creation.
2019-04-24 11:21:12 +02:00
Sean Gilligan
2dbe4f21bc
Use TestNet3 in WalletTemplate.
...
WalletTemplate is not a production-ready wallet and (for now, at least)
should default (currently hard-coded) to TestNet3.
2019-04-23 17:12:38 +02:00
Sean Gilligan
c2253d2e97
MainController: Replace EasyBind with two static methods.
...
This removes the dependency on EasyBind.
2019-04-22 09:06:09 +02:00
Sean Gilligan
7bfeff65f6
build.gradle: Use plugins block rather than 'apply plugin' statements.
2019-04-18 16:41:12 +02:00
Sean Gilligan
c18cf90a8e
build.gradle: Remove redundant wallet_template Gradle task.
2019-04-08 11:11:51 +02:00
Sean Gilligan
3538d3342e
ClickableBitcoinAddress: Write QR code directly to a JavaFX image, rather than transitioning through a PNG image.
...
This gets rid of the ZXing-JavaSE dependency.
2019-04-07 11:34:45 +02:00
Sean Gilligan
560e128458
build.gradle: Replace usage of QRGen by direct usage of ZXing 3.3.3 for generating QR codes.
2019-04-06 17:14:59 +02:00
Sean Gilligan
170cc80e45
Update Guava to 27.1-android.
2019-04-05 10:31:35 +02:00
Sean Gilligan
7b934591e5
Update EasyBind to 1.0.3.
2019-04-05 10:28:32 +02:00
Andreas Schildbach
83b1e44d7d
settings.gradle: Prefix project names by 'bitcoinj-'.
2019-03-24 10:34:23 +01:00
Sean Gilligan
4daf6de1eb
settings.gradle: If at least Java 11 and Gradle 4.10 are detected, wallet-template is being built again.
...
This also means wallet-template is under continuous integration by Travis again.
2019-02-26 11:56:32 +01:00
Andreas Schildbach
f24a4aa19a
Update Guava to 27.0.1-android.
2019-02-15 03:34:11 +01:00
Andreas Schildbach
34e8bc217a
build.gradle: Configure Eclipse plugin.
2019-02-14 23:03:24 +01:00
Andreas Schildbach
bfe2a195b6
Receive to and send from native segwit addresses
...
- Hierarchical-deterministic derivation of native segwit addresses.
- Receive payments to native segwit addresses.
- Spend and sign payments from native segwit addresses.
- Watch-only wallets with native segwit addresses (zpub/vpub).
- WalletAppKit, Wallet-tool and Wallet-template are taught to deal with segwit-enabled wallets.
Be aware this adds a new field in the wallet protobuf: output_script_type in Key, which keeps track
of the script type of DeterministicKeyChains. Protobufs will be migrated; old DeterministicKeyChains
are assumed to be of type P2PKH.
Includes some code by Fabrice Drouin.
2019-02-11 16:48:37 +01:00
Andreas Schildbach
0d90157749
Wallet-template: Allow sending to Bech32 addresses.
2019-02-06 12:02:31 +01:00
Nicola Atzei
0833fe1cea
In JavaDocs change <tt> tags to @code.
2019-01-04 18:36:59 +01:00
Andreas Schildbach
7b0a9c207f
Update Guava to 25.1-android.
2018-11-27 13:41:58 +01:00
Andreas Schildbach
2992cc16ff
build.gradle: Specify source encodings.
2018-10-31 11:12:49 +01:00
Andreas Schildbach
ad262de961
Migrate from SpongyCastle back to BouncyCastle.
...
Google moved their broken BouncyCastle out of the way with Android 3.0
(see 0ac85ead96
%5E%21/).
2018-10-23 16:09:10 +02:00
Andreas Schildbach
aaa5262ef4
Migrate from Maven to Gradle 3.4 for building.
2018-05-01 16:49:30 +02:00
Andreas Schildbach
8ee5e48171
Update to protobuf-java 3.5.1.
...
In the test data for DeterministicKeyChainTest all occurences of the (often invisible) 0x7f
character is replaced by its numerical literal "\177". This change is needed because a bug of
previous versions was fixed, which caused this character not being printed as text.
2018-03-13 21:55:47 +01:00
Andreas Schildbach
c35d892fa6
Add Utils.isLinux() and Utils.isMac() helpers.
2018-03-13 13:05:59 +01:00
Andreas Schildbach
4bbb7be059
Migrate fully qualified names to using imports.
2018-03-11 21:36:25 +01:00
Andreas Schildbach
fa5bdbb672
JavaDoc: Fix HTML structure.
2018-03-11 20:40:28 +01:00