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
Andreas Schildbach
16465d9310
Fix licenses for tools and examples.
2015-08-07 16:45:18 +02:00
Devrandom
044c98e096
Support testnet and regtest in BuildCheckpoints tool.
2015-08-07 13:18:53 +02:00
Andreas Schildbach
0441b38599
Provide a consistent fromBase58/toBase58 API for the VersionChecksummedBytes hierarchy.
...
Deprecates the old constructors and migrates bitcoinj itself to use the new API. Also makes DumpedPrivateKey use WrongNetworkException when appropriate. Adds missing testcases and corrects/adds a bit of JavaDoc.
2015-07-18 13:53:59 +02:00
Andreas Schildbach
2483d10ad3
TestFeeLevel: Make number of ouputs configurable by tweaking a constant.
2015-07-11 20:23:58 +02:00
Andreas Schildbach
621975556c
TestFeeLevel: Create transactions with two outputs (and thus most of the time two inputs). This is more close to standard wallet transactions.
2015-07-09 11:27:41 +02:00
Andreas Schildbach
24de5e2a40
0.14-SNAPSHOT
2015-07-06 09:54:04 +02:00
Amichai Rothman
dc94018992
Fix misc. formatting/style/syntax inconsistencies and issues.
2015-06-30 12:45:59 +02:00
Amichai Rothman
faf92971dd
Refactored Sha256Hash API:
...
- depracated constructors
- wrap methods to wrap given hash values in a new instance
- of/twiceOf methods to calculate hash values in a new instance
- hash/hashTwice to calculate hash values and return the raw bytes
2015-06-24 15:21:14 +02:00
Amichai Rothman
a6601066dd
moved sha256-related utility methods into Sha256Hash class and renamed them
2015-06-24 15:21:14 +02:00
Amichai Rothman
2fd96c7771
extracted common Utils.newSha256Digest() method to reduce boilerplate code
2015-06-24 15:21:13 +02:00
Andreas Schildbach
07f6b0ea30
Don't print log messages when testing fee level.
2015-06-16 22:46:15 +02:00
Andreas Schildbach
3588fa085c
Make BuildCheckpoints print a bit sooner that it's doing something.
2015-05-27 16:40:29 +02:00
Andreas Schildbach
dba18dfb4d
Update to slf4j 1.7.7.
2015-04-17 16:37:13 +02:00
Andreas Schildbach
59b426afe0
Increase wallet autosave delay for wallet-tool and WalletAppKit. Since we have some recovery for out-of-sync wallets in place, we can afford to save less often.
2015-03-12 18:07:51 +01:00
Mike Hearn
bef4980abd
(API CHANGE) Return a TransactionBroadcast object from PeerGroup.broadcastTransaction.
...
Old code can be updated by simply calling future() on the returned object to get the previous result.
TransactionBroadcast now has a progress reporting interface, which is ideal for connection to progress bars, pie charts, whatever else you want to use in the UI for showing the progress of sending money/broadcasting a tx.
2015-02-20 15:01:54 +01:00
Mike Hearn
1efa1442c8
(API CHANGE) Pass the FilteredBlock into PeerEventListener.onBlocksDownloaded when present.
...
Keep track of downloaded vs server-side filtered transactions per second.
Add a keyboard shortcut to wallet-template to force disconnection from the current peer.
2015-02-17 17:02:57 +01:00
Andreas Schildbach
815c4b9ced
Add current-receive-addr action to wallet-tool.
2015-02-03 00:18:45 +01:00
Mike Hearn
cd7dc3e535
Don't print logging messages when calculating checkpoints.
2015-01-12 16:53:45 +01:00
Andreas Schildbach
121d2fcb63
Change the WatchMempool pool to build statistics about risk analysis. Removes the pay-to-pubkey detection which was in there.
2015-01-02 17:30:24 +01:00
Mike Hearn
f82f160c2c
PeerGroup: configure peer as download peer even when there is no chain, but don't configure download params as that would trigger block fetch.
2014-12-21 14:03:13 +01:00
Mike Hearn
8f219ff458
WatchMempol: fix a regression
2014-12-21 13:57:17 +01:00
Mike Hearn
b25899de58
Rename DownloadListener to DownloadProgressTracker
2014-12-18 13:59:50 +01:00
Andreas Schildbach
478fb5dac9
Fix Integer to long casting compiler error for Eclipse.
2014-12-08 20:39:04 +01:00
Mike Hearn
e7c00df740
Replace peerGroup.startAsync/awaitRunning with start() and awaitTerminated with stop().
2014-11-24 13:04:58 +01:00
Andreas Schildbach
e12930c00f
Fix formatting dates at several places. Common mistakes:
...
- DateFormats are not thread safe
- new Date() is used for formatting which does not specify a locale
We now use a Utils.dateTimeFormat() helper for formatting to ISO 8601 (UTC).
2014-11-19 16:50:00 +01:00
Wojciech Langiewicz
41f8f5ccb4
Addes NetworkParams as a parameter to DeterministicKey serialization/deserialization.
2014-11-14 16:34:19 +01:00
Andreas Schildbach
91e7fe6816
WalletTool: magic --output value ALL for easier emptying of wallets.
2014-11-07 14:19:38 +01:00
Mike Hearn
f961e79346
WalletTool: use minBroadcastConnections == 1 when in regtest mode.
2014-11-04 23:19:21 +01:00
Andreas Schildbach
e9f016b753
Rename wallet-tool option --net=PROD to --net=MAIN. PROD can still be used as an alias to MAIN.
...
The mainnet blockchain file is renamed to mainnet.chain.
2014-11-03 14:23:36 +01:00
Mike Hearn
6c5d51f55a
WalletTool: allow rotation time to be specified in seconds.
2014-10-23 15:42:05 +02:00
Mike Hearn
ea02436f96
Rename maybeDoMaintenance to doMaintenance and add a bit more docs.
2014-10-22 19:32:51 +02:00
Mike Hearn
77ace479d9
Key rotation: remove the enabled setting. It's no longer useful and defaulted to off, which is dangerous and can lead to bugs.
2014-10-22 19:32:51 +02:00
Devrandom
22f0600afe
Refactor married keychains
...
* move handling of following keychains into the leading keychain
* move multisig threshold into the leading keychain
* extract MarriedKeyChain from DeterministicKeyChain
2014-10-07 15:39:04 +02:00
Mike Hearn
9dcc4ed6f4
0.13-SNAPSHOT
2014-10-05 20:38:00 +02:00
Mike Hearn
83a9a71f3f
bitcoinj 0.12
2014-10-03 00:46:31 +02:00
Mike Hearn
0a6f901b23
Renamespace to org.bitcoinj away from com.google.bitcoin, as bitcoinj is no longer a Google project and being namespaced under com.google causes issues with Sonatype/Maven Central.
...
To fixinate your code:
find . -name '*.java' | xargs sed -i .bak 's/import com.google.bitcoin./import org.bitcoinj./g;s/import static com.google.bitcoin./import static org.bitcoinj./g'
2014-09-30 17:05:07 +02:00
Devrandom
03bacf4fa9
Cache deterministic seed
2014-09-22 15:00:18 +02:00