Commit Graph

2208 Commits

Author SHA1 Message Date
Andreas Schildbach
631d9ddca1 Release 0.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
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
83453d9925 Prepare 0.14.6-SNAPSHOT 2018-02-22 18:06:16 +01:00
Andreas Schildbach
d6dce8bd3b Release 0.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
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
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
Andreas Schildbach
92b9fdc72b Prepare 0.14.5-SNAPSHOT 2017-08-22 15:12:54 +02:00
Andreas Schildbach
08eede156c Release 0.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
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