Commit Graph

  • c10ebd260c Fix reentrance bug when writing in connectionOpened. Matt Corallo 2013-11-28 01:19:16 -05:00
  • ba543a3b10 Only do network writes on the handler thread in nio wrappers Matt Corallo 2013-11-27 18:09:59 -05:00
  • abe9513dde Don't allow setting writeTarget twice. Matt Corallo 2013-11-21 09:45:51 -05:00
  • 4b035535e2 nonetty: Print fewer stack traces on errors. Handle failure of initial connect call. Mike Hearn 2013-11-25 16:50:02 +01:00
  • 68a614a33b nonetty: Fix a couple of unit test bugs. Mike Hearn 2013-11-25 14:39:03 +01:00
  • 534cec9791 Rewrite the network stack. Matt Corallo 2013-07-16 20:07:04 +02:00
  • 81f8b230e3 Script.toAddress now can cast to P2SH addresses. Mike Hearn 2013-12-10 11:45:29 -08:00
  • ea6f2a0fc3 Payment channels: invoke destroyConn on server side even when client requested it. Mike Hearn 2013-12-10 11:39:30 -08:00
  • 54b1054d03 Add a couple of utility methods for working with P2SH scripts. Mike Hearn 2013-12-10 11:38:45 -08:00
  • cebebcef69 Fix unit test failure caused by bad merge. Resolves issue 489. Mike Hearn 2013-12-01 13:04:25 +01:00
  • 963978c468 Add watched scripts to the wallet toString output. Support watching scripts/addresses in WalletTool Mike Hearn 2013-11-30 15:52:37 +01:00
  • da2e3e6c98 Support watching of scripts/addresses in wallet Devrandom 2013-11-13 11:36:42 -08:00
  • 2271e7198e Better error handling in Address. Mike Hearn 2013-11-30 15:33:24 +01:00
  • ff54085129 Add Mike to the AUTHORS file. Mike Hearn 2013-11-30 15:15:37 +01:00
  • 98081f0568 Support sending to P2SH addresses. Thanks to Mike Belshe. Mike Hearn 2013-11-30 15:14:52 +01:00
  • 0044c8d269 Add Mike Rosseel to the AUTHORS list Mike Hearn 2013-11-27 18:05:14 +01:00
  • 7083c8b669 Increase test coverage. Mike Rosseel 2013-10-28 20:46:10 +01:00
  • 70cd2ffb96 Wallet: throw exceptions when completing a transaction fails. Mike Hearn 2013-11-26 18:22:01 +01:00
  • f519590973 Add wallet-template file I forgot to check in Mike Hearn 2013-11-26 23:17:52 +01:00
  • 02ce88e6a3 Added buffer to MnemonicCode, it was modifying it's key argument (stretching in place). Ken Sedgwick 2013-11-23 22:10:17 -08:00
  • ff678d116f ECKey: some more nullity checks/annotations. Mike Hearn 2013-11-25 00:08:06 +01:00
  • a5d14ba45b HDW: Add some docs and a safety check to HDKeyDerivation. Mike Hearn 2013-11-24 23:59:42 +01:00
  • 8769773717 Add a default c'tor to MnemonicCode and simplify the unit tests. Mike Hearn 2013-11-24 23:59:25 +01:00
  • 95fc6d7245 WalletTool: recognize private key format properly. Mike Hearn 2013-11-24 19:10:34 +01:00
  • c269d20f0c Version 0.10.3 v0.10.3 Andreas Schildbach 2013-10-20 17:22:39 +02:00
  • 3569dfe2d4 Payment channels: fix a simple thread-affinity bug revealed by a flaky unit test. It does not affect real apps. Mike Hearn 2013-11-21 13:25:35 +01:00
  • a9469758fd ECKey: allow unit tests to disable signature creation/verification. Mike Hearn 2013-11-21 13:24:05 +01:00
  • 857b34fcee Wallet: don't call killTx if it has no work to do, cleans up a misleading log line. Mike Hearn 2013-11-21 12:59:32 +01:00
  • 9d65affc42 Wallet: always broadcast all pending txns, not only those that are unmarked. Mike Hearn 2013-11-20 23:15:51 +01:00
  • 434f7d003a Wallet: always broadcast all pending txns, not only those that are unmarked. Mike Hearn 2013-11-20 23:15:51 +01:00
  • f851ebc42f TransactionBroadcast: add a unit test that verifies the rebroadcast functionality works. Mike Hearn 2013-11-20 14:53:34 +01:00
  • 6b0530a60b TransactionBroadcast: when there are an odd number of peers, bias towards more receivers rather than more announcers. Mike Hearn 2013-11-20 14:53:17 +01:00
  • 199347babc Experimental tweak to the definition of the numBroadcastPeers confidence field: now it actually does what the name implies. Mike Hearn 2013-11-17 23:13:07 +01:00
  • 3161c6c7ba TransactionBroadcast: add a unit test that verifies the rebroadcast functionality works. Mike Hearn 2013-11-20 14:53:34 +01:00
  • 62078f55c0 TransactionBroadcast: when there are an odd number of peers, bias towards more receivers rather than more announcers. Mike Hearn 2013-11-20 14:53:17 +01:00
  • 2bca8e858b Add Ken to the AUTHORS file. Mike Hearn 2013-11-19 17:38:27 +01:00
  • 44944a62d0 Payment channels: clear a static analysis thread safety warning. Mike Hearn 2013-11-18 18:54:43 +01:00
  • 8dcead3508 Added MnemonicCode, implements BIP-0039. Ken Sedgwick 2013-11-14 19:51:13 -08:00
  • c11456c9f4 Wallet: improve double spend handling. Mike Hearn 2013-11-18 00:16:48 +01:00
  • e49255c9e0 Experimental tweak to the definition of the numBroadcastPeers confidence field: now it actually does what the name implies. Mike Hearn 2013-11-17 23:13:07 +01:00
  • e636ee2927 Take out a flaky part of WalletTest that isn't relevant anymore since even immediate auto-saves now run on a separate thread. The auto-saving is tested elsewhere anyway. Mike Hearn 2013-11-17 23:08:08 +01:00
  • 9c35501662 Payment channels: bump protocol version. Mike Hearn 2013-11-13 18:30:14 +01:00
  • fc70f7362d Payment channels: require a minimum payment to initiate. Mike Hearn 2013-11-13 16:30:18 +01:00
  • bba5e2b449 Payment channels: expose server state object via PaymentChannelServer property Mike Hearn 2013-11-13 16:42:40 +01:00
  • 6c40363c3d Payment channels: expose whether a channel was initiated or resumed in the ClientConnection interface. Mike Hearn 2013-11-13 15:29:16 +01:00
  • d41814ced2 FullPrunedBlockChainTest: add more debug logging. Mike Hearn 2013-11-13 18:04:14 +01:00
  • 9045add4c0 Add missing copyright headers in a few places. Mike Hearn 2013-11-12 13:39:25 +01:00
  • 0bc28781ae Payment channels: rename "close" to "settle". Mike Hearn 2013-11-12 13:37:46 +01:00
  • edf37998ca Wallet: improved risk analysis. Mike Hearn 2013-11-11 19:07:44 +01:00
  • c33c20fe3d Wallet: record the timestamp of the last block seen. Mike Hearn 2013-11-11 17:54:21 +01:00
  • 32009c5250 Cleanup: use varargs methods in slf4j rather than new Object[]{} Mike Hearn 2013-11-11 17:21:34 +01:00
  • 0506b1b30c Fix yet another dumb script bug (resolves issue 479) Matt Corallo 2013-11-11 03:30:18 -05:00
  • 417587fda8 Tweak broadcast logic again. Mike Hearn 2013-11-10 20:06:47 +01:00
  • 1a5b19cfba Add a builder function to InventoryMessage Mike Hearn 2013-11-10 20:05:22 +01:00
  • 2fe658d261 TransactionBroadcast: refactor Mike Hearn 2013-11-10 18:08:50 +01:00
  • b73c48d0ef PeerGroup: Split some broadcast related code out into a separate class. Mike Hearn 2013-10-27 18:28:15 +01:00
  • 3a84b630fc Move TestUtils and TestWithWallet into the core package so they can be used by third party code in their unit tests. Mike Hearn 2013-09-18 12:21:07 +02:00
  • bf47b872c0 Tweak broadcast logic again. Mike Hearn 2013-11-10 20:06:47 +01:00
  • e8b31ed2df Request 11 peers by default in wallet-template Mike Hearn 2013-11-10 20:05:37 +01:00
  • 4da8fbc301 Add a builder function to InventoryMessage Mike Hearn 2013-11-10 20:05:22 +01:00
  • 688ba42c45 WalletTool: allow skipping of mandatory extensions. Mike Hearn 2013-11-10 20:03:30 +01:00
  • a68bc627ee TransactionBroadcast: refactor Mike Hearn 2013-11-10 18:08:50 +01:00
  • 8b8266f9d6 Wallet template: couple of misc tweaks Mike Hearn 2013-11-10 18:08:36 +01:00
  • b9363999ae Fix signedness issue reading scripts (resolves issue 478) Matt Corallo 2013-11-08 12:31:40 -05:00
  • f6fb6c211d Payment channels: extract an IPaymentChannelClient interface for the basic PaymentChannelClient operations. Mike Hearn 2013-11-01 16:54:17 +01:00
  • 5304a55d86 Fix b61 creation (why was it written this way in the first place?) Matt Corallo 2013-10-31 16:08:54 -04:00
  • f2678463be Fix race condition in NioWrapperTest testcase (resolves issue 474) Matt Corallo 2013-10-30 13:31:00 -04:00
  • 2d36b89bb9 Update script json tests from upstream Matt Corallo 2013-10-29 00:22:51 -04:00
  • 8fc7a2a34b Fix RegTestParams subsidy decrease block count (150) Matt Corallo 2013-10-27 14:55:54 -04:00
  • aff5f140fb Payment channels: add payment acks. Mike Hearn 2013-11-01 15:31:57 +01:00
  • 06ac0105f3 Payment channels: make ProtobufParser use finer grained, cycle detecting locking. Mike Hearn 2013-11-01 13:00:26 +01:00
  • a671c6c739 Prepare 0.10.3-SNAPSHOT Andreas Schildbach 2013-10-02 23:45:26 +02:00
  • c36989cfce MockTransactionBroadcast: add to wallet. Mike Hearn 2013-10-30 13:35:24 +01:00
  • 2468100937 Fix some Script nits/add comments. Thanks Peter Todd Matt Corallo 2013-10-24 23:33:43 -04:00
  • bd6a5f62d9 PeerGroup: Split some broadcast related code out into a separate class. Mike Hearn 2013-10-27 18:28:15 +01:00
  • 81d10b8c10 WalletTemplate: show number of peers seen when emptying the wallet. Mike Hearn 2013-10-27 18:27:28 +01:00
  • 16fb2f83eb Wallet: fix a couple of bugs. Mike Hearn 2013-10-27 18:24:37 +01:00
  • a3356c511a TestWithWallet: add a TODO to clean it up Mike Hearn 2013-10-27 18:23:06 +01:00
  • 4d23183283 Disable fragmentedRekeying test for now as bouncy castle is so slow at signature generation Mike Hearn 2013-10-27 18:09:27 +01:00
  • 533e2f21b7 Delete ToyWallet example. It's redundant with the wallettemplate app now. Mike Hearn 2013-10-27 17:15:42 +01:00
  • 9d96f77f19 PeerGroup: add logging of the change reason to the broadcast confidence listener. Also attach the listener to the pinned TX (it shouldn't make any difference normally, but when mixed with bluetooth stuff it might possibly change things). Mike Hearn 2013-10-27 15:37:06 +01:00
  • 387717c6c5 Wallet template: various updates. Mike Hearn 2013-10-26 02:28:44 +02:00
  • 6ec7880079 Payment channels: add a method to obtain the seconds remaining until next channel expiry for a given server ID. Mike Hearn 2013-10-24 11:12:18 +02:00
  • 5a3aa5d6e1 Remove redundant query in H2FullPrunedBlockStore. Mike Hearn 2013-10-23 14:22:44 +02:00
  • f315125bf5 ECKey: Always use the canonical form of the S component. Mike Hearn 2013-10-23 12:50:52 +02:00
  • 2cfa39f2cf Version 0.10.2 v0.10.2 1756129219778305970/tmp_refs/tags/v0.10.2 Andreas Schildbach 2013-10-20 17:22:39 +02:00
  • 32a823804c Payment channels: server closes/settles the channel automatically if the client has sent the last remaining money in it. Mike Hearn 2013-10-16 19:21:06 +02:00
  • 5b28091c9a Payment channels: split CLOSE message processing on the server side into a separate method. Mike Hearn 2013-10-16 16:14:12 +02:00
  • 31a4c08615 VarInt: remove superfluous and bizarrely named encodeBE method. Mike Hearn 2013-10-15 18:34:17 +02:00
  • c808ae7bb4 FullBlockTestGenerator: treat coinbase scriptSig as a 16-bit counter not 8 bit. Mike Hearn 2013-10-14 18:16:57 +02:00
  • 2f0dfd5c1b FullBlockTestGenerator: treat coinbase scriptSig as a 16-bit counter not 8 bit. Mike Hearn 2013-10-14 18:16:57 +02:00
  • ca2d847fe7 Don't run confidence listeners if we get duplicate invs from the same peer (can happen if we connect to the same peer IP multiple times). Mike Hearn 2013-10-14 12:05:18 +02:00
  • 5a673ebe7e Untabify Mike Hearn 2013-10-14 12:33:04 +02:00
  • 854d81eae9 Don't run confidence listeners if we get duplicate invs from the same peer (can happen if we connect to the same peer IP multiple times). Mike Hearn 2013-10-14 12:05:18 +02:00
  • e6ca742057 Wallet: track relative ordering of transactions within a block. Mike Hearn 2013-10-14 00:14:59 +02:00
  • dfa722ccc8 Wallet: track relative ordering of transactions within a block. Mike Hearn 2013-10-14 00:14:59 +02:00
  • f867998c52 Refactor/bugfix broadcast of pending transactions when a peergroup starts up. Mike Hearn 2013-10-11 14:50:53 +02:00
  • db296193f9 WalletTool: fix typo Mike Hearn 2013-10-11 14:32:44 +02:00
  • 9669758c66 Update slf4j hashes in the dependency verifier. Mike Hearn 2013-10-11 15:01:12 +02:00
  • f27430c356 Refactor/bugfix broadcast of pending transactions when a peergroup starts up. Mike Hearn 2013-10-11 14:50:53 +02:00