Commit Graph

  • e7ea8483e4 Add method to clean up the wallet. Andreas Schildbach 2014-02-16 11:42:35 +01:00
  • af1fdd4a14 Add isStandard risk analysis. Matt Corallo 2014-02-12 07:02:51 -05:00
  • 5543b166cc Payment protocol: Expose a friendly/display name for validating CA Mike Hearn 2014-02-07 18:09:54 +01:00
  • 3755835d11 When printing the wallet, apply a sensible order to transaction pools. Again, it helps debugging of wallet problems. Andreas Schildbach 2014-02-06 11:31:56 +01:00
  • 0ee3dca7a0 Move pending transactions to the top of a wallet printout. It helps debugging, as pending transactions happen to attract most problems. Andreas Schildbach 2014-02-06 10:35:20 +01:00
  • 52df132a9d Merge pull request #11 from schildbach/refactor-signum Matt Corallo 2014-02-15 09:10:37 +00:00
  • 5ca6f13195 Replace usage of BigInteger.compareTo(BigInteger.ZERO) with BigInteger.signum() as it's easier to read and more performant. Passes all unit tests. Andreas Schildbach 2014-02-06 12:12:01 +01:00
  • 3c86785a89 Payment protocol: Expose a friendly/display name for validating CA Mike Hearn 2014-02-07 18:09:54 +01:00
  • 053a0bead6 Add Andreas and Eric to the AUTHORS file. Update my email address. Mike Hearn 2014-02-07 17:22:17 +01:00
  • 59a18ab43f Add ability to optionally use a schema name in the Postgres block store. Add a test to make sure things work when we set a schema name. Erik Tierney 2014-02-05 12:08:14 -05:00
  • c95a864831 Add ctor that takes a connectionUrl instead of hostname and database name. Avoid exception in close() - only rollback when autocommit is false. Erik Tierney 2014-02-05 11:26:11 -05:00
  • 417c81f54d Use Guavas primitive compare methods, where appropriate. Makes the code easier to read. Passes all unit tests. Andreas Schildbach 2014-02-06 12:22:53 +01:00
  • 5f9df48aaa Rename and make the comparators public, documented. Mike Hearn 2014-02-06 12:22:10 +01:00
  • 217da6912d When printing the wallet, apply a sensible order to transaction pools. Again, it helps debugging of wallet problems. Andreas Schildbach 2014-02-06 11:31:56 +01:00
  • 47c332eb98 Move pending transactions to the top of a wallet printout. It helps debugging, as pending transactions happen to attract most problems. Andreas Schildbach 2014-02-06 10:35:20 +01:00
  • 1250aa8e3d Prepare 0.11.1-SNAPSHOT Andreas Schildbach 2014-02-06 10:33:56 +01:00
  • 5b74ea5c7b Switch to version 0.12-SNAPSHOT. To the moon! ;) Mike Hearn 2014-02-04 11:19:17 +01:00
  • 17d52aa404 Fix Maven enforcer hashes. Mike Hearn 2014-02-04 11:30:47 +01:00
  • 410d4547a7 Release 0.11 v0.11 Mike Hearn 2014-02-03 17:21:39 +01:00
  • 71391c1271 Fix Maven enforcer hashes. Mike Hearn 2014-02-04 11:30:47 +01:00
  • 6958ad94f7 WalletTool tweaks. Mike Hearn 2014-02-03 16:32:45 +01:00
  • 04e7551e99 Move stuff around in the POMs as part of preparing for Maven Central. Mike Hearn 2014-02-03 15:42:53 +01:00
  • f4def39f40 H2 is now being exercised more thoroughly and was leaving test db files hanging around that would cause the next run to fail, fix. Mike Hearn 2014-01-31 18:49:58 +01:00
  • f46dc809e4 Add a string c'tor to PaymentRequestException.InvalidPaymentURL Mike Hearn 2014-01-31 16:01:00 +01:00
  • cf34fc2815 Add Alex and Kevin to the AUTHORS file. Mike Hearn 2014-01-31 14:24:02 +01:00
  • c10e029384 Postgres block store, with ability to calculate address balances. Alex Taylor 2014-01-31 14:21:58 +01:00
  • 00ca0cea0c PeerGroup: pin TransactionBroadcasts from the peer group to avoid premature garbage collection when user code throws away the broadcast future. Mike Hearn 2014-01-30 17:46:55 +01:00
  • fff5af29ff Recalculate but don't rebroadcast bloom filters when a p2pubkey output is received. Mike Hearn 2014-01-30 17:43:33 +01:00
  • 9204c13233 Move min version for NotFoundMessage to a static member of that class. Mike Hearn 2014-01-30 17:18:30 +01:00
  • 7c9651a801 Payment protocol: fix broken reflection code for Android. Mike Hearn 2014-01-30 15:32:17 +01:00
  • b3bf4aadb7 Payment protocol: re-organise code a bit to handle Android devices that have the javax property set. Mike Hearn 2014-01-30 14:40:44 +01:00
  • f94c41e5b6 PeerGroupTest: Clear some minor static analysis warnings. Mike Hearn 2014-01-30 14:13:07 +01:00
  • b5127f4414 Make change selectable in regtest mode even if there is only one peer. Mike Hearn 2014-01-30 11:14:13 +01:00
  • 28b24d0eaa Fix yet another throw-vs-return but in CHECKSIG (resolves #514) Matt Corallo 2014-01-30 03:48:27 -05:00
  • a1562836be Payment protocol: Make PaymentSession use a global thread pool that uses daemon threads. Mike Hearn 2014-01-28 13:46:25 +01:00
  • ddec4f9106 Allow Bitcoin URI's that don't have any address component if the r= payment protocol param is there. Mike Hearn 2014-01-28 13:04:09 +01:00
  • 3966875e8e Adding support for processing PaymentRequests. Kevin Greene 2013-10-06 13:39:42 -07:00
  • 4ca476ff35 When throwing InsufficientMoneyException, the amount of satoshis missing is required. When the server requests too much value, it is stored so that implementations of the client has access to it. Simon de la Rouviere 2014-01-20 17:40:57 +02:00
  • bd5c4e73e7 Prevent memory blowup on orphan storage Matt Corallo 2014-01-22 22:57:08 -05:00
  • 1a3c3be665 BIP-0039 multiple version support. Ken Sedgwick 2013-11-14 19:51:13 -08:00
  • 654543bb2b BlockingClient: some fixes for Orchid Mike Hearn 2014-01-15 23:16:04 +01:00
  • ae1e3691f5 WalletAppKit: Allow subclasses to fiddle with some more stuff. Mike Hearn 2014-01-15 21:26:53 +01:00
  • 80d4840199 Threading: prefer OOM to deadlock when the user thread is saturated, but keep the warning. Mike Hearn 2014-01-15 17:56:10 +01:00
  • a9a7dd9e06 Lower the priority of the networking thread to avoid competing with UI threads. Mike Hearn 2014-01-15 15:11:31 +01:00
  • 8e58839d81 Wallet: Short-circuit runnable creation if executor is SAME_THREAD Mike Hearn 2014-01-15 01:56:07 +01:00
  • b8a1976422 Fix an edge case bug I just introduced a few minutes ago with the txConfidenceListener changes, and document. Mike Hearn 2014-01-14 19:24:49 +01:00
  • 3a405302bb More memory optimisations. Mike Hearn 2014-01-14 19:06:06 +01:00
  • d7b3766c4b Memory optimisations to avoid OOM when the user thread falls behind. Mike Hearn 2014-01-14 18:49:09 +01:00
  • e0b698a2e9 Threading: experiment with limiting the user/event thread to 100 pending closures. Mike Hearn 2014-01-14 15:25:38 +01:00
  • 941bf330a4 Script: intern commonly used chunks. Mike Hearn 2014-01-13 14:30:02 +01:00
  • 843489111e Quick hack to try and reduce memory consumption for Androids. Mike Hearn 2014-01-11 16:02:37 +01:00
  • d50412e24c Wallet: log exceptions during save. Mike Hearn 2014-01-13 14:25:01 +01:00
  • fa53806ef5 WalletTool: bit more cleanup. Mike Hearn 2014-01-13 12:30:00 +01:00
  • c0617b31b2 Simplify the WalletTool command line and move help to an external file. Mike Hearn 2014-01-12 21:11:35 +01:00
  • 0c2f362795 refactor s/Utils.now().getTime()/Utils.currentTimeMillis()/g gubatron 2014-01-04 16:44:47 -05:00
  • 7324798242 Remove some superfluous methods in HDUtils Mike Hearn 2014-01-07 15:23:26 +01:00
  • 34e2d1596f Address: rename a static ctor method to be more accurate. Mike Hearn 2014-01-07 15:22:00 +01:00
  • 351299c9ab Add a new DNS seed from Chris Decker. Mike Hearn 2014-01-06 15:23:35 +01:00
  • d0cd770d62 Cleanup. Mike Hearn 2013-12-24 00:40:19 +00:00
  • 3d99be48bc Priority queue and exponential backoff for PeerGroup Devrandom 2013-12-15 18:18:46 -08:00
  • b0ce535aa9 PeerGroup: clear some static analysis warnings. Remove dead code. Mike Hearn 2013-12-23 21:45:01 +00:00
  • 2b577840b5 WalletTemplate: refresh checkpoints file. Mike Hearn 2013-12-23 20:09:24 +00:00
  • aaa539bd80 Networking: bump default connect timeout to 5 seconds. Mike Hearn 2013-12-23 20:00:24 +00:00
  • 1f37350161 Transaction: clear a couple of static analysis warnings. Mike Hearn 2013-12-22 19:13:41 +01:00
  • c5665d68b5 Wallet: misc cleanups. Mike Hearn 2013-12-22 19:13:23 +01:00
  • f318808cf7 Clean up WalletTransaction and serialization code a bit. Mike Hearn 2013-12-22 18:57:13 +01:00
  • b3673999d4 Move WalletTransaction into the wallet package. Mike Hearn 2013-12-22 18:48:46 +01:00
  • 43460f451a MnemonicCode: Clean up a bit. Mike Hearn 2013-12-20 17:35:11 +01:00
  • 29e2af7ec0 Update to latest version of mnemonic code spec from the Trezor team. Ken Sedgwick 2013-12-17 15:02:05 -08:00
  • 8cc1920fa2 ECKey: use sumOfTwoMultiples for better/faster key recovery. Mike Hearn 2013-12-15 14:55:43 -08:00
  • e9bf717409 ConnectionHandler: Remove a always-true if condition. Mike Hearn 2013-12-15 09:31:07 -08:00
  • 25a08c6d75 NioClientManager: minor fix revealed by static analysis. Mike Hearn 2013-12-15 09:29:59 -08:00
  • 42e75b86cf PeerGroup: add a couple of missing nullable annotations Mike Hearn 2013-12-15 09:27:38 -08:00
  • c61ec5023e Fix race in TestWithNetworkConnections Matt Corallo 2013-12-14 23:22:51 -05:00
  • f7a944983c ECKey: use Bouncy Castle to decompress keys. Thanks to Peter Dettman for the hint. Resolves issue 493. Mike Hearn 2013-12-14 14:12:52 -08:00
  • 8f48b119b7 AbstractBlockChain: minor style fixes from the inspector. Mike Hearn 2013-12-14 13:35:22 -08:00
  • 30455cb5ce Suppress some more info logging and update some javadocs. Mike Hearn 2013-12-14 13:21:33 -08:00
  • 462c75324e Faster FP tracking using double exponential Devrandom 2013-12-14 12:08:03 -08:00
  • 1293e42aa3 BloomFilter: minor readability tweak Mike Hearn 2013-12-13 18:35:40 -08:00
  • 2f29660d0d Fix broken test case. Matt Corallo 2013-12-14 01:11:52 -05:00
  • 77f99a596f Log balance in wallet.toString better Mike Hearn 2013-12-13 16:57:28 -08:00
  • cdfa0ae61b ECKeyTest: once again, fix a flaky decrypt test. There's no MAC on the encrypted bytes so you can't assume padding checks will always catch corrupted data. Mike Hearn 2013-12-13 16:08:54 -08:00
  • 7e4f6369e4 Clean up false positive handling, add unit test Devrandom 2013-12-12 11:06:06 -08:00
  • ba9415b3ee Force update Bloom filter when false positive rate gets high Devrandom 2013-12-08 20:00:04 -08:00
  • 751434ba7c Fix bloom filter sizing with watched scripts Devrandom 2013-12-08 13:32:25 -08:00
  • 606f199e73 Update Miron's email address Devrandom 2013-12-07 10:47:48 -08:00
  • 86b42b7fe5 Remove disconnectOldVersions2 as it tests nothing, probably a bad merge conflict. Mike Hearn 2013-12-13 15:55:08 -08:00
  • e4e2e60627 Fix DnsDiscovery javadocs and make a couple of fields final. Mike Hearn 2013-12-13 09:29:08 -08:00
  • c278867186 Add a unit test for Script.toString and don't emit trailing whitespace. Mike Hearn 2013-12-12 08:11:23 -08:00
  • 4bbcfc4377 Don't print script creation timestamp in Script.toString() Mike Hearn 2013-12-12 08:09:15 -08:00
  • 22a58755db Print peer times using String.format. Resolves issue 495. Mike Hearn 2013-12-11 19:13:46 -08:00
  • 2f8740f8a8 Remove usage of deprecated method in PeerTest. Mike Hearn 2013-12-11 10:39:31 -08:00
  • 24d38cdba4 Check for and reject null event listeners. Mike Hearn 2013-12-11 09:48:47 -08:00
  • 2879f7bb9b Fix memory leak of downloadListener Matt Corallo 2013-12-11 00:31:40 -05:00
  • a0f32ab0d2 Improved comment. Ken Sedgwick 2013-12-07 14:21:52 -08:00
  • e86ce7f268 Updated to latest version of BIP-0039. Ken Sedgwick 2013-12-07 14:16:08 -08:00
  • 5cd10a537a Added Mnemonic{Length,Word,Checksum}Exception and tests for each case. Ken Sedgwick 2013-11-29 19:29:55 -08:00
  • 69f52c1b8a Bug fix to avoid a flake in PeerTest. Mike Hearn 2013-12-10 13:51:18 -08:00
  • ce4ac86884 Move discovery package into net package. Mike Hearn 2013-12-10 13:13:52 -08:00
  • 3318d15194 Rename networkabstraction package to just net Mike Hearn 2013-12-10 13:12:22 -08:00