2795 Commits

Author SHA1 Message Date
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
Andreas Schildbach
98bee183b6 WalletTest: Remove paranoid test preconditions. 2016-03-24 20:00:02 +01:00
Andreas Schildbach
a3db2229c1 WalletTest: Split feeSolverAndCoinSelectionTest() into three. 2016-03-24 19:08:31 +01:00
Andreas Schildbach
f3c7b1847c WalletTest: Use OTHER_ADDRESS constant whenever a test sends coins away. 2016-03-24 18:59:10 +01:00
Willem Noort
9b2ad15cd3 Fix Integer overflow in BitcoinSerializer.BitcoinPacketHeader 2016-03-24 13:52:19 +01:00
Andreas Schildbach
0ebdd5bbea TransactionInput: Print sequence number in toString(). 2016-03-23 14:28:10 +01:00
Andreas Schildbach
5aa4b66c7e WalletProtobufSerializer: Fix protobuf serialization of large sequence numbers. 2016-03-23 14:17:59 +01:00
kushti
645f2d2572 H2FullPrunedBlockStore: Constructor with H2 database credentials. 2016-03-23 13:28:32 +01:00
Andreas Schildbach
a97f4923b4 Get rid of SendRequest.DEFAULT_FEE_PER_KB "constant".
If you have been reading that field, you probably want to use Transaction.REFERENCE_DEFAULT_MIN_TX_FEE.
If you have been writing to that field to change the SendRequest.feePerKb default, use a Context.feePerKb
instead. There is also a new Context.ensureMinRequiredFee.
2016-03-21 21:55:28 +01:00
Andreas Schildbach
2ab367b4e4 SendRequest: New .childPaysForParent() method that constructs a CPFP transaction. 2016-03-21 21:42:38 +01:00
Andreas Schildbach
85f7c39aa5 Refresh bundled checkpoints and switch to textual format for easier audit. 2016-03-21 21:40:14 +01:00
Justas Dobiliauskas
1878f5b9fc Updated WalletAppKit to allow autosave configuration override 2016-03-21 19:44:57 +01:00
Andreas Schildbach
fae82e0f2b Message: Switch package-level-protected methods to protected. 2016-03-21 15:14:44 +01:00
mruddy
910544ae57 Transaction: Fix incorrect condition for log message in setLockTime. 2016-03-12 23:10:04 +01:00