Commit Graph

  • 1e58cdc4cf mark didn't really make a mark Mike Rosseel 2013-11-28 17:32:19 +01:00
  • 4eb792c74d Allow shutting down wallet auto-saving. Andreas Schildbach 2014-03-18 22:43:25 +01:00
  • cae096295f Initiliaze/assign sendResult. Prevents NullPointerException and app from crashing when sending money out. monk 2014-03-25 13:35:01 +01:00
  • de58cb0444 PaymentSession: extract names from S/MIME certificates as well as SSL certs. Mike Hearn 2014-03-23 18:47:17 +01:00
  • 1a15ae2f52 ECKey: fix bug where creation time was lost when encrypting/decrypting. Mike Hearn 2014-03-20 14:23:12 +01:00
  • 25c332a71b Include the hash160 of addresses in Wallet.toString(). This makes it easier to debug wallets just from the dump. Andreas Schildbach 2014-03-13 13:10:16 +01:00
  • e5677c2f53 Wallet: disallow adding of keys that don't match the wallet's encryption state. Mike Hearn 2014-03-17 16:30:57 +01:00
  • 9010b9a411 Remove incorrect execution of OP_0. That code was never reached, because OP_0 is not an opcode in terms of chunk.isOpCode()). However, it lead to believe that OP_0 pushes the vector [0], rather than correctly the empty vector to the stack. Andreas Schildbach 2014-03-10 09:31:48 +01:00
  • 74cf34db82 Add script test to prove that OP_0 evaluates as the empty vector, rather than [0]. Also adds debug output in case an script_invalid.json test fails. Andreas Schildbach 2014-03-10 23:14:21 +01:00
  • 16aeea9104 Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing. Mike Hearn 2014-03-10 17:36:32 +01:00
  • 8fc63e482e Hex dump pending transactions that double spend each other. Mike Hearn 2014-03-10 14:08:38 +01:00
  • 9592f25ba1 Fix method name in SendRequest.aesKey javadoc. Andreas Schildbach 2014-03-09 19:13:48 +01:00
  • afff0f701d added path to files on the Mac Diego Basch 2014-03-07 20:19:18 -08:00
  • 38e103feea Print available balance in Wallet.toString(), rather than the redundant number of Satoshis. Andreas Schildbach 2014-02-28 13:47:40 +01:00
  • b3e6a23f0e Update BIP URLs to new github repo Peter Todd 2014-03-02 15:01:44 -05:00
  • fd6ceac30c Fix crash in case wallet is so inconsistent that even .toString() fails. Andreas Schildbach 2014-02-15 09:59:46 +01:00
  • 112f6ab624 Prepare 0.11.2-SNAPSHOT Andreas Schildbach 2014-04-18 14:25:42 +02:00
  • 2708df58b3 Adjust MIN_NONDUST_OUTPUT down to 546 only for risk analysis. This is required because we start seeing more and more transactions using the new fee rules introduced with Bitcoin Core 0.9. Andreas Schildbach 2014-04-18 11:51:15 +02:00
  • 5c8cf6bc38 Deprecate Script.isSentToP2SH() as it did the same thing as isPayToScriptHash. Mike Hearn 2014-04-15 17:28:55 +02:00
  • 0942bb57b5 Add a double spending test program Mike Hearn 2014-04-15 13:35:11 +02:00
  • f19741d2ab Add a toString for reject messages. Mike Hearn 2014-04-15 13:34:18 +02:00
  • d2def04a00 WalletTool fix for Guava 16 changes. Mike Hearn 2014-04-15 13:33:59 +02:00
  • 74d611218b Add (de)serialization support for reject messages. Matt Corallo 2013-12-17 21:55:37 -05:00
  • 843fa633f3 Re-add verifyPki method to PaymentSession to avoid needless API churn. Mike Hearn 2014-04-14 17:05:29 +02:00
  • 81f62db0e9 Move BIP71 MIME types to PaymentProtocol class. Andreas Schildbach 2014-04-13 15:16:05 +02:00
  • 40d60306fa Unit tests for signing and verifying both valid and expired payment requests. Andreas Schildbach 2014-04-13 11:08:00 +02:00
  • c6b215d79c Add signing of payment requests to PaymentProtocol class. Andreas Schildbach 2014-04-12 17:26:48 +02:00
  • 4502c40e59 Move verification of payment requests into new PaymentProtocol class. Andreas Schildbach 2014-04-12 16:44:36 +02:00
  • dfc5104d31 Rename tool for the payment protocol. It was not obvious from the name that it has a main method. Andreas Schildbach 2014-04-13 13:38:14 +02:00
  • f13c437a54 Fix X509UtilsTest ended up in wrong package. Andreas Schildbach 2014-04-13 17:20:52 +02:00
  • 188cf6081d Add support for creating multisig inputs scripts that redeem P2SH outputs Jakob Stuber 2014-04-10 22:48:41 -05:00
  • eda6dccf6d Fix compatibility with Java 6. Mike Hearn 2014-04-08 17:23:51 +02:00
  • 2379effd63 ECKey: switch away from the deprecated DERInteger class. Mike Hearn 2014-04-08 17:17:22 +02:00
  • 6087e43377 Upgrade to Guava 16.0.1. Andreas Schildbach 2014-04-06 15:54:17 +02:00
  • 9a54a7753d Add Peter Dettman to the AUTHORS file. Mike Hearn 2014-04-08 16:28:50 +02:00
  • feba332e6e Upgrade to Bouncy Castle 1.50. Patch from Peter Dettman. Resolves issue 497. Mike Hearn 2014-04-08 16:28:03 +02:00
  • e372aa4430 Implement equals/hashCode for ECDSA/TransactionSignature, and make them immutable. Mike Hearn 2014-04-07 18:41:40 +02:00
  • fbf700391f TransactionInput: verify(): don't crash if the given output has no parent. Clears a static analysis warning. Mike Hearn 2014-04-07 18:16:34 +02:00
  • 782edd8ea8 TransactionOutput: add equals/hashcode/duplicateDetached methods. Mike Hearn 2014-04-07 17:41:04 +02:00
  • af07acd1b6 Payment protocol: add PaymentSession.getNetworkParameters method. Mike Hearn 2014-04-07 14:58:55 +02:00
  • 8e61a2027f Move X509Utils/TrustStoreLoader, add JavaDocs, and add back a parameter to allow location data to be included in the display name. Mike Hearn 2014-04-07 13:21:23 +02:00
  • 6f4315ed4d Extract loading of X.509 trust stores to TrustStoreLoader. Andreas Schildbach 2014-03-30 11:53:25 +02:00
  • e7eec49671 Extract getDisplayNameFromCertificate() into new X509Utils class. Also joins PkiVerificationData.name and .orgName into one .displayName. Adds tests using client/smime certificates of mine. Andreas Schildbach 2014-03-29 14:44:34 +01:00
  • e640d1eec3 Cheap test to see if an input stream is a wallet. Andreas Schildbach 2014-04-05 23:07:01 +02:00
  • 918ceb8f55 Fix unit test broken by less aggressive backoff time. Mike Hearn 2014-04-04 15:23:56 +02:00
  • 150e9fb7df More mock clock conversions, to avoid failures when running test cases independently. Mike Hearn 2014-04-04 15:06:45 +02:00
  • 272ee434c0 Consistently mark parent as nullable in TransactionOutput Mike Hearn 2014-04-03 16:26:43 +02:00
  • f9e1b1e9e6 PeerGroup: tweak global backoff to be faster. Mike Hearn 2014-04-01 16:53:00 +02:00
  • 8392a5590a WalletTool: automatically use localhost in regtest mode. Mike Hearn 2014-04-01 16:48:01 +02:00
  • a2afe470c2 PeerGroup: bugfixes to backoff. Mike Hearn 2014-04-01 16:47:51 +02:00
  • f05d3d0c2c Add Mora Zyx to AUTHORS list. Mike Hearn 2014-03-29 14:42:10 +01:00
  • b720a868a7 Replace usages of currentTimeMillis where result is / 1000 with currentTimeSeconds Mora Zyx 2014-03-27 16:17:45 +01:00
  • 2cbdf324ab Fix race of mock clock with current time if tests are all run sequentially. This commit requires you to use one of the setMockClock() variants before being able to roll it. Andreas Schildbach 2014-03-29 10:26:57 +01:00
  • 1b0954a84a In Transaction.toString(): For outpoints, show the pubkey-hash of the connected output (if available). This makes it easier to debug wallets. Andreas Schildbach 2014-03-13 13:53:58 +01:00
  • 6c5e1344ba Add a Utils.currentTimeSeconds method with a TODO to convert other usages over Mike Hearn 2014-03-26 20:05:26 +01:00
  • a31010b379 BloomFilter: javadoc updates Mike Hearn 2014-03-26 20:04:32 +01:00
  • a22cc7f698 mark didn't really make a mark Mike Rosseel 2013-11-28 17:32:19 +01:00
  • b303d77029 Allow shutting down wallet auto-saving. Andreas Schildbach 2014-03-18 22:43:25 +01:00
  • 7ffe2a6360 Initiliaze/assign sendResult. Prevents NullPointerException and app from crashing when sending money out. monk 2014-03-25 13:35:01 +01:00
  • 0ed260bae2 Payment protocol: misc enhancements. Mike Hearn 2014-03-23 19:21:42 +01:00
  • feecc8f486 PaymentSession: extract names from S/MIME certificates as well as SSL certs. Mike Hearn 2014-03-23 18:47:17 +01:00
  • 822c9011b2 ECKey: fix bug where creation time was lost when encrypting/decrypting. Mike Hearn 2014-03-20 14:23:12 +01:00
  • e397928ec3 ECKey: preserve compression state when deserializing from ASN.1. Mike Hearn 2014-03-17 17:42:56 +01:00
  • f27558bcd2 Include the hash160 of addresses in Wallet.toString(). This makes it easier to debug wallets just from the dump. Andreas Schildbach 2014-03-13 13:10:16 +01:00
  • a49f643cdc Wallet: disallow adding of keys that don't match the wallet's encryption state. Mike Hearn 2014-03-17 16:30:57 +01:00
  • 22f5e45811 Remove incorrect execution of OP_0. That code was never reached, because OP_0 is not an opcode in terms of chunk.isOpCode()). However, it lead to believe that OP_0 pushes the vector [0], rather than correctly the empty vector to the stack. Andreas Schildbach 2014-03-10 09:31:48 +01:00
  • b17533f8fb Add script test to prove that OP_0 evaluates as the empty vector, rather than [0]. Also adds debug output in case an script_invalid.json test fails. Andreas Schildbach 2014-03-10 23:14:21 +01:00
  • b6149bfa48 Adjust user thread queue size warning. Mike Hearn 2014-03-12 14:44:26 +01:00
  • 829656b153 Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing. Mike Hearn 2014-03-10 17:36:32 +01:00
  • 8229daf38d BIP-0039: just adapt number of rounds and test vectors Pavol Rusnak 2014-02-04 18:08:44 +01:00
  • aa499dfaf8 Revert "BIP-0039 multiple version support." Pavol Rusnak 2014-02-04 18:06:31 +01:00
  • 5226cdc6fc Hex dump pending transactions that double spend each other. Mike Hearn 2014-03-10 14:08:38 +01:00
  • 85d8145924 Add convenience constructor to KeyCrypterScrypt to allow setting the number of scrypt iterations. The default of 16384 is not usable on mobile devices. Andreas Schildbach 2014-03-09 20:58:56 +01:00
  • 4f8867c58e Fix method name in SendRequest.aesKey javadoc. Andreas Schildbach 2014-03-09 19:13:48 +01:00
  • fac6c6fabe added path to files on the Mac Diego Basch 2014-03-07 20:19:18 -08:00
  • 2df74e97dc Update checkpoint sanity for mainnet and testnet. Andreas Schildbach 2014-03-05 17:27:26 +01:00
  • 0ff1ce73a7 Extract constants to top of BuildCheckpoints. This makes it easier to switch between networks. Andreas Schildbach 2014-03-05 15:34:05 +01:00
  • 71ee048d1e Print available balance in Wallet.toString(), rather than the redundant number of Satoshis. Andreas Schildbach 2014-02-28 13:47:40 +01:00
  • 8fdfb04e43 Update SLF4J to version 1.7.6. Previously, inconsistent versions were used between sub-projects. All unit-tests pass. Andreas Schildbach 2014-02-10 14:57:12 +01:00
  • 60199f810a Build a bundled JAR for the core in parallel to the normal unbundled JAR. Helps people who don't use Maven for some reason, like Jython/JRuby users. Mike Hearn 2014-02-07 10:23:30 +01:00
  • 5a8b99b64d Update BIP URLs to new github repo Peter Todd 2014-03-02 15:01:44 -05:00
  • e0153a9bf0 Go back to java 6 for tools. Mike Hearn 2014-02-28 13:58:28 +01:00
  • 6025571350 Some minor no-op tweaks to DefaultRiskAnalysis. Mike Hearn 2014-02-25 18:09:49 +01:00
  • 4eb6bdad88 Add StartCom certificate to the included roots. Resolves issue 515. Mike Hearn 2014-02-23 18:40:18 +01:00
  • d772244dc9 Fix crash in case wallet is so inconsistent that even .toString() fails. Andreas Schildbach 2014-02-15 09:59:46 +01:00
  • 95abd140f0 Release 0.11.1 v0.11.1 Andreas Schildbach 2014-02-23 13:34:40 +01:00
  • e783895dd3 PeerGroup: fix a regression that stopped Bloom filters being sent when a key is added, and add a unit test covering that behaviour. Mike Hearn 2014-02-23 13:12:26 +01:00
  • b52faae013 PeerGroup: fix a regression that stopped Bloom filters being sent when a key is added, and add a unit test covering that behaviour. Mike Hearn 2014-02-23 13:12:26 +01:00
  • cc89cd0d16 Don't throw just because the name of the CA cannot be determined. Andreas Schildbach 2014-02-21 16:06:12 +01:00
  • 249df81e5d Don't throw just because the name of the CA cannot be determined. Andreas Schildbach 2014-02-21 16:06:12 +01:00
  • 28a5d8abbc Fix handling of defaults when parsing the payment message. Bitpay is leaving out the payment details version which was handled incorrectly. Adds a testcase for the defaults. Andreas Schildbach 2014-02-13 20:21:36 +01:00
  • 3ffcce49f9 PaymentSession: some bug fixes and new accessors. Mike Hearn 2014-02-21 16:53:30 +05:30
  • 295e8a154d Fix handling of defaults when parsing the payment message. Bitpay is leaving out the payment details version which was handled incorrectly. Adds a testcase for the defaults. Andreas Schildbach 2014-02-13 20:21:36 +01:00
  • 4409891da1 Build a bundled JAR for the core in parallel to the normal unbundled JAR. Helps people who don't use Maven for some reason, like Jython/JRuby users. Mike Hearn 2014-02-07 10:23:30 +01:00
  • 6a9973e2c5 Add a tool to dump payment protocol requests to stdout. Mike Hearn 2014-02-21 16:53:43 +05:30
  • 0a2f7268dc PaymentSession: some bug fixes and new accessors. Mike Hearn 2014-02-21 16:53:30 +05:30
  • ce61bd211d Wallet: recursively kill transactions that depend on dead transactions. Mike Hearn 2014-02-20 21:57:25 +05:30
  • 51c0f283e2 PaymentSession: javadoc formatting. Mike Hearn 2014-02-10 13:14:48 +01:00
  • f581a53aa0 Add method to clean up the wallet. Andreas Schildbach 2014-02-16 11:42:35 +01:00
  • a5bc2f3794 Add isStandard risk analysis. Matt Corallo 2014-02-12 07:02:51 -05:00