Commit Graph

2858 Commits

Author SHA1 Message Date
Andreas Schildbach
4dd3a3370b Always use utility method in KeyCrypterScrypt for determining the scrypt salt. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
80bdde5803 KeyCrypterScrypt: Bump up recommendation for number of iterations on mobile devices. 2017-02-07 19:00:11 +01:00
Andreas Schildbach
3d642b9916 KeyCrypterScrypt: Log time taken for deriving key from password. 2017-02-07 19:00:10 +01:00
Andreas Schildbach
945d1bdb1d Add transaction confidence back to Wallet.toString().
When working with Wallet objects, you should use Context too.
2017-02-07 19:00:10 +01:00
Eric Winer
9a45159344 Transaction: Remove confidence (and Context requirement) from Transaction.toString() 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4b624b7198 Peer: Log fast catchup time and height of first block to pass it. 2017-02-07 19:00:10 +01:00
Andreas Schildbach
fcd04edeed Transaction: Print update time in toString(). 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4eaaebdef4 Wallet: In wallet transactions dump, reformat value line. 2017-02-07 19:00:10 +01:00
Andreas Schildbach
38b6a5e904 TransactionConfidence: Print lastBroadcastedAt in toString(). 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4d82e4d7c6 KeyCrypterScrypt: Print Scrypt iterations in toString(). 2017-02-07 19:00:10 +01:00
Andreas Schildbach
10f0990848 Clean up some line endings. 2017-02-07 19:00:10 +01:00
Oscar Guindzberg
25bd8d84c6 Disable retargeting for regtest 2017-02-07 19:00:10 +01:00
Andreas Schildbach
1befde31fd Prepare 0.14.4-SNAPSHOT 2017-02-07 19:00:10 +01:00
Andreas Schildbach
4c04776105 Release 0.14.3 v0.14.3 2016-06-13 18:41:54 +02:00
Andreas Schildbach
1fbc33f85e Wallet: Fix precondition for transaction confidence of transactions in the pending pool. They can now also be IN_CONFLICT. 2016-06-13 18:38:41 +02:00
johnygeorge
5778794635 ScriptBuilder: Make OP_RETURN to allow 80 bytes.
Make OP_RETURN to allow 80 bytes instead of the previous 40 bytes.

This is to be consistent with the Bitcoin Core, which have made it back to 80 bytes.
2016-06-13 18:38:29 +02:00
Andreas Schildbach
c01cb2c42f Wallet.setTransactionBroadcaster(): Error message for precondition. 2016-06-13 18:38:02 +02:00
Andreas Schildbach
483eda4c65 Prepare 0.14.3-SNAPSHOT 2016-06-13 18:37:08 +02:00
Andreas Schildbach
d05e32f9bf Release 0.14.2 v0.14.2 2016-05-31 08:51:37 +02:00
Andreas Schildbach
56f0bcfec5 Peer: Change getVersionHandshakeFuture() return type back to ListenableFuture<Peer>. 2016-05-31 08:46:35 +02:00
Andreas Schildbach
a71da1b859 Fix wrong balance calculation if identical (apart from the index) outputs are involved.
This regression was triggered by a53b508049, though before that change it only worked by luck.
2016-05-31 08:46:29 +02:00
dcw312
0fb042b38f H2FullPrunedBlockStore: Fix issue #1260: the h2 prefix and params are prepended twice using this constructor. Only prepend when calling the super constructor. 2016-05-31 08:46:20 +02:00
Andreas Schildbach
5108bebe3f Prepare 0.14.2-SNAPSHOT 2016-05-31 08:45:28 +02:00
Andreas Schildbach
31bd4f95da Release 0.14.1
Bump of orchid version to 1.2.1, which is necessary because we accidently pushed an incomplete version 1.2 to Maven Central last year.
v0.14.1
2016-05-08 21:49:35 +02:00
Andreas Schildbach
4ca374190f Remove Mike's httpseed as he plans to shut it down. 2016-05-08 21:46:57 +02:00
Andreas Schildbach
0e30a3011c Release 0.14 v0.14 2016-05-06 21:21:28 +02:00
Andreas Schildbach
88c80c9800 Transaction: Rework JavaDoc of the addInput() variants. 2016-05-06 21:15:03 +02:00
Matthew Shaylor
c7a612c3e0 Replace URLs to code.google.com by the appropriate GitHub URLs. 2016-05-06 21:14:48 +02:00
Andreas Schildbach
f1a80b59c8 Context: Log context creation. 2016-05-06 21:13:52 +02:00
Andreas Schildbach
d0b6a25e0a Update AUTHORS from git. 2016-04-02 17:56:39 +02:00
Andreas Schildbach
aa9f1bc895 Secp256k1Context: Remove a bit of redundancy in logging. 2016-04-02 17:06:31 +02:00
Andreas Schildbach
9c83299571 Update to slf4j 1.7.20. 2016-04-02 17:05:24 +02:00
Andreas Schildbach
4e29e4fb00 Wallet: Make SendRequest a top level class. 2016-04-01 22:03:14 +02:00
Andreas Schildbach
1e66b9a8e3 Finish moving wallet related classes to .wallet package.
These classes are moved to .wallet:
- Wallet + WalletTest
- WalletExtension + WalletExtensionsTest
- WalletProtobufSerializer
- UnreadableWalletException

