Commit Graph

2558 Commits

Author SHA1 Message Date
Andreas Schildbach
ce4e3a5d99 Release 0.13.5 v0.13.5 2016-02-27 19:07:16 +01:00
Andreas Schildbach
da8b298b85 Tell Travis we don't need sudo so we can run on a more modern build infrastructure. 2016-02-27 19:07:16 +01:00
Andreas Schildbach
507751aacc Don't print log to console if tests are run by Maven.
It got too large for Travis. If you need the log, you can run the failing test locally, e.g. in your IDE.
2016-02-27 18:46:31 +01:00
Andreas Schildbach
e452370078 Print transaction fee per kilobyte besides total fee in wallet dump. 2016-02-27 16:12:58 +01:00
Andreas Schildbach
9d088311bd Again reword a happy connect log message. Receiving the remote version message doesn't mean we're connected. 2016-02-27 16:12:25 +01:00
Andreas Schildbach
ba83dd348f Make socket connect log message sound a bit less happy. We still need to handshake for a 'successful' connection. 2016-02-27 16:07:23 +01:00
Andreas Schildbach
eefd513e84 Wallet.isConsistentOrThrow(): New variant of .isConsistent() that throws an exception describing the inconsistency. 2016-02-23 14:08:58 +01:00
Andreas Schildbach
d27ca30516 WalletTool: Fix failing precondition on actions that don't start the PeerGroup. 2016-02-19 21:58:12 +01:00
Will Shackleton
a0497bda34 Added broadcast multisig contract to wallet bloom filter. Fixes #1181 2016-02-19 21:54:33 +01:00
Andreas Schildbach
99e5ffb206 Peer: Fix a doc reference to Google Code. 2016-02-19 21:53:42 +01:00
Andreas Schildbach
a712dbeb24 Fix a few max coins checks.
This is largely esoteric, but was brought up by https://github.com/schildbach/bitcoin-wallet/issues/299.
2016-02-08 00:31:42 +01:00
Andreas Schildbach
c51758334f Limit heap size of unit tests to 1 GB.
Travis was upset.
2016-02-08 00:31:42 +01:00
Andreas Schildbach
7bf8017c1e DefaultRiskAnalysis: Consider transactions that opt into replace-by-fee at risk for double spending. 2016-02-08 00:31:42 +01:00
Andreas Schildbach
30f9483ca3 Be aware of opt-in full replace-by-fee. 2016-02-08 00:31:42 +01:00
Andreas Schildbach
02b1e29b93 Remove comments about sequence numbers being disabled.
As of Bitcoin Core 0.12, sequence numbers are used for the infamous opt-in full replace-by-fee feature.
2016-02-08 00:31:42 +01:00
Jameson Lopp
9f5ab1556a Don't throw away orphan block transactions before they are sent to listeners, even in SPV mode. 2016-02-08 00:31:42 +01:00
Will Shackleton
efe7e7cba6 Set the connection channel in PaymentChannelServerListener 2016-02-08 00:31:41 +01:00
Andreas Schildbach
8fd9b6480f BIP38PrivateKey: Early check for NetworkParameters not null. 2016-02-08 00:31:41 +01:00
Andreas Schildbach
61594c18fe Don't print transaction purposes twice in wallet dump. 2016-02-08 00:31:41 +01:00
Andreas Schildbach
6789135562 Always use US locale when formatting debug strings. 2016-02-08 00:31:41 +01:00
Andreas Schildbach
3c12fe9755 Coin: Remove chain-specific coin limit. Add some checks for arithmetic over/underflows instead. 2016-02-08 00:31:11 +01:00
Mike Hearn
79d2488f01 DeterministicKey: throw a KeyCrypterException instead of an IllegalStateException if the derivation check fails (as this can happen when the password is wrong) 2016-01-16 11:19:48 +01:00
Andreas Schildbach
6ce2c58712 Prepare 0.13.5-SNAPSHOT 2016-01-16 11:19:21 +01:00
Andreas Schildbach
f8f9e9cda4 Release 0.13.4 v0.13.4 2015-12-20 15:13:52 +01:00
Andreas Schildbach
c34b47e148 Print transaction purpose in toString(). 2015-12-20 09:59:19 +01:00
Jameson Lopp
a343728440 Print block hash in debug log message for unconnectable orphan. 2015-12-20 09:53:16 +01:00
Kirill Vlasov
2969be2ad7 PeerGroup: Closing streams and sockets where necessary 2015-12-13 20:38:21 +01:00
Andreas Schildbach
8a7aa1ef0d Set minimum fee to 5000 satoshis and dust limit to 2730 satoshis. This matches Bitcoin Core 0.11.1. 2015-12-13 20:37:47 +01:00
Kirill Vlasov
b57a86f9be "@Override" annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one. 2015-12-13 20:37:06 +01:00
Andreas Schildbach
e19297ab2a When testing for specific network, use network ID. 2015-12-13 20:36:14 +01:00
Andreas Schildbach
f48f17bf46 TransactionInput: Don't misuse NO_SEQUENCE constant for indicating an unconnected input. 2015-12-13 20:36:14 +01:00
Andreas Schildbach
4bf1bfd93a Add precondition message to Wallet.setKeyRotationTime(). 2015-12-13 20:36:14 +01:00
Andreas Schildbach
1cb9002c2d Block: Fix missing linefeed after hash in toString(). 2015-12-13 20:36:13 +01:00
Will Shackleton
c1cb39d3c4 Script: Fix behaviour of OP_0 to not NullPointerException. 2015-12-13 20:35:56 +01:00
Andreas Schildbach
cd33f5ede6 DefaultRiskAnalysis.MIN_ANALYSIS_NONDUST_OUTPUT: Re-use existing constant and update comment. 2015-12-13 20:28:44 +01:00
Andreas Schildbach
bd46eb028c Block: Print hash in toString(). 2015-12-13 20:26:39 +01:00
Andreas Schildbach
9d82642a93 Block: Add convenience methods for BIP conformance (BIP34, BIP66, BIP65). Also list BIPs in Block.toString(). 2015-12-13 20:25:47 +01:00
Andreas Schildbach
c6873443b5 Don't add timestamps to JavaDoc.
It's pretty useless and it stands in the way of reproducible builds.
2015-12-13 19:57:40 +01:00
Andreas Schildbach
680ebe51b0 Make peer discovery timeout configurable. Add milliseconds to error message if timeout kicks in. 2015-10-21 22:09:27 +02:00
Ross Nicoll
922a013142 Correct length of block header when hashing at an offset 2015-10-21 22:04:20 +02:00
Marc-André Tremblay
000564923f Fix how key depth is determined.
The way it was previously done before did not allow to properly derive keys which had their position concealed in the hierarchy.

