Commit Graph

  • 573b487c2b WAK: add note in javadoc about missing feature. Mike Hearn 2014-11-24 13:04:42 +01:00
  • 0952cf3d20 RefreshWallet doesn't need to specify localhost explicitly anymore. Mike Hearn 2014-11-23 14:23:24 +01:00
  • e12930c00f Fix formatting dates at several places. Common mistakes: Andreas Schildbach 2014-11-07 21:55:17 +01:00
  • 28d0743dd6 Update Script.getPubKeyHash() javadoc Oscar Guindzberg 2014-11-17 16:57:57 -03:00
  • 5c908a86f1 Fix Orchid hash again Mike Hearn 2014-11-17 17:23:15 +01:00
  • a2e9806f2f Update Orchid version and POM to reflect the dirauth change. Mike Hearn 2014-11-17 14:05:20 +01:00
  • e6372c5d7d Release 0.12.2 v0.12.2 Andreas Schildbach 2014-11-15 11:27:36 +01:00
  • 2d82de222e Fix just asking Wallet.doMaintenance() for if maintenance needs to be done wastes addresses. Andreas Schildbach 2014-11-14 17:19:19 +01:00
  • 12750b5840 Fix another Java 6 compat issue. Andreas Schildbach 2014-11-14 23:47:22 +01:00
  • cdc1a4ce99 Fix just asking Wallet.doMaintenance() for if maintenance needs to be done wastes addresses. Andreas Schildbach 2014-11-14 17:19:19 +01:00
  • 533489ed78 Java 6 compat to unbreak the build Mike Hearn 2014-11-14 18:32:51 +01:00
  • ef0ae01b75 Some block-tester refactors, and a new large-reorg test (1008 blks) Matt Corallo 2014-11-09 23:56:10 -08:00
  • d78e9b053a Exit after fail + 5 rules Matt Corallo 2014-10-02 13:50:28 -07:00
  • d37bba6393 Partially revert feba3, remove non-deterministic sigs, timeout Matt Corallo 2014-10-02 13:12:27 -07:00
  • 3398216449 Fix potential headers-first NPE race Matt Corallo 2014-10-01 17:39:04 -07:00
  • b0b8eb28d3 Why, oh why have I not rewritten this damn thing yet? Matt Corallo 2014-09-29 22:27:46 -07:00
  • adf4a61836 Add test for the other half of b56 Matt Corallo 2014-09-27 00:15:32 -07:00
  • fed5891ef8 Remove UTXO rules which test non-existant protocol rules Matt Corallo 2014-09-26 23:21:28 -07:00
  • ce41c10a9e Fix missing spendable coinbase Matt Corallo 2013-10-29 00:22:42 -04:00
  • c824bd4491 Missed b89 and some spendableOutputs Matt Corallo 2013-10-27 04:48:39 -04:00
  • 718c0b61c2 Add OP_RETURN tests to expose bug on master (thanks gmaxwell) Matt Corallo 2013-10-27 04:26:33 -04:00
  • 1740ec6750 Fix OOM issues introduced by recent changes. Matt Corallo 2013-10-27 03:27:47 -04:00
  • 2780b3f9b7 Fix height in large-reorg test Matt Corallo 2013-10-27 02:01:27 -04:00
  • 8284e1cfbc Fix b49 duplicate hash error Matt Corallo 2013-10-27 01:42:45 -04:00
  • 0eb4b23031 Add test for invalid opcode in dead execution path. Dave Collins 2013-10-07 22:23:20 -05:00
  • 18f03c15d6 Correct spend output comments for b77-b82. Dave Collins 2013-10-07 22:21:18 -05:00
  • ac65d91eec Fix block tester and (possibly) make it work with headers-first Matt Corallo 2013-10-25 18:27:50 -04:00
  • 05a67aef92 Keep track of hash->block mappings Matt Corallo 2014-09-26 22:10:26 -07:00
  • 4247bc75f6 Help BitcoindComparisonTool work with getheaders requirements Matt Corallo 2013-09-03 18:34:16 -04:00
  • ccbd30da8f Delete !notfound code paths. Mike Hearn 2014-11-14 16:56:37 +01:00
  • 5b62cc2fbb Tests for completing transactions with non-standard fees. Andreas Schildbach 2014-11-13 00:52:08 +01:00
  • 019c581447 Print fee with Transaction.toString(), if known. Andreas Schildbach 2014-11-13 00:38:22 +01:00
  • 463cda4965 Remove IOException from TestWithWallet. Andreas Schildbach 2014-11-13 00:07:30 +01:00
  • 72766c2b07 Clarify javadoc comments regarding whether HD derivations are hardened. Adam Mackler 2014-11-14 10:37:17 -05:00
  • f410201342 Fix missing WalletExtensionsTest.tearDown(). This caused a corrupt Wallet.SendRequest.DEFAULT_FEE_PER_KB. Andreas Schildbach 2014-11-13 01:30:18 +01:00
  • ae48f18641 Set up encrypted wallet only in tests that need it. Should speed up unit tests a bit. Andreas Schildbach 2014-11-13 01:11:28 +01:00
  • 91f3d23165 Tests for completing transactions with non-standard fees. Andreas Schildbach 2014-11-13 00:52:08 +01:00
  • b7166d650d Print fee with Transaction.toString(), if known. Andreas Schildbach 2014-11-13 00:38:22 +01:00
  • 40b46f0326 Remove IOException from TestWithWallet. Andreas Schildbach 2014-11-13 00:07:30 +01:00
  • 53688cde60 Replace duplicated "current wallet version" constant by code that looks it up from the .proto itself. Andreas Schildbach 2014-11-13 16:05:28 +01:00
  • 20955814bb Same change for Fiat.parseCoin Mike Hearn 2014-11-14 16:52:09 +01:00
  • 683c50b3fa made Coin.parseCoin method to throw an IllegalArgumentException instead of an ArithmeticException in cases of fractional satoshis Giannis Dzegoutanis 2014-10-24 11:08:57 +02:00
  • e2b00e4cda Clarify javadoc comments regarding whether HD derivations are hardened. Adam Mackler 2014-11-14 10:37:17 -05:00
  • 17fae952a7 Move NetworkParameters to first argument in DeterministicKey serialize/deserialize methods, it's more conventional that way. Mike Hearn 2014-11-14 16:42:14 +01:00
  • 41f8f5ccb4 Addes NetworkParams as a parameter to DeterministicKey serialization/deserialization. Wojciech Langiewicz 2014-11-11 18:25:21 +01:00
  • 3a1c156d4e WalletTemplate: allow sending of arbitrary amounts. Mike Hearn 2014-11-14 15:35:45 +01:00
  • 013d307f95 Orchid: switch out turtles for longclaw. Turtles has been defunct for some time. Longclaw is a new directory authority run out of Hong Kong by RiseUp: Mike Hearn 2014-11-14 15:20:54 +01:00
  • 1e8d249ce7 Orchid: switch out turtles for longclaw. Turtles has been defunct for some time. Longclaw is a new directory authority run out of Hong Kong by RiseUp: Mike Hearn 2014-11-14 15:20:54 +01:00
  • f7c35df9f4 Fix a bug in the BIP 62 handling code that can cause a crash for any broadcast multisig transaction. Mike Hearn 2014-11-14 13:58:46 +01:00
  • ce545065d8 Add an OP_RETURN convenience method on ScriptBuilder and convert unit tests to use it. Mike Hearn 2014-11-14 13:57:58 +01:00
  • 9225cf8c1f Fix a wrong lock, spotted by Andreas Mike Hearn 2014-11-13 22:51:33 +01:00
  • 8942680ec0 Wallet: give up on using read/write locks for the keychain, the re-entrancy rules are too hard to follow. Switch back to a regular lock. Mike Hearn 2014-11-13 22:30:35 +01:00
  • 4b31e6c56e Minor cleanup in a wallet unit test Mike Hearn 2014-11-14 14:00:12 +01:00
  • b7bac50fa1 Fix a bug in the BIP 62 handling code that can cause a crash for any broadcast multisig transaction. Mike Hearn 2014-11-14 13:58:46 +01:00
  • 199a741850 Add an OP_RETURN convenience method on ScriptBuilder and convert unit tests to use it. Mike Hearn 2014-11-14 13:57:58 +01:00
  • f65da9c201 Fix a wrong lock, spotted by Andreas Mike Hearn 2014-11-13 22:51:33 +01:00
  • cb78be8f4d Delete EncryptedPrivateKey, it's cruft left over from the HD wallets work. Mike Hearn 2014-11-11 16:59:49 +01:00
  • 6edfc89335 PeerGroup: add a removePeerFilterProvider to complement add. Mike Hearn 2014-11-08 22:34:56 +01:00
  • 2769bc32bb When reading wallets, catch another possible data inconsistency and throw UnreadableWalletException. Andreas Schildbach 2014-11-08 10:06:31 +01:00
  • f89574c832 WalletTool: magic --output value ALL for easier emptying of wallets. Andreas Schildbach 2014-11-07 13:21:46 +01:00
  • bd9e215a59 Fix question marks could not be used in payment protocol request URI. Removes the check for multiple question marks in the bitcoin URI. Andreas Schildbach 2014-11-07 11:15:58 +01:00
  • b578adf55d Wallet: give up on using read/write locks for the keychain, the re-entrancy rules are too hard to follow. Switch back to a regular lock. Mike Hearn 2014-11-13 22:30:35 +01:00
  • c5a2dc2551 Issue 586 fixed, 0BTC transaction with OP_RETURN will work. Wojciech Langiewicz 2014-10-25 21:40:24 +02:00
  • 4d99313814 Delete EncryptedPrivateKey, it's cruft left over from the HD wallets work. Mike Hearn 2014-11-11 16:59:49 +01:00
  • aafb15a24f Adds one test to the CHECKMULTISIG feature which was failing before Wojciech Langiewicz 2014-11-10 21:45:55 +01:00
  • b279c40801 Adds Wallet tests, extracts FooWalletExtension for testing. Wojciech Langiewicz 2014-11-06 16:10:41 +01:00
  • e830ab87b0 pom.xml update to exclude untestable classes from coverage report Wojciech Langiewicz 2014-11-05 23:09:20 +01:00
  • f6d5644108 Remind myself how to run the postgres unit tests. Mike Hearn 2014-11-09 15:49:23 +01:00
  • eed5f22550 Bug fix: The database access code was not updated on field value type change. Kalpesh Parmar 2014-11-04 10:18:47 +00:00
  • 9004166122 1) Fixed the height field to store the height for both coinbase/non coinbase open outputs. 2) Thanks to Ed Lee - Fixed Issue 447 : H2 store: block header hash code is off by 4 bytes. This fix also applies to Postgres and MySQL stores. 3) Added a coinbase field to the openoutputs table and updated code to use this value. 4) Updated field type of ‘value’ in the openoutputs table from bytes to long. 5) Updated the stores (DatabaseFullPrunedBlockStore) with a compatibility check. 6) Updated field type of ‘addresstargetable’ in the openoutputs table from int to tinyint/smallint. Kalpesh Parmar 2014-11-03 10:43:16 +00:00
  • fbf62614b4 1) Re-factored PostgresFullPrunedBlockStore and H2FullPrunedBlockStore into a generic DatabaseFullPrunedBlockStore class. 2) H2FullPrunedBlockStore now supports calculateBalanceForAddress() method. 3) Created an additional store for MySQL (MySQLFullPrunedBlockStore) and unit test. 4) Fixed unit test PostgresFullPrunedBlockStoreTest, second time execution was failing due to not clearing down the tables correctly. 5) Added methods getOpenTransactionOutputs() & deleteStore() to base class DatabaseFullPrunedBlockStore. Kalpesh Parmar 2014-10-26 17:36:09 +00:00
  • 580a67c0b7 PeerGroup: add a removePeerFilterProvider to complement add. Mike Hearn 2014-11-08 22:34:56 +01:00
  • b36169caba Make TransactionBroadcast recognize network rejection of transmitted transaction. Adam Mackler 2014-10-26 12:28:31 -04:00
  • 7419556717 When reading wallets, catch another possible data inconsistency and throw UnreadableWalletException. Andreas Schildbach 2014-11-08 10:06:31 +01:00
  • e16c357723 Fix another license header. Mike Hearn 2014-11-07 18:02:47 +01:00
  • 91e7fe6816 WalletTool: magic --output value ALL for easier emptying of wallets. Andreas Schildbach 2014-11-07 13:21:46 +01:00
  • c2611b5345 Fix question marks could not be used in payment protocol request URI. Removes the check for multiple question marks in the bitcoin URI. Andreas Schildbach 2014-11-07 11:15:58 +01:00
  • 6dbc918876 Fix license headers in BitcoinURI/BitcoinURIParseException Mike Hearn 2014-11-06 13:30:40 +01:00
  • 8b9d1903c5 PeerGroup: add/remove listeners from active/pending peers as well as the internal list. Mike Hearn 2014-11-05 18:42:14 +01:00
  • 0d5a542f22 Wallet extension: fix a regression introduced by e3a13a6, where in some kinds of app wallet extensions stopped being loaded properly. Mike Hearn 2014-11-05 16:36:58 +01:00
  • dd37fe90c6 Issue 586 fixed, 0BTC transaction with OP_RETURN will work. Wojciech Langiewicz 2014-10-25 21:40:24 +02:00
  • d9ef834c62 Immediately advance current addresses instead of doing it lazily. This avoids a bug whereby an app might quit after using a change address, thus currentKey(CHANGE) == null and it gets reset to the last used address when the wallet is round-tripped. Mike Hearn 2014-11-04 23:21:23 +01:00
  • 259e1604e9 Fix bug revealed by static analysis. Mike Hearn 2014-10-28 15:36:18 +00:00
  • 30089c9a72 Fixes issue 587: disables connecting to local bitcoin node during tests Wojciech Langiewicz 2014-10-25 17:30:04 +02:00
  • 604b0131e7 Fix documentation Oscar Guindzberg 2014-10-31 18:14:45 -03:00
  • 855fd2832f Immediately advance current addresses instead of doing it lazily. This avoids a bug whereby an app might quit after using a change address, thus currentKey(CHANGE) == null and it gets reset to the last used address when the wallet is round-tripped. Mike Hearn 2014-11-04 23:21:23 +01:00
  • f961e79346 WalletTool: use minBroadcastConnections == 1 when in regtest mode. Mike Hearn 2014-11-04 23:19:21 +01:00
  • fe5677da5f Maven: auto release after close Mike Hearn 2014-11-04 21:24:30 +01:00
  • 903f84acc8 PeerGroup: insert filter providers at the start of the list instead of the end, to help clients avoid circular deadlock. Mike Hearn 2014-11-04 15:11:07 +01:00
  • 3cdb039a29 Wallet: don't save wallet and invoke event listeners when adding watched scripts if the call was a no-op. Mike Hearn 2014-11-04 15:10:42 +01:00
  • e9f016b753 Rename wallet-tool option --net=PROD to --net=MAIN. PROD can still be used as an alias to MAIN. Andreas Schildbach 2014-11-01 15:29:31 +01:00
  • 3aac4b0025 Rewrite most references to prodnet to mainnet in the comments. Does not change any actual code. Andreas Schildbach 2014-11-01 15:22:35 +01:00
  • 8951e8814d Adds coveralls.io support via maven plugin. Wojciech Langiewicz 2014-11-02 17:50:06 +01:00
  • 3a23bb5ecd Update forwarding.py Richard Green 2014-10-14 23:33:02 +01:00
  • 17d8ac8d74 Made the sys.path.append more obvious Richard 'ragmondo' Green 2014-10-11 22:44:39 +01:00
  • 7169643d1c Renamed params variable to use correct source library; removed traceback usage to be compatible with jython 2.5 Richard 'ragmondo' Green 2014-10-11 22:43:30 +01:00
  • ef4afe8e1c Change the PeerFilterProvider interface to have begin/end methods instead of requiring a lock to be exposed. It's more efficient and flexible. Mike Hearn 2014-10-28 17:19:52 +00:00
  • 18dd2e2b05 Fix bug revealed by static analysis. Mike Hearn 2014-10-28 15:36:18 +00:00
  • f5216b1d49 Implement some missed Bloom filter application logic (does not impact existing apps). Mike Hearn 2014-10-28 15:36:04 +00:00
  • 387be0790c Adds JaCoCo code coverage tool. Wojciech Langiewicz 2014-10-25 23:01:10 +02:00