Andreas Schildbach
0a7f346919
Move WrongNetworkException to AddressFormatException.WrongNetwork.
2018-03-02 13:00:56 +01:00
Andreas Schildbach
c0d8039c82
LegacyAddress: Deprecate getHash160().
2018-02-28 17:01:56 +01:00
Andreas Schildbach
e11119b64f
Rename VersionedChecksummedBytes→PrefixedChecksummedBytes, Address→LegacyAddress and AbstractAddress→Address.
...
This also renames corresponding test classes and mentions in comments.
2018-02-28 16:57:16 +01:00
Andreas Schildbach
4b129475b3
Script: Deprecate the script data extraction methods for CLTV payment channels.
...
Create and make sure to only use equivalents in ScriptPattern.
2018-02-26 13:25:46 +01:00
Andreas Schildbach
dedeb01dac
Move ECKey.toAddress() to Address.fromKey().
...
This is a preparation for supporting native segwit addresses. Keys can't know what
type of address is wanted. In future, there will also be a SegwitAddress.fromKey().
2018-02-26 02:13:18 +01:00
Andreas Schildbach
e44591a9b5
Script: Deprecate the old matcher methods, move their Javadocs over to ScriptPattern and use only the equivalents in ScriptPattern.
2018-02-25 22:51:15 +01:00
Andreas Schildbach
71a5b1b89f
Remove some unused imports.
2018-02-23 20:09:41 +01:00
Andreas Schildbach
cb01312395
Update to slf4j 1.7.25.
2018-02-23 12:24:06 +01:00
Andreas Schildbach
84048b565b
Utils: Move parseAsHexOrBase58() to WalletTool, as it's only being used there.
2018-02-22 11:34:25 +01:00
Andreas Schildbach
9dd8e5ab92
WalletTool: New option --fee-sat-per-byte to set network fee in satoshi per byte.
2018-02-07 11:39:07 +01:00
Andreas Schildbach
c927f0238b
Rename variable peers to peerGroup, as the name can be misleading.
2017-12-21 12:47:13 +01:00
Andreas Schildbach
3c9cb34162
Move ScriptException from .core to .script package.
2017-08-14 09:24:18 +02:00
Andreas Schildbach
ca033e3368
Option to decrypt private keys and seed on the fly if printing a wallet dump of an encrypted wallet.
2017-08-13 15:22:22 +02:00
Bas van Schaik
759156c71b
BuildCheckpoints: Fix possible resource leak.
2017-07-29 21:23:04 +02:00
Andreas Schildbach
9cbc45aeea
PeerAddress: Require NetworkParameters in constructors.
2017-01-10 11:23:25 +01:00
Andreas Schildbach
7e609a2409
Remove Orchid forked subproject and support for connecting via Tor.
2016-11-25 23:14:39 +01:00
Andreas Schildbach
8bd47a6c6d
TestFeeLevel: Print wallet balance and receive address earlier.
2016-06-15 10:35:37 +02:00
Andreas Schildbach
0d0358fe92
TestFeeLevel: Adapt to fee rate (per kB).
2016-06-15 10:35:37 +02:00
Andreas Schildbach
736fd7dbde
Add the generic license header to POMs, shell scripts and JavaScript/Python examples.
2016-06-06 21:32:02 +02:00
Andreas Schildbach
3773a4343c
Add a generic copyright statement to all license headers that don't have one.
...
Note it is not legally necessary to state copyright, but we think it makes things easier.
2016-06-06 21:32:02 +02:00
dcw312
e61eb107dc
BuildCheckpoints: Use a peer group for the Prod and Test networks.
2016-06-06 21:23:56 +02:00
Andreas Schildbach
a407f04b56
0.15-SNAPSHOT
2016-04-02 18:04:21 +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
c1938fec75
Harmonize license headers.
2016-03-26 19:55:05 +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
c3b19bd5cd
Wallet: Get rid of the concept of a "base fee". Fee is always expressed as a rate in Coin per 1000 bytes.
...
SendRequest.fee was removed; use SendRequest.feePerKb for requesting a specific fee rate. If the field
was read for knowing the calculated fee, use SendRequest.tx.getFee() instead.
Also makes a couple of unit tests independent of fee and renames the wallet-tool option --fee to
--fee-per-kb.
2016-03-12 17:37:31 +01:00
Andreas Schildbach
d6002e1ee4
wallet-tool: Properly initialize context.
2016-03-11 21:00:56 +01:00
Andreas Schildbach
814bad4efb
wallet-tool: Use checkpoints to speed up the blockchain sync.
2016-03-11 21:00:56 +01:00
Andreas Schildbach
b6975a2760
wallet-tool: Create watching wallet with specific creation date.
2016-03-11 21:00:51 +01:00
Andreas Schildbach
c4ea9c95e5
Use Message.unsafeBitcoinSerialize() whenever it's very clear we won't modify the array.
2016-02-29 22:16:01 +01:00
Andreas Schildbach
39f0675866
WalletTool: Fix failing precondition on actions that don't start the PeerGroup.
2016-02-19 21:00:15 +01:00
Ross Nicoll
ea3713ec85
Split PeerConnectionEventListener
...
Split PeerConnectionEventListener into individual connect, disconnect
and discovery listeners.
Remove custom listener registration from Peer, as now it's possible to
register a connect listener only, without a disconnect listener.
2016-02-13 18:18:56 +00:00
Ross Nicoll
3d3dd6f721
Split peer event listeners into single method interfaces
2016-02-13 15:10:12 +01:00
Will Shackleton
8af0fa9884
Implemented version 2 of payment channels API
...
I implemented version 2 of the payment channels API using
OP_CHECKLOCKTIMEVERIFY-style payment channels.
2016-02-10 11:15:35 +01:00
Ross Nicoll
aca39ee9de
Split wallet events into single method interfaces
2016-02-06 20:01:38 +01:00
Will Shackleton
c9cce47962
Support CLTV micropayment channels
...
Also extend WalletTool to send via, settle and refund these channels.
2016-01-18 15:57:27 +01:00
Kirill Vlasov
0de458db45
Strings literals should be placed on the left side when checking for equality
2016-01-06 14:19:20 +01:00
Andreas Schildbach
79d6716120
Wallet-Tool: New action to modify the creation time of wallets.
...
This is useful for repairing wallets that accidently have been created "in the future".
2015-11-27 16:54:55 +01:00
Andreas Schildbach
bb9c93c9b1
TestFeeLevel: Print the number of peers already connected.
2015-10-13 12:29:06 +02:00
Andreas Schildbach
91a49e66dd
TestFeeLevel: 50 connections can take too long to build these days, so halve that value. Should still be enough for transaction propagation.
2015-10-13 12:06:53 +02:00
Mike Hearn
7014810cf6
Peer: Break out the onTransactionBroadcast event into a separate interface.
2015-09-18 21:10:53 +01:00
Matt Bogosian
66a851bd30
Fix #1078 . Add ability to load Wallet without loading its transactions. Use new methods with wallet-tool reset (where transactions are deleted anyway) and with wallet-tool sync (if the --force option is provided).
2015-09-04 18:07:26 +02:00
Oscar Guindzberg
fe7b703237
Wallet: Rename attribute "keychain" to "keyChainGroup".
2015-08-20 09:37:30 +02:00
Ross Nicoll
ecbd021167
Refactor listener interfaces.
...
Refactor listener interfaces into their own package.
Split listener interfaces into smaller interfaces.
Make abstract implementations actually abstract.
Rearrange methods for adding listeners to put executor first.
2015-08-08 15:37:46 +02:00
Andreas Schildbach
bd080ac5e4
BuildCheckpoints: Print time of checkpoint blocks.
2015-08-08 15:20:32 +02:00
Andreas Schildbach
7f2645fe16
BuildCheckpoints: Add option for peer to connect to.
2015-08-08 15:20:15 +02:00
Andreas Schildbach
e978ff4997
Add help text to BuildCheckpoints.
2015-08-07 17:20:22 +02:00
Andreas Schildbach
0e7819d1bf
Add build-checkpoints shell wrappers.
2015-08-07 17:01:11 +02:00