Signed-off-by: Marc-André Tremblay <marcandre.tr@gmail.com>
2015-10-21 22:01:05 +02:00
Kalpesh Parmar
4c0f6d48dc Database (stores MySQL/Postgres/H2) column names/objects lower case consistency fix. 2015-10-21 21:57:38 +02:00
Andreas Schildbach
d2f44eab31 Prepare 0.13.4-SNAPSHOT 2015-10-21 21:55:02 +02:00
Andreas Schildbach
0c10730d7f Release 0.13.3 v0.13.3 2015-10-18 11:57:09 +02:00
Andreas Schildbach
886c938d51 Make transactions with signatures with "high" S component violate the "canonical encoding" rule.
This makes those transactions non-standard and risky. By default, they will not be accepted into wallets unless confirmed by the block chain.
2015-10-16 16:13:14 +02:00
Andreas Schildbach
3f12916f92 Wallet: Fix printing the same transaction twice when two pending transactions double spend each other are seen. 2015-10-15 11:08:13 +02:00
Glenn Marien
2e4bc81919 Fixed imported keys not being passed onto UTXOProvider 2015-10-15 11:05:48 +02:00
Andreas Schildbach
172c58a9a6 Don't add Maven descriptor to build artifacts.
It's pretty useless and it stands in the way of reproducible builds.
2015-10-15 11:03:09 +02:00
Mike Hearn
a6380ea3d7 Fix thread safety issue when creating multiple wallets in parallel. 2015-10-15 11:02:46 +02:00
Andreas Schildbach
c0014078c5 WalletProtobufSerializer: Rethrow IllegalArgumentException when loading wallets. 2015-10-15 11:02:27 +02:00