Sean Gilligan
1343776286
convert ImmutableList to unmodifiable list
...
This converts all remaining instances of ImmutableList (except those
in core tests) to JDK unmodifiable list.
2022-03-30 16:33:22 +02:00
Sean Gilligan
7626b27850
build.gradle: update picocli to 4.6.3
2022-02-18 09:02:24 +01:00
Sean Gilligan
ea208935ff
build.gradle: Update SLF4J to 1.7.36
...
Starting with version 1.7.36, SLF4J releases are reproducible.
2022-02-18 08:54:36 +01:00
Andreas Schildbach
6ad636ccec
SigNetParams: support signet
2022-02-11 10:52:49 +01:00
Andreas Schildbach
7d1d7ecd09
BuildCheckpoints: make sure the bitcoinj context is set on the thread
2022-01-28 01:16:49 +01:00
Sean Gilligan
da6d6be288
WalletTool: Move to its own wallettool
submodule
2022-01-05 00:24:42 +01:00
Sean Gilligan
0d67977ca1
build.gradle: Update examples and tools submodules to JDK 11
2022-01-04 03:03:44 +01:00
Sean Gilligan
dda89aad57
Network: move class from tools subproject to core (o.b.utils)
2022-01-03 21:59:19 +01:00
Sean Gilligan
3c3279fa04
tools: Add id() and networkParameters() methods to Network (was NetworkEnum)
...
* Rename from `NetworkEnum` to `Network`
* Use new methods to simplify BuildCheckpoints and WalletTool
* Remove unused imports
2022-01-01 14:42:04 +01:00
Sean Gilligan
a2cf303655
build.gradle: require JDK 11 for the build
...
Uses javac -release option to validate API for older JDK.
2021-12-24 11:35:37 +01:00
Andreas Schildbach
05dfddc98c
make sure to use position(int), flip() and rewind() only from Buffer rather than MappedByteBuffer
...
Without these casts, on some JDKs it links against overloaded methods in MappedByteBuffer and Andoid doesn't have them.
2021-10-06 18:49:36 +02:00
Andreas Schildbach
484275678d
WalletTool: Implement two coin selection options for sending, --select-addr and --select-output.
2021-09-29 22:46:59 +02:00
Andreas Schildbach
d3505b8949
WalletTool: When specifying ALL as a value of an output, use the correct BalanceType suitable for the value of --allow-unconfirmed.
2021-09-29 22:46:59 +02:00
Andreas Schildbach
f859f571ca
BasicKeyChain, DeterministicKeyChain, WalletTool: use only protobuf API that is available also on protobuf-lite
...
This is meant to aid migration to protobuf-lite.
2021-09-24 11:33:06 +02:00
Sean Gilligan
6da10f8641
build.gradle: Update SLF4J to 1.7.32.
2021-09-17 11:51:11 +02:00
Andreas Schildbach
31c7e5fbce
WalletTool: Tighten two try blocks when sending.
2021-04-14 21:43:52 +02:00
Andreas Schildbach
4c094ef193
WalletTool, BuildCheckpoints, FetchBlock: Migrate parsing of command line options from JOpt to picocli.
2021-02-11 16:15:16 +01:00
Andreas Schildbach
813d2576f2
WalletTool: Remove unused command line argument.
2021-02-11 16:13:42 +01:00
Andreas Schildbach
268a4610fc
wallet-tool-help.txt: Fix displaced line.
2021-01-06 19:49:36 +01:00
Andreas Schildbach
4258bb9f21
Apply "Replace indexOf() with contains()" refactoring.
2020-09-07 21:29:24 +02:00
Andreas Schildbach
a912600010
Apply "Identical catch branches in try statement" refactoring.
2020-09-07 21:29:24 +02:00
Andreas Schildbach
c08a4d97d3
Apply "Anonymous type can be replaced with lambda" refactoring.
2020-09-07 21:13:14 +02:00
Andreas Schildbach
3290c8c541
Apply "try finally replaceable with try with resources" refactoring.
2020-09-07 21:12:58 +02:00
Andreas Schildbach
4847a9df27
Apply "Explicit generic type can be replaced with <>" refactoring.
2020-09-07 21:10:44 +02:00
Andreas Schildbach
dbc4cb1d4c
Make all Loggers final.
2020-05-17 14:48:44 +02:00
Sean Gilligan
0aef9836db
build.gradle: Add 'application' plugin to tools subproject.
...
* Enable and configure Gradle application plugin
* Add wallet-tool instructions in project README.md
2020-03-12 00:25:19 +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
1e10248d3c
BuildCheckpoints: Reduce default safety margin to one week.
2019-11-20 19:45:38 +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
Andreas Schildbach
d67f060e27
Remove Micropayment Channels.
...
Now that HTLC-based bi-directional payment channels are state of the art, nobody will ever use the old style.
2019-07-15 11:05:14 +02:00
Andreas Schildbach
c168e67703
Wallet: Implement witness fee discount.
...
Fee is now specified in virtual (kilo)bytes. For non-segwit transactions a virtual byte is the same as a byte so the change is backward compatible.
2019-04-29 10:03:04 +02:00
Andreas Schildbach
f83f8187d6
wallet-tool-help.txt: Move description of fee options to general options section.
2019-04-22 19:19:22 +02:00
Tiberiu Nitan
537b244bfa
BuildCheckpoints: Wrap streams in try/finally block to avoid possible resource leaks.
2019-04-22 08:46:28 +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
170cc80e45
Update Guava to 27.1-android.
2019-04-05 10:31:35 +02:00
Andreas Schildbach
83b1e44d7d
settings.gradle: Prefix project names by 'bitcoinj-'.
2019-03-24 10:34:23 +01:00
Andreas Schildbach
db51bb257c
Use plain Gradle console for running any of the tools.
2019-03-20 22:30:09 +01:00
Andreas Schildbach
19fbc76e2f
Don't use the Gradle daemon for running any of the tools.
2019-03-13 11:38:07 +01:00
Andreas Schildbach
246fc5ae55
Wallet: In toString(), add a flag for including the lookahead keys into the dump.
2019-02-19 12:20:04 +01:00
Andreas Schildbach
d7d6c3de09
Wallet-tool: Allow comma, semicolon and double colon as separator for seed words to work around the inability of Gradle to pass proper command line arguments.
2019-02-19 10:54:07 +01:00
Andreas Schildbach
08bb331cc3
Update jopt-simple to 5.0.4.
2019-02-15 04:03:39 +01:00
Andreas Schildbach
f24a4aa19a
Update Guava to 27.0.1-android.
2019-02-15 03:34:11 +01:00