Commit Graph

  • 5840c8a66a Fix failing deserialization of wallet with an empty HD chain troggy 2014-06-11 23:53:45 +04:00
  • b5911c1ee4 Add a missing lock on BasicKeyChain.getBloomFilter Mike Hearn 2014-06-11 16:49:35 +02:00
  • a8d112f2c1 Update AUTHORS file with recent contributors Mike Hearn 2014-06-11 16:24:11 +02:00
  • 40bc6f4c46 Add a method to deserialize a DeterministicKey from a byte-array rather than from the base-58 encoding thereof. Adam Mackler 2014-06-08 00:49:18 -04:00
  • 2a8454a85c HD wallet: currentKey is now stable after serialization roundtrip troggy 2014-06-05 17:53:59 +04:00
  • 9f25af54ab Fixed bitcoinj DoS. It could have been crashed by a malicious message. Piotr Włodarek 2014-06-06 21:59:48 +02:00
  • 9befd32200 Allow zero repetitions for CoinFormat.repeatOptionalDecimals(). Also add tests. Andreas Schildbach 2014-06-06 12:38:42 +02:00
  • fc923f8473 Remove unused CouldNotAdjustDownwards. Move JavaDoc to the real one. Andreas Schildbach 2014-06-06 16:37:34 +02:00
  • fb4aab3edc Copy @throws from the JavaDoc of Wallet.completeTx() to all calling methods. Andreas Schildbach 2014-06-06 16:23:34 +02:00
  • 70ce114d8e Fix link in Wallet.notifyTransactionIsInBlock() JavaDoc. Andreas Schildbach 2014-06-09 19:22:57 +02:00
  • b9dd0a5417 Fix Wallet.checkForDoubleSpendAgainstPending() JavaDoc. It returns a boolean. Andreas Schildbach 2014-06-09 19:15:06 +02:00
  • ffaf18fa94 Fix Wallet.isTransactionRelevant() JavaDoc. There is no "includeDoubleSpending". Andreas Schildbach 2014-06-09 19:11:50 +02:00
  • 8fde2de992 Remove undocumented and unused Transaction constructor. I found it misleading because it allows you to pass in a hash, but the hash can be changed without notice. Andreas Schildbach 2014-06-09 12:59:51 +02:00
  • 6ec53fc19b Release 0.11.3 v0.11.3 Andreas Schildbach 2014-06-06 20:09:43 +02:00
  • 390f58d2f4 FullPrunedBlockChain: fixed typo Harald Hoyer 2014-06-03 14:09:32 +02:00
  • 07663509ce Fix to the PrivateKeys example. Thanks to recallfx for the patch. Mike Hearn 2014-06-02 21:49:59 +08:00
  • 3606a450ac Fix website link in README Mike Hearn 2014-05-30 15:47:13 +02:00
  • 16295ce12a Update note about regenerating protobuf bindings. Andreas Schildbach 2014-05-29 14:37:40 +02:00
  • ce4f286e38 Bloom bugfix: track false positives in blocks including when the tx was broadcast within the session, and don't print an error from the wallet in this case. Should have no impact beyond more accurate FP rate calculations. Mike Hearn 2014-05-28 18:44:43 +02:00
  • a690454be1 Wallet: rename setLookaheadThreshold() to setKeychainLookaheadThreshold() Harald Hoyer 2014-06-04 17:16:06 +02:00
  • 2d9ad0466a Minor refactorings and fixes in VersionMessage. Piotr Włodarek 2014-06-04 22:16:52 +02:00
  • 31af80ccd3 CoinFormat class, for formatting and parsing coin values to and from human readable form. Andreas Schildbach 2014-06-02 12:31:46 +02:00
  • 384be446ce FullPrunedBlockChain: fixed typo Harald Hoyer 2014-06-03 14:09:32 +02:00
  • 86c5449ba2 Clarify BlockChainListener javadocs a bit. Mike Hearn 2014-06-04 18:11:17 +08:00
  • 21b3c06878 Breaks dependency cycle between Script.<clinit>, Script.<init> and NetworkParamenters.<init>. Resolves issue #549. Piotr Włodarek 2014-06-02 18:16:06 +02:00
  • 60e70bd79e Fix to the PrivateKeys example. Thanks to recallfx for the patch. Mike Hearn 2014-06-02 21:49:59 +08:00
  • 4e568354be Arbitrary number of key creation (batch) Kalpesh Parmar 2014-05-30 10:10:13 +01:00
  • 638e921e53 Migrate usages of spongycastle Hex.encode/decode to Utils.HEX.encode/decode(), which in turn uses Guava's Base16 encoding. Andreas Schildbach 2014-05-31 12:17:30 +02:00
  • da868973df Migrate usages of Utils.bytesToHexString() to Utils.HEX.encode(), which in turn uses Guava's Base16 encoding. Andreas Schildbach 2014-05-31 11:25:24 +02:00
  • 7f84603e11 Renamed 'bytes', 'msg' to 'payload' in all Message classes. Piotr Włodarek 2014-05-30 18:59:14 +02:00
  • a95c2ed826 Minor comments improvements in Message, EmptyMessage and NetworkParameters. Piotr Włodarek 2014-05-29 17:25:46 +02:00
  • 422053cfec Fixed javadoc build on Java 8 by turning off the fascist DocLint. Piotr Włodarek 2014-05-31 18:41:55 +02:00
  • fb749f5f23 Fixed wallettemplate to compile again after BigInteger -> Coin refactoring. Piotr Włodarek 2014-05-31 22:26:08 +02:00
  • 019f5f846d Regenerate protobuf bindings. They didn't fully survive our refactorings. Piotr Włodarek 2014-05-31 21:27:52 +02:00
  • eae64a5357 Wallet now delegates currentAddress/freshAddress calls to KeychainGroup troggy 2014-05-31 13:42:05 +03:00
  • 927d8514f5 Rename Coin.NANOCOIN to Coin.MICROCOIN. Andreas Schildbach 2014-06-02 08:10:18 +02:00
  • fa63c83888 Fix 'java.math.Coin' in the JavaDocs. Andreas Schildbach 2014-05-30 19:17:50 +02:00
  • 346e8fb3bf Access NetworkParameters.MAX_MONEY in a static way. Andreas Schildbach 2014-05-30 18:13:17 +02:00
  • 39586bf515 Replace or remove remaining misuses of the term 'nanocoin'. Andreas Schildbach 2014-05-30 17:14:52 +02:00
  • 56ef72f36f Deprecate Coin.longValue() in favour of accessing Coin.value directly. Andreas Schildbach 2014-05-30 17:02:48 +02:00
  • 03af3907a7 Fix website link in README Mike Hearn 2014-05-30 15:47:13 +02:00
  • b15dbfb836 Remove unused imports. Andreas Schildbach 2014-05-27 16:02:14 +02:00
  • f10fefe2ae Clear a lot of compiler warnings because of unparameterized types. Andreas Schildbach 2014-05-27 15:59:13 +02:00
  • d4c1a1b043 Add missing @Override annotations. Andreas Schildbach 2014-05-27 15:35:00 +02:00
  • 51c48bb69f Clean up coin constants and make more use of it. Andreas Schildbach 2014-04-26 20:09:41 +02:00
  • 938dec7a73 Rename Coin.toNanoCoins(coins, cents) to Coin.valueOf(coins, cents). Andreas Schildbach 2014-04-26 19:17:54 +02:00
  • 49adaeed16 Rename Coin.toNanoCoin(String) to Coin.parseCoin(String). Andreas Schildbach 2014-04-26 19:12:12 +02:00
  • 3e846901cb Remove weird value accessors. Andreas Schildbach 2014-04-26 19:39:25 +02:00
  • ee4dec1835 Remove weird constructors. Andreas Schildbach 2014-04-26 19:03:33 +02:00
  • 48a76a8a03 Clean up Coin API for multiplications and divisions. Andreas Schildbach 2014-04-26 18:43:52 +02:00
  • eb81b0c815 Move coin related methods and constants from Utils into Coin. Andreas Schildbach 2014-04-25 23:19:42 +02:00
  • e2140c5cf8 Refactor internal coin representation from BigInteger to long. Andreas Schildbach 2014-04-26 17:55:33 +02:00
  • 022e7c27fe Wrap coin-ish BigIntegers into Coin class. Andreas Schildbach 2014-04-25 21:21:11 +02:00
  • d2e1b14d4c Wallet: add convenience methods to vend Address objects for currentKey/freshKey troggy 2014-05-28 15:11:22 +03:00
  • 1ec162f25c Update HDW todo list. Mike Hearn 2014-05-29 20:19:33 +02:00
  • 1f776c3f19 Add a program that measures confirmation time for a given fee level. Mike Hearn 2014-05-28 16:46:15 +02:00
  • c63f5f7553 Fix bugs and misc review comments from Harold Hoyer's key lookahead pull request. Still needed: unit tests. Mike Hearn 2014-05-19 17:33:59 +02:00
  • 5726b97f70 HD Wallets: mark the DeterministicKeys as issued, if seen in a Transaction Harald Hoyer 2014-04-11 11:58:14 +02:00
  • 534a1e3a5c HD Wallets: add a threshold for the DeterministicKey lookahead Harald Hoyer 2014-04-11 11:49:54 +02:00
  • 42bfbb9b1c Add some Javadocs and clean up the watching key API a tiny bit. Default creation time is now BIP32 standardisation time. Mike Hearn 2014-05-19 16:40:22 +02:00
  • 9ff7a91c8c HD Wallets: let you specify the creation time for a WatchingKey Harald Hoyer 2014-04-11 12:15:46 +02:00
  • 960b9d686e KeyChainGroup: defensive copy of the chains list in the c'tor Mike Hearn 2014-05-01 13:48:21 +02:00
  • 1628bf6329 WalletAppKit: set max connections to size of set peer addresses so localhost broadcast works. Mike Hearn 2014-04-30 14:10:37 +02:00
  • e4af9a673f Tweaks to allow wallet subclasses to add their own extensions in their c'tors. Mike Hearn 2014-04-30 13:52:08 +02:00
  • 748ff6fc8e WalletAppKit: allow control of wallet construction. Mike Hearn 2014-04-25 20:16:34 +02:00
  • 4504633fd5 ECKey.recoverFromSignature: respect the compressed flag again. Mike Hearn 2014-04-25 14:48:13 +02:00
  • d2837e8ea9 Wallet: allow customization of the wallet type that is deserialized. Makes subclassing Wallet more useful. Mike Hearn 2014-04-23 16:48:57 +02:00
  • b374ba5108 HDW: Fix a decryption bug where we were (again) accidentally relying on padding checks to detect wrong passwords. Check the watching key derives correctly to fix. Mike Hearn 2014-04-22 22:14:21 +02:00
  • 24e41f01c6 Refactorings. Mike Hearn 2014-04-22 19:25:11 +02:00
  • 9ca891c709 Wallet: restrict visibility of the transactions map a bit and tag the others as visible for testing. This should get fixed up in a future refactor. Mike Hearn 2014-04-22 18:36:02 +02:00
  • 1e4f930b70 Wallet: set lookahead size to 5 when using unit test params instead of scattering calls all over the test code. Mike Hearn 2014-04-22 17:41:51 +02:00
  • fc83deb8fd HDW: Update todo list Mike Hearn 2014-04-08 19:07:13 +02:00
  • 45a1b11b48 WalletTool: add a lookahead flag that lets you control the lookahead size on the receive branch. Update help text to reflect the new flag and the seed flag as well. Mike Hearn 2014-04-08 18:18:52 +02:00
  • 2be8bc1901 ECKey: make compress/decompressPoint use non-deprecated methods and add a note that BC's tracking of compression state is going to go away. Mike Hearn 2014-04-08 18:01:03 +02:00
  • a807994b9a Bump wallet version and add missing check (!) to detect wallets from the future. The absence/incompleteness of this feature had not been noticed before, and it means that old apps will fail to read HD wallets due to the new key enum value rather than a more sensible error (but there's still no chance of an old app accepting an HD wallet, so it should still be safe). Mike Hearn 2014-04-08 14:40:43 +02:00
  • c8850c94ae Bugfix: don't throw away deserialized wallet in WalletAppKit Mike Hearn 2014-04-04 17:42:58 +02:00
  • ef95eb3b79 Bugfix: don't crash if getEarliestKeyTime is called on a DKC that wasn't initialized with a seed (i.e. a watching chain) Mike Hearn 2014-04-04 17:24:16 +02:00
  • 704339fdfb Bugfix: copy event listeners to new HD chains when created. Mike Hearn 2014-04-04 16:37:41 +02:00
  • 2ce5c16815 Switch TestWithWallet to be using an HD key by default. Mike Hearn 2014-04-04 16:17:52 +02:00
  • d9fa9e4b68 Fix a casting bug in WalletAppKit. Thanks to Kalpesh Parmar. Mike Hearn 2014-03-31 16:28:10 +02:00
  • 4df59adeb9 Use setMockClock instead of rollMockClock(0) to resolve flaky tests. Mike Hearn 2014-03-29 14:37:04 +01:00
  • 51b71a4363 HD Wallets: support watching wallets in Wallet and wallet-tool. Mike Hearn 2014-03-28 20:22:31 +01:00
  • c7f7fd29e0 HD Wallets: add a REFUND key purpose and map it to the same branch as RECEIVE_FUNDS for now. Mike Hearn 2014-03-28 12:40:00 +01:00
  • dbf504faa0 HD Wallets: add getImportedKeys() method that returns just the basic key chain. Mike Hearn 2014-03-28 12:25:26 +01:00
  • 6951a6bc65 HD Wallets: add back design doc and todo list Mike Hearn 2014-03-28 12:21:38 +01:00
  • 534252de49 HD Wallets: bugfix, ensure we don't store private keys that can be rederived. Mike Hearn 2014-03-28 12:21:11 +01:00
  • 3f9791d86a HD Wallets: print seed birthday in wallet dump too Mike Hearn 2014-03-26 23:55:42 +01:00
  • a1fcca3883 WalletTool: allow creation of a wallet from a given [word] seed. Mike Hearn 2014-03-26 23:50:19 +01:00
  • 1ff5d05200 HD wallets: add a Wallet.getKeyChainSeed method. Mike Hearn 2014-03-26 20:29:38 +01:00
  • 5638387d3a HD wallets alpha preview Mike Hearn 2014-03-26 20:05:33 +01:00
  • 780be05260 Save value of inputs when completing transactions and persist it to the wallet protobuf. Determine the fee of a transaction in case we have all the values. Andreas Schildbach 2014-05-29 13:11:33 +02:00
  • 03e8934576 Update note about regenerating protobuf bindings. Andreas Schildbach 2014-05-29 14:37:40 +02:00
  • 9b0b185ff0 Teach TransactionOutput.toString() to print send-to-pubkey and send-to-multisig types. Andreas Schildbach 2014-05-27 14:50:31 +02:00
  • b36bb5bff0 Bloom: don't requery mempool if the filter is only being refreshed to force down FP rate. Mike Hearn 2014-05-28 23:09:40 +02:00
  • ecbaaf01d6 Fix scrypt library hash. Mike Hearn 2014-05-28 19:19:32 +02:00
  • e95fef3504 Bloom bugfix: track false positives in blocks including when the tx was broadcast within the session, and don't print an error from the wallet in this case. Should have no impact beyond more accurate FP rate calculations. Mike Hearn 2014-05-28 18:44:43 +02:00
  • 344be21821 Fix 'shortest possible pushdata' logic for transaction inputs. Also add a testcase. Andreas Schildbach 2014-05-28 15:31:22 +02:00
  • 8ca8075a7b Convenience ScriptBuilder.addChunk() method can add arbitrary script chunks. Andreas Schildbach 2014-05-28 15:23:42 +02:00
  • 8ff52f5217 Payment channels: update example client to reflect API changes. Mike Hearn 2014-05-28 13:26:19 +02:00
  • a5a4650aba renaming to nonexisting file on Windows Jiri Peinlich 2014-05-26 07:25:09 +02:00