Commit Graph

2836 Commits

Author SHA1 Message Date
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
Andreas Schildbach
2c546c357e Transaction: Update DEFAULT_TX_FEE. Fees have risen considerably. 2017-08-22 15:15:24 +02:00
Oscar Guindzberg
5d4f0274e1 Wallet: Adjust lastCalculatedSize comment. The 1000 byte boundary is no longer used. 2017-08-22 15:14:50 +02:00
Giuseppe Raveduto
9c2c86cee5 Fix SendRequest package in forwarding.js. 2017-08-22 15:14:21 +02:00
Andreas Schildbach
92b9fdc72b Prepare 0.14.5-SNAPSHOT 2017-08-22 15:12:54 +02:00
Andreas Schildbach
08eede156c Release 0.14.4 v0.14.4 2017-02-07 19:00:11 +01:00
Andreas Schildbach
5335f2b9bf Transaction: Print transaction version to toString(). 2017-02-07 19:00:11 +01:00
Andreas Schildbach
282fe38a9e WalletProtobufSerializer: Fix protobuf deserialization of transaction version. 2017-02-07 19:00:11 +01:00
Giuseppe Raveduto
302306d223 Fix the "TypeError: Java.extend needs at least one type argument" in the forwarding.js example (wrong package). 2017-02-07 19:00:11 +01:00
Andreas Schildbach
d5df55adb2 Update seeds for mainnet and testnet. Seeds are copied from Bitcoin Core 0.13.1. 2017-02-07 19:00:11 +01:00
Jarl Fransson
3f12cfdcce Improve exception logging for some general exception handlers. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
51f6b9b682 TransactionConfidence: Print source to toString(). 2017-02-07 19:00:11 +01:00
Andreas Schildbach
85fcd5101f Wallet.completeTx: Harmonize logging of requested and effective fee/fee rate. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
6ef991f234 Fiat: Fix comments. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
b6a6b2605c ECKey: If deriving the private keys fails in toString(), print the exception to the message rather than throwing. 2017-02-07 19:00:11 +01:00
ScripterRon
135d3c7f16 Catch AccessControlException in Secp256k1Context initialization 2017-02-07 19:00:11 +01:00
Jon Griffiths
7d48f7927f Fix the comment for PeerGroup.getPingIntervalMsec() 2017-02-07 19:00:11 +01:00
Andreas Schildbach
023e687580 Refresh bundled checkpoints. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
4dd3a3370b Always use utility method in KeyCrypterScrypt for determining the scrypt salt. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
80bdde5803 KeyCrypterScrypt: Bump up recommendation for number of iterations on mobile devices. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
3d642b9916 KeyCrypterScrypt: Log time taken for deriving key from password. 2017-02-07 19:00:10 +01:00
Andreas Schildbach
945d1bdb1d Add transaction confidence back to Wallet.toString().
When working with Wallet objects, you should use Context too.
2017-02-07 19:00:10 +01:00
Eric Winer
9a45159344 Transaction: Remove confidence (and Context requirement) from Transaction.toString() 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4b624b7198 Peer: Log fast catchup time and height of first block to pass it. 2017-02-07 19:00:10 +01:00
Andreas Schildbach
fcd04edeed Transaction: Print update time in toString(). 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4eaaebdef4 Wallet: In wallet transactions dump, reformat value line. 2017-02-07 19:00:10 +01:00
Andreas Schildbach
38b6a5e904 TransactionConfidence: Print lastBroadcastedAt in toString(). 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4d82e4d7c6 KeyCrypterScrypt: Print Scrypt iterations in toString(). 2017-02-07 19:00:10 +01:00
Andreas Schildbach
10f0990848 Clean up some line endings. 2017-02-07 19:00:10 +01:00
Oscar Guindzberg
25bd8d84c6 Disable retargeting for regtest 2017-02-07 19:00:10 +01:00
Andreas Schildbach
1befde31fd Prepare 0.14.4-SNAPSHOT 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4c04776105 Release 0.14.3 v0.14.3 2016-06-13 18:41:54 +02:00
Andreas Schildbach
1fbc33f85e Wallet: Fix precondition for transaction confidence of transactions in the pending pool. They can now also be IN_CONFLICT. 2016-06-13 18:38:41 +02:00
johnygeorge
5778794635 ScriptBuilder: Make OP_RETURN to allow 80 bytes.
Make OP_RETURN to allow 80 bytes instead of the previous 40 bytes.

This is to be consistent with the Bitcoin Core, which have made it back to 80 bytes.
2016-06-13 18:38:29 +02:00
Andreas Schildbach
c01cb2c42f Wallet.setTransactionBroadcaster(): Error message for precondition. 2016-06-13 18:38:02 +02:00
Andreas Schildbach
483eda4c65 Prepare 0.14.3-SNAPSHOT 2016-06-13 18:37:08 +02:00
Andreas Schildbach
d05e32f9bf Release 0.14.2 v0.14.2 2016-05-31 08:51:37 +02:00
Andreas Schildbach
56f0bcfec5 Peer: Change getVersionHandshakeFuture() return type back to ListenableFuture<Peer>. 2016-05-31 08:46:35 +02:00
Andreas Schildbach
a71da1b859 Fix wrong balance calculation if identical (apart from the index) outputs are involved.
This regression was triggered by a53b508049, though before that change it only worked by luck.
2016-05-31 08:46:29 +02:00
dcw312
0fb042b38f H2FullPrunedBlockStore: Fix issue #1260: the h2 prefix and params are prepended twice using this constructor. Only prepend when calling the super constructor. 2016-05-31 08:46:20 +02:00