Commit Graph

2875 Commits

Author SHA1 Message Date
Andreas Schildbach
b131cc7738 Release 0.14.7 v0.14.7 2018-03-30 23:02:37 +02:00
Andreas Schildbach
bf89367c6f WalletFiles: Getter for wallet that is managed. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
80783bce58 WalletFiles: Don't save any more if executor is shut down. 2018-03-30 23:02:23 +02:00
Daniel James
73fe9e6ab5 Block: Avoid NPE in hasTransactions()
Field is nullable;

```java
@Nullable List<Transaction> transactions;
```
2018-03-30 23:02:23 +02:00
Oscar Guindzberg
b6415663c9 Transaction: Limit initial size of inputs and outputs ArrayList. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
b036f102ca SPVBlockStoreTest: Add tests for file locking. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
1379b5c07d JavaDoc: Fix references. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
940bf4c1cd JavaDoc: Fix exception not thrown. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
e64bb748ae JavaDoc: Replace <code> with {@code}. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
43a254d6f3 JavaDoc: Fix dangling comments. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
dffc060edf JavaDoc: Remove unnecessary {@inheritDoc}. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
c1e85fccaf PeerSocketHandler: Fix JavaDoc warnings. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
45f1beba94 TransactionBroadcast: Propagate context to EnoughAvailablePeers runnable. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
3833031e1f Transaction: Fix a JavaDoc link. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
380980d291 PaymentSessionTest: Fix missing context. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
07e3f55b7d PaymentSessionTest: Ignore test that has a hardcoded expiration date. 2018-03-30 23:02:23 +02:00
Andreas Schildbach
8087554b18 Prepare 0.14.7-SNAPSHOT 2018-03-30 23:02:20 +02:00
Andreas Schildbach
631d9ddca1 Release 0.14.6 v0.14.6 2018-02-22 21:31:25 +01:00
Andreas Schildbach
470cda4ccf Transaction: Lower REFERENCE_DEFAULT_MIN_TX_FEE to 1000 and MIN_NONDUST_OUTPUT to 546.
These limits are still a thing these days both for relaying and mining transactions.
2018-02-22 21:31:25 +01:00
Andreas Schildbach
452cdb6215 Don't derive test classes from TestCase.
We have upgraded from JUnit 3 to JUnit 4 a while ago.
2018-02-22 21:31:25 +01:00
David Kingsbury
f5f97c7d94 MnemonicCode: Add null check for passphrase.
The null check is added due to a likely undesirable outcome when supplying a null passphrase.
If allowed, the salt will be "mnemonicnull", when one would expect only "mnemonic" due to the
following from BIP39 "If a passphrase is not present, an empty string "" is used instead."
2018-02-22 21:31:25 +01:00
Andreas Schildbach
335a8e9fd3 AddressTest: Fix cast. 2018-02-22 21:31:25 +01:00
harryge00
b559609f7b SendRequest example: Fix the print info. 2018-02-22 21:31:25 +01:00
Andreas Schildbach
cb35fb5ad9 Fix spelling in comments: heirarchy → hierarchy 2018-02-22 21:31:25 +01:00
Nicola Atzei
f1c53f3ac3 DumpedPrivateKey: Fix toBase58() for the case where the key is compressed. 2018-02-22 21:31:25 +01:00
Nicola Atzei
973c674198 ScriptBuilder: Fix minimal number encoding for -1. 2018-02-22 21:31:25 +01:00
Andreas Schildbach
9e7cb1c951 Basic support for version 2 transactions.
Rather than considering all version 2 transactions risky, we now look more closely if any of its
inputs has a relative lock time. We can't check the relative locks though, because we usually
don't have the spent outputs (to know when they were creted).
2018-02-22 21:31:25 +01:00
Andreas Schildbach
6ba1b95e4b .travis.yml: Continue using the Ubuntu Precise image for continuous integration builds.
This includes a workaround for an OpenJDK6 buffer overflow issue:
https://github.com/travis-ci/travis-ci/issues/5227
2018-02-22 21:23:38 +01:00
Andreas Schildbach
83453d9925 Prepare 0.14.6-SNAPSHOT 2018-02-22 18:06:16 +01:00
Andreas Schildbach
d6dce8bd3b Release 0.14.5 v0.14.5 2017-08-24 13:14:47 +02:00
Andreas Schildbach
981b451843 Refresh bundled checkpoints. 2017-08-24 13:14:47 +02:00
Andreas Schildbach
a355b05b2a Peer: Drop Bitcoin Cash peers early, based on service bit 5.
They will fail the difficulty check anyway.
2017-08-24 13:14:47 +02:00
Andreas Schildbach
bb3609b8c9 VersionMessage: Define service bits a bit differently. 2017-08-24 13:14:47 +02:00
Andreas Schildbach
ca149005ab Peer: Demote logging of alert messages to debug. They're not important any more now that they're deprecated. 2017-08-24 13:14:47 +02:00
Bas van Schaik
c1abf2b7f4 BuildCheckpoints: Fix possible resource leak. 2017-08-24 12:57:57 +02:00
Bas van Schaik
a20087eee3 HttpDiscovery: Fix resource leak as a result of unclosed GZIPInputStream. 2017-08-24 12:57:57 +02:00
Andreas Schildbach
5a08847e42 ECKey: Gender-neutralize a comment. 2017-08-24 12:57:57 +02:00
Nicola Atzei
c35d7da63a Script: Fix exception handling within isSentToMultiSig() method. 2017-08-24 12:57:57 +02:00
Andreas Schildbach
24b8f6771d Add mainnet and testnet seeds from Bloq. 2017-08-24 12:57:57 +02:00
Andreas Schildbach
50873b5ace Unit tests: Disable a nasty HotSpot optimization that causes exception messages and traces to go missing.
For more information, see http://jawspeak.com/2010/05/26/hotspot-caused-exceptions-to-lose-their-stack-traces-in-production-and-the-fix/
2017-08-24 12:57:57 +02:00
Gitju
4b95a8bdfa RegTestParams: MAX_TARGET to be created out of 64 hex digits 2017-08-24 12:57:57 +02:00
Andreas Schildbach
7f34eefca4 Transaction.SORT_TX_BY_HEIGHT: Use the Block.BLOCK_HEIGHT_UNKNOWN constant rather than -1. 2017-08-24 12:57:57 +02:00
Andreas Schildbach
479ad2a49b Transaction.SORT_TX_BY_HEIGHT: For transactions not 'building', use -1 height for sorting purposes. 2017-08-24 12:57:56 +02:00
Nicola
833c3cfe14 Script: Fix two exception messages. 2017-08-24 12:57:56 +02:00
Andreas Schildbach
8855b58b1e Transaction.toString(): Clearly state if script is missing. 2017-08-24 12:57:56 +02:00
Andreas Schildbach
a7efa3ac1d Transaction.toString(): Print incomplete transactions, too. 2017-08-24 12:57:56 +02:00
Andreas Schildbach
adec67eac2 Transaction.getFee(): Do not determine fee on incomplete transactions. 2017-08-24 12:57:56 +02:00
Thomas König
40bcc7fbc3 ScriptBuilder: Fix number encoding for 16. It must be encoded with smallNum(). 2017-08-22 15:16:39 +02:00
Andreas Schildbach
5e2e761d72 BIP32Test: New test vector, see https://github.com/bitcoin/bips/pull/497 2017-08-22 15:16:08 +02:00
Andreas Schildbach
f896205a87 PeerAddress: Fix a constructor was hardcoded to the mainnet port. 2017-08-22 15:15:44 +02:00