Commit Graph

  • 01365ca00b Introduce a Transaction.DEFAULT_TX_FEE and use it as a default for sends and for wallet maintenance. Andreas Schildbach 2016-03-25 11:43:46 +01:00
  • 34f2fad07d WalletTest: Split coinSelection_coinTimesDepth() from feeSolverAndCoinSelectionTests2(). Andreas Schildbach 2016-03-25 11:05:12 +01:00
  • 2748b35181 Complete the SigHash enum and make updates to stop using the ordinal while preserving the ordinal for any existing code that might use it. mruddy 2016-03-24 22:40:00 +00:00
  • c02c5ff249 WalletTest: Use sendMoneyToWallet() when faking blocks. Andreas Schildbach 2016-03-24 23:15:09 +01:00
  • f92d11e54a WalletTest: Rewrite assertTrue() conditions to assertEquals(), assertNull(), etc. Andreas Schildbach 2016-03-25 00:12:06 +01:00
  • 843db1dda3 Wallet: Remove superfluous assignments. Andreas Schildbach 2016-02-29 19:22:20 +01:00
  • 98bee183b6 WalletTest: Remove paranoid test preconditions. Andreas Schildbach 2016-03-24 19:58:06 +01:00
  • a3db2229c1 WalletTest: Split feeSolverAndCoinSelectionTest() into three. Andreas Schildbach 2016-03-24 19:08:31 +01:00
  • f3c7b1847c WalletTest: Use OTHER_ADDRESS constant whenever a test sends coins away. Andreas Schildbach 2016-03-24 18:59:10 +01:00
  • 9b2ad15cd3 Fix Integer overflow in BitcoinSerializer.BitcoinPacketHeader Willem Noort 2016-03-24 13:52:19 +01:00
  • fc82bece02 Release 0.13.6 v0.13.6 Andreas Schildbach 2016-03-23 15:09:10 +01:00
  • 69da6f827a WalletProtobufSerializer: Fix protobuf serialization of large sequence numbers. Andreas Schildbach 2016-03-23 14:11:35 +01:00
  • 3b562b51d2 Transaction: Fix incorrect condition for log message in setLockTime. mruddy 2016-03-12 13:14:59 -05:00
  • 4f6c05bf8a wallet-tool: Properly initialize context. Andreas Schildbach 2016-03-11 20:10:27 +01:00
  • 9ec25e106d Block: toString() cosmetics. Andreas Schildbach 2016-03-11 18:48:24 +01:00
  • f00ac8643f WalletFiles: When saving the wallet, add the 'last block seen' time to the log message. Andreas Schildbach 2016-03-11 18:42:20 +01:00
  • 512d281d37 Wallet: Fix bug in cleanup() that sometimes would put foreign outputs in myUnspents when disconnecting. This wrongly increases the balance. Andreas Schildbach 2016-03-05 01:04:22 +01:00
  • cf354feda2 Transaction: Put transaction confidence into separate line in toString(). Andreas Schildbach 2016-03-04 14:26:07 +01:00
  • 53e49ed3c4 Wallet: Print earliest key creation time in toString(). Andreas Schildbach 2016-03-03 16:38:00 +01:00
  • 0ebdd5bbea TransactionInput: Print sequence number in toString(). Andreas Schildbach 2016-03-23 14:04:58 +01:00
  • 5aa4b66c7e WalletProtobufSerializer: Fix protobuf serialization of large sequence numbers. Andreas Schildbach 2016-03-23 14:11:35 +01:00
  • 645f2d2572 H2FullPrunedBlockStore: Constructor with H2 database credentials. kushti 2016-03-15 22:39:52 +03:00
  • a97f4923b4 Get rid of SendRequest.DEFAULT_FEE_PER_KB "constant". Andreas Schildbach 2016-03-11 14:05:28 +01:00
  • 2ab367b4e4 SendRequest: New .childPaysForParent() method that constructs a CPFP transaction. Andreas Schildbach 2016-03-01 14:49:49 +01:00
  • 85f7c39aa5 Refresh bundled checkpoints and switch to textual format for easier audit. Andreas Schildbach 2016-03-10 20:54:10 +01:00
  • 1878f5b9fc Updated WalletAppKit to allow autosave configuration override Justas Dobiliauskas 2016-03-18 13:30:45 +02:00
  • fae82e0f2b Message: Switch package-level-protected methods to protected. Andreas Schildbach 2016-03-21 15:14:44 +01:00
  • 910544ae57 Transaction: Fix incorrect condition for log message in setLockTime. mruddy 2016-03-12 13:14:59 -05:00
  • 0bc6c04d5f TransactionOutput: Fix fee calculation in getMinNonDustValue(). Andreas Schildbach 2016-03-12 21:07:45 +01:00
  • 90d8c151be TransactionOutput: New isDust() method, and use it. Andreas Schildbach 2016-03-12 20:50:57 +01:00
  • 78ae8a0bd7 Wallet: Fix off-by-one when calculating the fee. Andreas Schildbach 2016-03-12 22:04:56 +01:00
  • a3c5506a57 Use ScriptBuilder.createOpReturnScript() in tests. Andreas Schildbach 2016-03-12 19:57:08 +01:00
  • c3b19bd5cd Wallet: Get rid of the concept of a "base fee". Fee is always expressed as a rate in Coin per 1000 bytes. Andreas Schildbach 2016-03-07 17:38:08 +01:00
  • 53b29e2cef Print human readable time when initializing a new block store with a checkpoint. Andreas Schildbach 2015-08-08 10:44:09 +02:00
  • d6002e1ee4 wallet-tool: Properly initialize context. Andreas Schildbach 2016-03-11 20:10:27 +01:00
  • 814bad4efb wallet-tool: Use checkpoints to speed up the blockchain sync. Andreas Schildbach 2016-03-05 00:49:03 +01:00
  • b6975a2760 wallet-tool: Create watching wallet with specific creation date. Andreas Schildbach 2016-03-03 16:53:55 +01:00
  • b024f6e571 KeyChainGroup: Small optimization in toString(). Andreas Schildbach 2016-03-03 15:03:48 +01:00
  • f70086ae64 Block: toString() cosmetics. Andreas Schildbach 2016-03-11 18:48:24 +01:00
  • a22e2f5474 WalletFiles: When saving the wallet, add the 'last block seen' time to the log message. Andreas Schildbach 2016-03-11 18:42:20 +01:00
  • eb5605b445 Consistently uppercase constant PARAMS in unit tests, second batch. Andreas Schildbach 2016-03-11 14:28:39 +01:00
  • ef0043c41f DeterministicKeyChain: Print birth date of watching key in toString(). Andreas Schildbach 2016-03-03 15:02:34 +01:00
  • 9aed8ea0a5 For watching wallets, store the key creation time always in the watching key rather than the DeterministicKeyChain. Creation times in the DeterministicKeyChain can't be persisted to protobuf, as that structure has no full-blown protobuf equivalent. Andreas Schildbach 2016-03-03 16:53:38 +01:00
  • 6fcbca10e0 BitcoinURITest: Migrate references to deprecated BitcoinURI.BITCOIN_SCHEME field. Andreas Schildbach 2016-03-10 21:40:59 +01:00
  • 7ad2da9ab1 Wallet: Hide Wallet(Context, KeyChainGroup) constructor. Andreas Schildbach 2016-02-29 22:58:49 +01:00
  • b3583d5d7d Change fee calculation in Wallet.adjustOutputDownwardsForFee(): Andreas Schildbach 2016-03-02 00:47:12 +01:00
  • c7462a4541 Sha256Hash: Replace hardcoded 32 values by a LENGTH constant. Andreas Schildbach 2016-03-07 13:07:14 +01:00
  • 4b75c336bb Sha256Hash: Fix compareTo() not being consistent with equals(). Andreas Schildbach 2016-03-07 11:42:41 +01:00
  • 1eaf05cacf Fix core module build failures caused by Maven surefire plugin running JUnit classes. mruddy 2016-02-28 11:22:11 -05:00
  • b9102fbf8e Wallet: Fix bug in cleanup() that sometimes would put foreign outputs in myUnspents when disconnecting. This wrongly increases the balance. Andreas Schildbach 2016-03-05 01:04:22 +01:00
  • 3b99338fb4 Transaction: Put transaction confidence into separate line in toString(). Andreas Schildbach 2016-03-04 14:26:07 +01:00
  • 83d39b187b Wallet: Print earliest key creation time in toString(). Andreas Schildbach 2016-03-03 16:38:00 +01:00
  • 660f0b1b24 Wallet: Fix getKeyRotationTime() to return null if unconfigured. Andreas Schildbach 2016-03-03 16:20:24 +01:00
  • 9896a220d5 Wallet: Log estimated balance after transaction was committed to the wallet and after successful wallet cleanup. Andreas Schildbach 2016-03-02 14:43:42 +01:00
  • 29f3ff08f0 PeerGroup: Log when broadcastTransaction() guesses the transaction source. Andreas Schildbach 2016-03-02 11:56:18 +01:00
  • dc0e4428c6 Wallet: In updateForSpends(), when marking an output as spent, log spent-by transaction hash. Andreas Schildbach 2016-03-01 13:16:41 +01:00
  • 971c41ced8 Print byte size of transactions in wallet dump. Andreas Schildbach 2016-03-01 09:50:19 +01:00
  • cd35e8337d InsufficientMoneyException: In the exception message, format missing value as BTC value. Andreas Schildbach 2016-02-29 20:19:41 +01:00
  • a5f2277b7e Transaction: Fix wrong line ending in toString(). Andreas Schildbach 2016-02-29 15:58:59 +01:00
  • ff89b0c149 Prepare 0.13.6-SNAPSHOT Andreas Schildbach 2016-03-02 16:26:08 +01:00
  • be1b3f592d Wallet: Log estimated balance after transaction was committed to the wallet and after successful wallet cleanup. Andreas Schildbach 2016-03-02 14:43:42 +01:00
  • 946bfbee16 PeerGroup: Log when broadcastTransaction() guesses the transaction source. Andreas Schildbach 2016-03-02 11:56:18 +01:00
  • 6dcff5ff55 Wallet: Rename doesAcceptRiskyTransactions() to isAcceptRiskyTransactions(). Andreas Schildbach 2016-03-02 11:29:19 +01:00
  • 67e1434b51 Peer: Receiving main protocol messages before version handshake completed is a protocol violation. Andreas Schildbach 2016-02-26 20:49:09 +01:00
  • 709e6f7562 Peer: Both halves of the version handshake need to be complete before the protocol can continue. Andreas Schildbach 2016-02-26 19:06:22 +01:00
  • b2d7b95450 WalletAppKit: Fix old API link in comment. andrewtoth 2016-03-01 14:14:48 -05:00
  • e0507fa777 Wallet: In updateForSpends(), when marking an output as spent, log spent-by transaction hash. Andreas Schildbach 2016-03-01 13:16:41 +01:00
  • aa5684fcdf Print byte size of transactions in wallet dump. Andreas Schildbach 2016-03-01 09:50:19 +01:00
  • d3f45a64cb Replace most of String.format() by StringBuilder. Andreas Schildbach 2016-03-01 00:13:05 +01:00
  • 315863d4e8 Consistently uppercase constant PARAMS in unit tests. Andreas Schildbach 2016-02-29 22:32:36 +01:00
  • c4ea9c95e5 Use Message.unsafeBitcoinSerialize() whenever it's very clear we won't modify the array. Andreas Schildbach 2016-02-29 22:13:45 +01:00
  • 7240fb754a InsufficientMoneyException: In the exception message, format missing value as BTC value. Andreas Schildbach 2016-02-29 20:19:41 +01:00
  • 9e52e4e0bf wallet-template: When constructing the wallet file name from the app's name, replace problematic characters so the filesystem doesn't throw up. Andreas Schildbach 2016-02-29 12:43:01 +01:00
  • 2f8c715fdd Fixed NullPointerException in creating new StoredPaymentChannelClientStates Will Shackleton 2016-02-27 22:38:07 +00:00
  • 8818f6ff0c Transaction: Fix wrong line ending in toString(). Andreas Schildbach 2016-02-29 15:58:59 +01:00
  • 89cf3c6b17 Handle legacy AuxPoW blocks Ross Nicoll 2016-02-28 11:03:08 +00:00
  • ce4e3a5d99 Release 0.13.5 v0.13.5 Andreas Schildbach 2016-02-27 16:50:44 +01:00
  • da8b298b85 Tell Travis we don't need sudo so we can run on a more modern build infrastructure. Andreas Schildbach 2015-07-14 11:32:57 +02:00
  • 507751aacc Don't print log to console if tests are run by Maven. Andreas Schildbach 2016-01-25 22:18:09 +01:00
  • e452370078 Print transaction fee per kilobyte besides total fee in wallet dump. Andreas Schildbach 2016-02-24 15:47:22 +01:00
  • 9d088311bd Again reword a happy connect log message. Receiving the remote version message doesn't mean we're connected. Andreas Schildbach 2016-02-26 20:46:36 +01:00
  • ba83dd348f Make socket connect log message sound a bit less happy. We still need to handshake for a 'successful' connection. Andreas Schildbach 2016-02-26 19:25:47 +01:00
  • cd830bb128 Print transaction fee per kilobyte besides total fee in wallet dump. Andreas Schildbach 2016-02-24 15:47:22 +01:00
  • afffd8b2c7 Peer: Configure maximum recursion level when requesting dependent transactions. Andreas Schildbach 2016-02-09 21:50:09 +01:00
  • 4217a5c231 Rename boolean Peer getters to use 'is' prefix. Jameson Lopp 2016-02-26 12:25:28 -05:00
  • 7bb7ab60e1 Added capability to run example payment channels on regtest, test or main nets Will Shackleton 2016-02-08 11:21:00 +00:00
  • ef3acab8d5 Again reword a happy connect log message. Receiving the remote version message doesn't mean we're connected. Andreas Schildbach 2016-02-26 20:46:36 +01:00
  • 6226e32fcb Make socket connect log message sound a bit less happy. We still need to handshake for a 'successful' connection. Andreas Schildbach 2016-02-26 19:25:47 +01:00
  • eefd513e84 Wallet.isConsistentOrThrow(): New variant of .isConsistent() that throws an exception describing the inconsistency. Andreas Schildbach 2016-02-16 20:44:43 +01:00
  • d27ca30516 WalletTool: Fix failing precondition on actions that don't start the PeerGroup. Andreas Schildbach 2016-02-19 21:00:15 +01:00
  • a0497bda34 Added broadcast multisig contract to wallet bloom filter. Fixes #1181 Will Shackleton 2016-02-07 21:46:43 +00:00
  • 99e5ffb206 Peer: Fix a doc reference to Google Code. Andreas Schildbach 2016-02-09 20:47:27 +01:00
  • b6c6d1213e Wallet.isConsistentOrThrow(): New variant of .isConsistent() that throws an exception describing the inconsistency. Andreas Schildbach 2016-02-16 20:44:43 +01:00
  • a1def190ad Peer: Disconnect peers without copy of the block chain gracefully. Andreas Schildbach 2016-02-16 16:44:44 +01:00
  • 39f0675866 WalletTool: Fix failing precondition on actions that don't start the PeerGroup. Andreas Schildbach 2016-02-19 21:00:15 +01:00
  • f6714f1a94 Added getChannelMap method to StoredPaymentChannelClientStates Will Shackleton 2016-02-17 15:35:37 +00:00
  • 500db4b43f Added getFromWallet method to StoredPaymentChannelServerStates Will Shackleton 2016-02-17 15:27:31 +00:00
  • a659c68162 Peer: Extract method processPing(). Andreas Schildbach 2016-02-16 16:28:03 +01:00
  • d2ae63d01d Peer: Extract method processVersionAck(). Andreas Schildbach 2016-02-16 16:17:53 +01:00
  • 38848cd1cd TransactionConfidence: Add lastBroadcastedAt, the time a transaction was last announced to us. Andreas Schildbach 2016-02-07 21:56:35 +01:00