These classes are moved to .wallet.listeners:
- WalletEventListener
- WalletChangeEventListener
- WalletCoinsReceivedEventListener
- WalletCoinsSentEventListener
- WalletReorganizeEventListener
- ScriptsChangeEventListener
- AbstractWalletEventListener
- KeyChainEventListener
- AbstractKeyChainEventListener
2016-04-01 21:44:30 +02:00
Andreas Schildbach
e48ced6de3 Remove cent rule from fee solving in Wallet and payment channels.
This commit sadly disables WalletTest.basicCategoryStepTest() because that test is not maintainable and
doesn't work any more. Hopefully we will rewrite fee solving together with a better set of unit tests.
2016-04-01 21:10:08 +02:00
Andreas Schildbach
53d2d5625c Transaction: Print locktime estimation properly formatted. 2016-04-01 21:08:35 +02:00
GreenAddress
f9a0fb2a35 Native ECDSA implementation updated to latest libsecp256k1 2016-04-01 20:33:40 +02:00
Andreas Schildbach
840df06b79 RefreshWallet: Comment how to get a test wallet. 2016-03-30 13:11:44 +02:00
mruddy
8d6d0e2ebc Update payment channel sequence numbers for time locked transactions with BIP68 and BIP125 in mind. 2016-03-30 13:00:18 +02:00
Andreas Schildbach
9505227616 Wallet: Calculate fee based on feePerKb on byte precision.
Transaction.DEFAULT_TX_FEE is increased to make up for a drop in average fees because of the higher precision.
2016-03-27 15:41:57 +02:00
Andreas Schildbach
b1bc34eb76 PaymentChannelStateTest: Make HALF_COIN a constant. 2016-03-27 14:47:13 +02:00
Andreas Schildbach
858b0b41d5 Make sure payment channels heed Context.isEnsureMinRequiredFee(). 2016-03-27 13:16:58 +02:00
Andreas Schildbach
c1938fec75 Harmonize license headers. 2016-03-26 19:55:05 +01:00
Andreas Schildbach
d48e810c5d Utils: Comment and harmonize the various methods for reading ints. 2016-03-26 11:40:23 +01:00
Andreas Schildbach
01365ca00b Introduce a Transaction.DEFAULT_TX_FEE and use it as a default for sends and for wallet maintenance.
Previously we were using Transaction.REFERENCE_DEFAULT_MIN_TX_FEE which is the absolute minimum but it can be
too low. This value should be adjusted from time to time; we're starting with 0.1 mBTC.
2016-03-25 13:35:33 +01:00
Andreas Schildbach
34f2fad07d WalletTest: Split coinSelection_coinTimesDepth() from feeSolverAndCoinSelectionTests2(). 2016-03-25 11:05:12 +01:00
mruddy
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. 2016-03-25 09:58:48 +01:00
Andreas Schildbach
c02c5ff249 WalletTest: Use sendMoneyToWallet() when faking blocks. 2016-03-25 01:09:48 +01:00
Andreas Schildbach
f92d11e54a WalletTest: Rewrite assertTrue() conditions to assertEquals(), assertNull(), etc. 2016-03-25 00:20:32 +01:00
Andreas Schildbach
843db1dda3 Wallet: Remove superfluous assignments. 2016-03-24 20:37:09 +01:00