Commit Graph

  • 00d1821daa Fix Orchid deadlock 1 Devrandom 2014-08-22 11:15:27 -07:00
  • 46104903fb WalletAppKit: delete dead store. Mike Hearn 2014-08-23 21:20:14 +02:00
  • 03c8cf5927 Wallet: ban usage of wallet.importKey with deterministic keys. Mike Hearn 2014-08-23 20:39:55 +02:00
  • fcdd0115c4 Slightly clearer comment and log message in Script.executeCheckSig. Mike Hearn 2014-08-23 13:11:27 +02:00
  • 729c716b18 WalletTest: pin creation time of wallet key hierarchy in keyRotationHD test to avoid timing race. Should resolve issue 575. Mike Hearn 2014-08-23 13:11:05 +02:00
  • df006ba2ba Add wallettemplate sub-project to CI build. Andreas Schildbach 2014-08-22 23:47:31 +02:00
  • 9546a13870 Fix spelling UTXOS -> UTXOs. Andreas Schildbach 2014-08-22 23:43:01 +02:00
  • c8c30f8ec1 Add my testnet DNS seed. It runs sipas crawler, but rather than using its custom nameserver implementation it serves a generated zonefile via bind9. Andreas Schildbach 2014-08-22 00:15:12 +02:00
  • 8e5ab9356c Introduce Fiat as a holder for fiat values. Coin and Fiat share an interface Monetary so that monetary infrastructure can be re-used. Andreas Schildbach 2014-07-19 17:58:36 +02:00
  • 6deba7be92 During CI builds, make Maven output less clutter. Andreas Schildbach 2014-08-21 14:32:16 +02:00
  • 664d0b130c Make WalletTool compile again. Mike Hearn 2014-08-21 13:57:44 +02:00
  • 483b3bbc9b When a wallet is added to a block chain that has a lower block height than the chain, try to repair. Andreas Schildbach 2014-08-16 17:45:16 +02:00
  • d8944b922f Make LocalTransactionSigner to sign P2SH inputs. Kosta Korenkov 2014-08-13 22:19:59 +07:00
  • b8e84ecdc7 Fix 100% CPU bug by clearing OP_CONNECT on connected key Matt Corallo 2014-08-18 22:03:11 +00:00
  • ecd6afc7b7 Fix null getNewParser (again, and add test this time) Matt Corallo 2014-08-18 14:10:49 -07:00
  • 60c215b161 Configure IRC notifications for Travis CI. Messages will go to #bitcoinj. Andreas Schildbach 2014-08-18 10:29:19 +02:00
  • ff52164921 Stop overwriting OP_WRITE when writing in ConnectionHandler c'tor Matt Corallo 2014-08-18 05:06:00 +00:00
  • 189605374c Configure continuous integration using Travis CI. Andreas Schildbach 2014-08-17 23:24:57 +02:00
  • d3003622f2 Handle getting a null from getNewParser gracefully Matt Corallo 2014-08-17 21:20:46 +00:00
  • e2dbd2a3f7 Fix DeterministicKeyChainTest failing on Windows Kosta Korenkov 2014-08-17 01:07:55 +07:00
  • 4834fe6eb6 Remove TransactionConfidence.workDone. It doesn't seem useful and was somehow buggy. Andreas Schildbach 2014-08-15 21:06:40 +02:00
  • 9f8e09c5b4 HDUtils: less insistence on immutable params Mike Hearn 2014-08-15 18:46:19 +02:00
  • 1b92abe294 HDW: Add an AUTHENTICATION key purpose that's mapped to the internal chain. Mike Hearn 2014-08-15 18:22:57 +02:00
  • f00aef2048 HDW: Add a getKeyByPath() method to wallet, and (experimental) sanity check precomputed keys before they're returned by the wallet API to guard against the potential of a bitflip in either the stored pubkey bytes, or the ECC precomputed tables. The chance of such a bit flip is small but such flips HAVE been seen in the wild against other bitcoin implementations, so it could happen to a bitcoinj user too. The consequences can be catastrophic (destroyed money) so best to try and do what we can. Mike Hearn 2014-08-15 18:06:06 +02:00
  • f8bc4d544e HDW: Create/activate a new HD chain when a wallet is constructed if the passed KeyChainGroup is empty. This means you can back up a wallet immediately after construction even before you request a key. Thanks to Andreas for the suggestion. Mike Hearn 2014-08-15 14:53:31 +02:00
  • e893894f50 Make RedeemData to sort keys. Kosta Korenkov 2014-08-15 11:35:15 +07:00
  • 7ec75b3483 Fix typo in comment. Mike Hearn 2014-08-13 16:11:13 +02:00
  • 014438b456 Take out the redundant SigHashType parameter to wallet.signTransaction. Mike Hearn 2014-08-13 14:57:43 +02:00
  • c1e79b442c Fix some thread safety issues with Bloom filtering. Mike Hearn 2014-08-13 14:55:54 +02:00
  • e1f270f726 Revert "PeerFilterProvider methods are called with the lock already held, so just assert on that instead of locking again." Mike Hearn 2014-08-13 14:47:15 +02:00
  • 1ba5909687 Add method to derive new keys when queried by path Kosta Korenkov 2014-07-25 01:31:31 +04:00
  • e888807dfd PeerFilterProvider methods are called with the lock already held, so just assert on that instead of locking again. Mike Hearn 2014-08-12 18:32:51 +02:00
  • f6b2fa5a2b Pluggable signers: simple local KeyBag signer Kosta Korenkov 2014-06-29 17:54:14 +04:00
  • 4a9295ccde Fix duplicateDetached Mike Hearn 2014-08-12 16:32:52 +02:00
  • a30cdfed0c Eliminate the duplicated parentTransaction field from TransactionInput/Output. Mike Hearn 2014-08-12 15:44:59 +02:00
  • 20447bc340 Fix error when using Block.verify() after the Block constructor Matt Corallo 2014-08-11 15:26:11 -07:00
  • 5220fb5141 Hide some fields in PartialMerkleTree Mike Hearn 2014-08-11 19:21:25 +02:00
  • 19b73600c8 Remove comment. I could not find any divergence in the getResourceAsStream error handling. Andreas Schildbach 2014-08-06 18:40:07 +02:00
  • fe91dc9110 Payment channel extension should be able to be initialized in two steps: ollekullberg 2014-08-11 12:23:36 +02:00
  • 90492b61f7 Change printed format of the wallet to be less verbose and make wallet-tool not dump privkeys by default. Mike Hearn 2014-08-11 18:19:24 +02:00
  • e8ba287029 HD wallets: experimental change to not trigger full lookahead when deriving keys. This allows a savvy app to get keys/addresses at startup fast, if they do so before starting up the peergroup (which wants all keys in the zone so it can calculate a Bloom filter). May be reverted if it causes trouble. Mike Hearn 2014-08-11 17:53:33 +02:00
  • d824666c2f HD Wallets: fix a lookahead bug. Mike Hearn 2014-08-11 16:37:31 +02:00
  • 54a543bf77 HDW: Fix the case of wallet upgrades where the aesKey is provided. Mike Hearn 2014-08-11 15:03:07 +02:00
  • 00a276f906 HDW: Simplify an unusual for loop in DKC Mike Hearn 2014-08-11 14:17:21 +02:00
  • 53aa33c2e8 HDW: Clear some static analysis warnings from DKC. Mike Hearn 2014-08-11 14:15:06 +02:00
  • 0d2fb93536 Introduce MultisigKeyBag to expose P2SH redeem data Kosta Korenkov 2014-08-04 19:44:08 +04:00
  • 588e314b06 Fix failed precondition in maybeLookaheadScripts Devrandom 2014-08-10 16:34:41 -07:00
  • 2d3bfc07c7 Fix issue with deserialization and currentAddresses Devrandom 2014-08-10 16:23:08 -07:00
  • a3ced5fe5d Consistently use version 2.8 of maven-dependency-plugin. Andreas Schildbach 2014-08-08 15:42:03 +02:00
  • 165b0cfbf7 Consistently use version 2.6 of cobertura-maven-plugin. Andreas Schildbach 2014-08-08 15:36:45 +02:00
  • 4eabf08250 Consistently use version 2.12.4 of maven-surefire-plugin. Andreas Schildbach 2014-08-08 15:34:11 +02:00
  • fd4ec21dcc Consistently use version 2.1.2 of maven-source-plugin. Andreas Schildbach 2014-08-08 15:30:06 +02:00
  • a5042222ac Consistently use version 3.3 of maven-site-plugin. Andreas Schildbach 2014-08-08 15:27:11 +02:00
  • 415e43885c Consistently use version 2.3 of maven-shade-plugin. Andreas Schildbach 2014-08-08 15:25:21 +02:00
  • 31ea0f406b Consistently use version 2.6 of maven-resources-plugin. Andreas Schildbach 2014-08-08 15:17:10 +02:00
  • 8e24ee865f Update to and consistently use version 2.5 of maven-jar-plugin. Andreas Schildbach 2014-08-08 15:15:30 +02:00
  • 80e2d46ed0 Update to and consistently use version 2.5.1 of maven-install-plugin. Andreas Schildbach 2014-08-08 15:08:46 +02:00
  • 43a6a60bea Consistently use version 1.2 of maven-enforcer-plugin. Andreas Schildbach 2014-08-08 15:03:16 +02:00
  • e3dca2a268 Consistently use version 2.7 of maven-deploy-plugin. Andreas Schildbach 2014-08-08 15:01:32 +02:00
  • 2324edd03e Consistently use version 3.1 of maven-compiler-plugin. Andreas Schildbach 2014-08-08 14:48:25 +02:00
  • 99ca1c497f Consistently use version 2.5 of maven-clean-plugin. Andreas Schildbach 2014-08-08 14:54:11 +02:00
  • 549f228d29 Assume wordlist will be 2048 words in size. Andreas Schildbach 2014-08-06 18:56:13 +02:00
  • 761b06fb8a Fix handling of mnemonic class resource not found. It was falsely assumed that Class.getResourceAsStream() would throw. Andreas Schildbach 2014-08-06 18:40:07 +02:00
  • 32a5ed3f21 Don't roll back progress measurement when download peer changes in DownloadListener. Mike Hearn 2014-08-06 19:04:28 +02:00
  • b7a83f960c Another Tor typo fix. Mike Hearn 2014-08-06 19:03:03 +02:00
  • 249d547ee3 Check for loading wallet of wrong params in deserializer (in another way so people who use the API at a lower level also get checked) Mike Hearn 2014-08-06 18:21:31 +02:00
  • 925338b4fc Bump Tor timeout to 60 seconds. Mike Hearn 2014-08-06 18:21:08 +02:00
  • 8dbdb0a6f3 Orchid: fix typo in init string Mike Hearn 2014-08-06 18:00:40 +02:00
  • 4ae6349f35 Fix for Android ART vs Dalvik difference. Mike Hearn 2014-08-06 16:40:13 +02:00
  • e41e0c4a1d Allow usage of signMessage for deterministic keys. Mike Hearn 2014-08-06 16:26:48 +02:00
  • c3cef3b917 WalletTemplate: New sync UI using the notification bar system. Wire up Tor initialisation so startup is less boring to look at. Mike Hearn 2014-08-06 16:13:04 +02:00
  • 047c5ccd03 WalletAppKit: configure Orchid/Tor to use the same directory as bitcoinj uses. Mike Hearn 2014-08-06 16:12:41 +02:00
  • 694b07ccd6 WalletTemplate: Move sync progress to BitcoinUIModel. Backport some more UI code from Lighthouse in preparation for a better sync progress bar. Mike Hearn 2014-08-06 14:17:49 +02:00
  • 7338d530a1 WalletTemplate: rename Controller to MainController Mike Hearn 2014-08-06 13:53:42 +02:00
  • 96e4774e79 Add support for fetching UTXOs from a peer using the getutxo message. Mike Hearn 2014-07-23 15:53:34 +02:00
  • bca2f2abac Make Wallet.queue* methods protected so subclasses can call them. Mike Hearn 2014-08-06 13:43:31 +02:00
  • acd06518f0 Scene Builder 2.0 is now out so remove comment about it. Mike Hearn 2014-08-06 13:43:17 +02:00
  • 5cfdca1c98 Add ability to create scriptSigs with empty signatures Kosta Korenkov 2014-08-05 19:18:45 +04:00
  • bc97cf977f Handle creation of non existing parent directories. Improve exception message. Martin Zachrison 2014-08-05 17:36:04 +02:00
  • 0a7fdf35ba Add some junk to the POM to create a dedicated bundled JAR for the pull tester. Mike Hearn 2014-08-05 16:48:58 +02:00
  • 6778a51d45 Create a lightly optimised, dedicated JAR for wallet-tool instead of the oddly named bitcoinj-tools-0.12.jar Mike Hearn 2014-08-05 15:42:29 +02:00
  • 918665a6e4 Work done can never be negative. Assert for that fact, because we've seen negative values in the wild. Andreas Schildbach 2014-08-04 12:22:14 +02:00
  • fa3037a4b2 Fix KeyChainGroup.toString double keys output Kosta Korenkov 2014-08-05 01:41:04 +04:00
  • 299879c418 Allow fallback URLs for BIP72 payment request fetching. Adds unit tests. Andreas Schildbach 2014-07-24 09:35:33 +02:00
  • e03f184a1f PaymentProtocol: fix seconds vs milliseconds confusion. Thanks to Adam Mackler for the bug report. Mike Hearn 2014-08-03 21:06:15 +02:00
  • eff9ac2ecc Support for bundling an optional info Protobuf ByteString with a PaymentAck message cyberzac 2014-07-31 10:24:38 +02:00
  • f1dd47443f More hashes for the dependency verifier, also request version divergence detection. Bump JSR350 jar version. Mike Hearn 2014-08-03 20:52:22 +02:00
  • fe6f5aff01 Payment channels: ByteString.EMPTY -> null Mike Hearn 2014-07-31 16:18:48 +02:00
  • 1153192be8 Support for bundling an optional info Protobuf ByteString with an UpdatePayment message. cyberzac 2014-07-29 15:24:19 +02:00
  • 9e56093353 ConnectionHandler: Make comment a bit clearer. Mike Hearn 2014-07-31 15:55:24 +02:00
  • c5cb306927 Fix memory leak on timeout in NioClient Matt Corallo 2014-07-30 13:04:41 -07:00
  • 5f5700bbb0 Fix race between connectionClosed() and ConnectionHandler() Matt Corallo 2014-07-29 14:45:58 -07:00
  • 4dc3392719 Fix Java 6 compatibility. Mike Hearn 2014-07-31 15:53:14 +02:00
  • 0f124b9ef4 Add some javadocs for Wallet.fromWatchingKey Mike Hearn 2014-07-30 12:06:16 +02:00
  • 914752623d close connection regardless of autocommit status and set conn to null eleetas 2014-07-28 23:36:05 -07:00
  • d681c72b30 Fix typo Mike Hearn 2014-07-30 11:09:56 +02:00
  • 12e1c3f6bd Improve javadocs, revert unnecessary unmodifiable list Carlos Lopez-Camey 2014-07-29 12:31:08 -06:00
  • ce7520b0c8 Merge branch 'master' of https://github.com/bitcoinj/bitcoinj Carlos Lopez-Camey 2014-07-29 12:23:42 -06:00
  • 6679f42f4a Use a local Bitcoin node if one is detected instead of the p2p network. This allows any user of a bitcoinj based app to upgrade from SPV to full mode security by just installing and running Core on the same machine. Can be controlled with a new property on PeerGroup. Mike Hearn 2014-07-29 18:13:52 +02:00
  • 812a4f59c4 Re-allow Android devs to override the mnemonic code instance. Mike Hearn 2014-07-28 16:13:12 +02:00